private void HandleOnAddedVideoTrack(string message, Participant remoteParticpant, VideoTrack videoTrack)
        {
            LogMessage(message);

            if (participant == remoteParticpant)
            {
                videoTrack.Attach(remoteView);
            }
        }
示例#2
0
        public void AddedVideoTrack(Participant participant, VideoTrack videoTrack)
        {
            Console.WriteLine("Video added for participant: {0}", participant.Identity);

            remoteVideoTrack = videoTrack;

            BeginInvokeOnMainThread(() => {
                remoteVideoTrack.Attach(this.remoteVideoContainer);
                remoteVideoTrack.Delegate = this;
            });
        }