public override void StreamCreated(OTSession session, OTStream stream) { Debug.WriteLine("SessionDelegate:StreamCreated: " + stream.StreamId); if (_this._subscriber == null && !_this._subscribeToSelf) { _this.DoSubscribe(stream); } }
public override void StreamCreated(OTPublisher publisher, OTStream stream) { Debug.WriteLine("PublisherDelegate:StreamCreated: " + stream.StreamId); // If Subscribe To Self is true: Our own publisher is now visible to // all participants in the OpenTok session. We will attempt to subscribe to // our own stream. Expect to see a slight delay in the subscriber video and // an echo of the audio coming from the device microphone. if (_this._subscriber == null && _this._subscribeToSelf) { _this.DoSubscribe(stream); } }