Example #1
0
 public void OnStandardizedIceConnectionChange(PeerConnectionInterface.IceConnectionState newState)
 {
     UnityJobs.Enqueue(() =>
     {
         switch (newState)
         {
             case PeerConnectionInterface.IceConnectionState.Failed:
                 Debug.LogError("Unable to establish a peer to peer connection. OnStandardizedIceConnectionChange " + newState);
                 break;
             default:
                 break;
         };
         stats.connectionstate = newState;
     });
 }
Example #2
0
 public void OnIceConnectionChange(PeerConnectionInterface.IceConnectionState newState)
 {
 }