public IRtpTransceiver AddTransceiverOfType(RtpMediaType mediaType, IRtpTransceiverInit init) { throw new NotImplementedException(); }
public IRtpTransceiver AddTransceiverOfType(RtpMediaType rtpMediaType) => new PlatformRtpTransceiver(_peerConnection.AddTransceiver(rtpMediaType.ToPlatformNative()));
public IRtpTransceiver AddTransceiverOfType(RtpMediaType rtpMediaType, IRtpTransceiverInit transceiverInit) => new PlatformRtpTransceiver( _peerConnection.AddTransceiver(rtpMediaType.ToPlatformNative(), transceiverInit.ToPlatformNative <RtpTransceiver.RtpTransceiverInit>()));
public static RTCRtpMediaType ToPlatformNative(this RtpMediaType nativePort) => (RTCRtpMediaType)nativePort;