Example #1
0
 public void OnDestroy()
 {
     WebRTC.Finalize();
     Audio.Stop();
     ws = null;
     wss.Stop();
 }
Example #2
0
 public void OnDestroy()
 {
     WebRTC.Finalize();
     Audio.Stop();
     wsMessageHandler.Dispose();
     wsMessageHandler = null;
 }
Example #3
0
 public static void UnInitialize()
 {
     if (!hasInitialized)
     {
         return;
     }
     hasInitialized = false;
     WebRTC.Finalize();
 }
Example #4
0
 private void OnDestroy()
 {
     if (pc1 != null)
     {
         pc1.Close();
     }
     if (pc1 != null)
     {
         pc2.Close();
     }
     WebRTC.Finalize();
 }
Example #5
0
 private void OnDestroy()
 {
     WebRTC.Finalize();
 }
Example #6
0
 public void TearDown()
 {
     WebRTC.Finalize();
 }
Example #7
0
 public void TearDown()
 {
     WebRTC.Finalize();
     Debug.Log("MediaStreamTest TearDown");
 }
Example #8
0
 private void OnDestroy()
 {
     Audio.Stop();
     WebRTC.Finalize();
 }