Пример #1
0
 private void OnDestroy()
 {
     WebRTC.Dispose();
 }
 private void OnDestroy()
 {
     peer1?.Dispose();
     peer2?.Dispose();
     WebRTC.Dispose();
 }
 public void TearDown()
 {
     WebRTC.Dispose();
 }
Пример #4
0
 private void OnDestroy()
 {
     politePeer?.Dispose();
     impolitePeer?.Dispose();
     WebRTC.Dispose();
 }
Пример #5
0
 private void OnDestroy()
 {
     Audio.Stop();
     WebRTC.Dispose();
 }
Пример #6
0
 private void OnDestroy()
 {
     Debug.LogError("WebRTC disposed.");
     WebRTC.Dispose();
 }
 protected override void SetUpCodecCapability()
 {
     WebRTC.Initialize();
     videoCodec = RTCRtpSender.GetCapabilities(TrackKind.Video).codecs.FirstOrDefault(c => c.mimeType.Contains("VP8"));
     WebRTC.Dispose();
 }
Пример #8
0
 private void OnDestroy()
 {
     _signaller?.Close();
     WebRTC.Dispose();
 }