private void HandleOnAddedVideoTrack(string message, Participant remoteParticpant, VideoTrack videoTrack) { LogMessage(message); if (participant == remoteParticpant) { videoTrack.Attach(remoteView); } }
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; }); }