예제 #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 SDP GetSDP(bool usePublicIP)
 {
     return(_rtpManager.GetSDP(usePublicIP));
 }
예제 #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);
        }