Ejemplo n.º 1
0
        public static PeerConnection.RtcpMuxPolicy ToNative(this RtcpMuxPolicy self)
        {
            switch (self)
            {
            case RtcpMuxPolicy.Negotiate:
                return(PeerConnection.RtcpMuxPolicy.Negotiate);

            case RtcpMuxPolicy.Require:
                return(PeerConnection.RtcpMuxPolicy.Require);

            default:
                throw new ArgumentOutOfRangeException(nameof(self), self, null);
            }
        }
 public static RTCRtcpMuxPolicy ToPlatformNative(this RtcpMuxPolicy nativePort) => (RTCRtcpMuxPolicy)nativePort;
 public static RTCRtcpMuxPolicy ToNative(this RtcpMuxPolicy self)
 {
     return((RTCRtcpMuxPolicy)self);
 }