Esempio 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);
 }
Esempio n. 2
0
 public void OnIceGatheringChange(PeerConnection.IceGatheringState iceGatheringState) => _peerConnectionDelegate.OnIceGatheringChange(iceGatheringState.ToNativePort());
 public void OnIceGatheringChange(PeerConnection.IceGatheringState p0)
 {
     _listener.OnIceGatheringChange(p0.ToNet());
 }
Esempio n. 4
0
 public void OnIceGatheringChange(PeerConnection.IceGatheringState p0)
 {
 }