Пример #1
0
        /// <summary>
        /// This method gets the media manager to pass local media samples to the RTP channel and then
        /// receive them back as the remote video stream. This tests that the codec and RTP packetisation
        /// are working.
        /// </summary>
        public void RunLoopbackTest()
        {
            _rtpManager = new RTPManager(false, true);
            _rtpManager.OnRemoteVideoSampleReady += EncodedVideoSampleReceived;

            var sdp = _rtpManager.GetSDP(false);

            _rtpManager.SetRemoteSDP(sdp);
        }
Пример #2
0
 public void SetRemoteSDP(SDP remoteSDP)
 {
     _rtpManager.SetRemoteSDP(remoteSDP);
 }
Пример #3
0
        /// <summary>
        /// This method gets the media manager to pass local media samples to the RTP channel and then 
        /// receive them back as the remote video stream. This tests that the codec and RTP packetisation
        /// is working.
        /// </summary>
        public void RunLoopbackTest()
        {
            _rtpManager = new RTPManager(false, true);
            _rtpManager.OnRemoteVideoSampleReady += EncodedVideoSampleReceived;
            _rtpManager.OnRemoteAudioSampleReady += RemoteAudioSampleReceived;

            var sdp = _rtpManager.GetSDP(false);
            _rtpManager.SetRemoteSDP(sdp);
        }