コード例 #1
0
        /// <summary>
        /// Sets property <b>LastSR</b> value.
        /// </summary>
        /// <param name="report">Sender report.</param>
        /// <exception cref="ArgumentNullException">Is raised when <b>report</b> is null reference.</exception>
        internal void SetSR(RTCP_Report_Sender report)
        {
            if (report == null)
            {
                throw new ArgumentNullException("report");
            }

            m_LastSRTime = DateTime.Now;
            m_pLastSR    = report;

            OnSenderReport();
        }
コード例 #2
0
        /// <summary>
        /// This method is called when this source got sender report.
        /// </summary>
        /// <param name="report">Sender report.</param>
        /// <exception cref="ArgumentNullException">Is raised when <b>report</b> is null reference.</exception>
        internal void OnSenderReport(RTCP_Report_Sender report)
        {
            if (report == null)
            {
                throw new ArgumentNullException("report");
            }

            if (m_pStream != null)
            {
                m_pStream.SetSR(report);
            }
        }
コード例 #3
0
        /// <summary>
        /// Sets property <b>LastSR</b> value.
        /// </summary>
        /// <param name="report">Sender report.</param>
        /// <exception cref="ArgumentNullException">Is raised when <b>report</b> is null reference.</exception>
        internal void SetSR(RTCP_Report_Sender report)
        {
            if (report == null)
            {
                throw new ArgumentNullException("report");
            }

            m_LastSRTime = DateTime.Now;
            m_pLastSR = report;

            OnSenderReport();
        }
コード例 #4
0
        /// <summary>
        /// This method is called when this source got sender report.
        /// </summary>
        /// <param name="report">Sender report.</param>
        /// <exception cref="ArgumentNullException">Is raised when <b>report</b> is null reference.</exception>
        internal void OnSenderReport(RTCP_Report_Sender report)
        {
            if (report == null)
            {
                throw new ArgumentNullException("report");
            }

            if (m_pStream != null)
            {
                m_pStream.SetSR(report);
            }
        }