Ejemplo n.º 1
0
 public static IceGatheringState ToNet(this PeerConnection.IceGatheringState self)
 {
     if (self == PeerConnection.IceGatheringState.Complete)
     {
         return(IceGatheringState.Complete);
     }
     if (self == PeerConnection.IceGatheringState.Gathering)
     {
         return(IceGatheringState.Gathering);
     }
     if (self == PeerConnection.IceGatheringState.New)
     {
         return(IceGatheringState.New);
     }
     throw new ArgumentOutOfRangeException(nameof(self), self, null);
 }
Ejemplo n.º 2
0
 public void OnIceGatheringChange(PeerConnection.IceGatheringState iceGatheringState) => _peerConnectionDelegate.OnIceGatheringChange(iceGatheringState.ToNativePort());
 public void OnIceGatheringChange(PeerConnection.IceGatheringState p0)
 {
     _listener.OnIceGatheringChange(p0.ToNet());
 }
Ejemplo n.º 4
0
 public void OnIceGatheringChange(PeerConnection.IceGatheringState p0)
 {
 }