private void OnDestroy() { WebRTC.Dispose(); }
private void OnDestroy() { peer1?.Dispose(); peer2?.Dispose(); WebRTC.Dispose(); }
public void TearDown() { WebRTC.Dispose(); }
private void OnDestroy() { politePeer?.Dispose(); impolitePeer?.Dispose(); WebRTC.Dispose(); }
private void OnDestroy() { Audio.Stop(); WebRTC.Dispose(); }
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(); }
private void OnDestroy() { _signaller?.Close(); WebRTC.Dispose(); }