public IRTCRtpTransceiver AddTransceiver(IMediaStreamTrack track, RTCRtpTransceiverInit init)
 {
     if (init is null)
     {
         return(RTCRtpTransceiver.Create(((Webrtc.PeerConnection)NativeObject).AddTransceiver(
                                             (Webrtc.MediaStreamTrack)track.NativeObject)));
     }
     else
     {
         return(RTCRtpTransceiver.Create(((Webrtc.PeerConnection)NativeObject).AddTransceiver(
                                             (Webrtc.MediaStreamTrack)track.NativeObject, init.ToNative())));
     }
 }
 public IRTCRtpTransceiver AddTransceiver(MediaStreamTrackKind kind, RTCRtpTransceiverInit init)
 {
     if (init is null)
     {
         return(RTCRtpTransceiver.Create(((Webrtc.PeerConnection)NativeObject).AddTransceiver(
                                             kind.ToNative())));
     }
     else
     {
         return(RTCRtpTransceiver.Create(((Webrtc.PeerConnection)NativeObject).AddTransceiver(
                                             kind.ToNative(), init.ToNative())));
     }
 }
 public IRTCRtpTransceiver[] GetTransceivers()
 =>
 ((Webrtc.PeerConnection)NativeObject).Transceivers
 .Select(nativeTransceiver => RTCRtpTransceiver.Create(nativeTransceiver)).ToArray();