Ejemplo n.º 1
0
 /// <summary>
 /// Once the video source has been initialised this method needs to be called to start it.
 /// </summary>
 private void StartVideo()
 {
     if (_videoOpts.VideoSource == VideoSourcesEnum.TestPattern && _testPatternVideoSource != null)
     {
         _testPatternVideoSource.Start();
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Once the video source has been initialised this method needs to be called to start it.
        /// </summary>
        private void StartVideo()
        {
            if (_videoOpts.VideoSource == VideoSourcesEnum.TestPattern && _testPatternVideoSource != null)
            {
                _sendingVideoFormat = base.GetSendingFormat(SDPMediaTypesEnum.video);

                _testPatternVideoSource.Start();
            }
        }