Exemplo n.º 1
0
 public IRTCRtpSender[] GetSenders() =>
 ((Webrtc.RTCPeerConnection)NativeObject).Senders
 .Select(nativeSender => RTCRtpSender.Create(nativeSender)).ToArray();
Exemplo n.º 2
0
 public IRTCRtpSender AddTrack(IMediaStreamTrack track, IMediaStream stream) =>
 RTCRtpSender.Create(((Webrtc.RTCPeerConnection)NativeObject).AddTrack(
                         track.NativeObject as Webrtc.RTCMediaStreamTrack, new string[] { track.Id }));