コード例 #1
0
ファイル: RtpSource.cs プロジェクト: okankilic/LisconVT
        public override void Start()
        {
            //When the stream is not fully stopped
            if (State >= StreamState.StopRequested)
            {
                return;
            }

            //If there is a RtpClient call Activate.
            if (object.ReferenceEquals(RtpClient, null).Equals(false))
            {
                RtpClient.Activate();
            }

            //Should be done in first packet recieved...
            base.Ready = true;

            //Call start which sets state.
            base.Start();
        }