This is called when a stream is ready, whether it is published or proxied. It replaces 'runOnPublsh'.