提交 08d08a5d authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Transport: Let descendatns (such as WebRtcTransport) to start the RTCP timer.

上级 b066ac7a
......@@ -23,9 +23,6 @@ namespace RTC
// Create the RTCP timer.
this->rtcpTimer = new Timer(this);
// Start the RTCP timer.
this->rtcpTimer->Start(static_cast<uint64_t>(RTC::RTCP::MaxVideoIntervalMs / 2));
}
Transport::~Transport()
......
......@@ -179,6 +179,9 @@ namespace RTC
// Set remote bitrate estimator.
this->remoteBitrateEstimator.reset(new RTC::RemoteBitrateEstimatorAbsSendTime(this));
// Start the RTCP timer.
this->rtcpTimer->Start(static_cast<uint64_t>(RTC::RTCP::MaxVideoIntervalMs / 2));
}
WebRtcTransport::~WebRtcTransport()
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论