public void OfferForConstraints(MediaConstraints mediaConstraints, ISdpObserver sdpObserver)
        {
            var sdpCallbackHelper = new SdpCallbackHelper(sdpObserver);

            _peerConnection.OfferForConstraints(mediaConstraints.ToPlatformNative(), sdpCallbackHelper.CreateSdp);
        }
        public IAudioSource AudioSourceWithConstraints(MediaConstraints mediaConstraints)
        {
            var audioSource = _peerConnectionFactory.AudioSourceWithConstraints(mediaConstraints.ToPlatformNative());

            return(audioSource == null ? null : new PlatformAudioSource(audioSource));
        }