public IAudioSource CreateAudioSource(MediaConstraints mediaConstraints) { var audioSource = _factory.CreateAudioSource(mediaConstraints.ToNative()); if (audioSource == null) { return(null); } return(new AudioSourceNative(audioSource)); }
public void CreateAnswer(MediaConstraints constraints, ISdpObserver observer) { _peerConnection.CreateAnswer(new SdpObserverProxy(observer), constraints.ToNative()); }