提交 8062433c authored 作者: José Luis Millán's avatar José Luis Millán

Consumer: initialize rtpTimestamp

上级 566ed884
......@@ -27,6 +27,9 @@ namespace RTC
// Initialize sequence number.
this->maxSeqNum = static_cast<uint16_t>(Utils::Crypto::GetRandomUInt(0x00FF, 0xFFFF));
// Initialize RTP timestamp.
this->rtpTimestamp = Utils::Crypto::GetRandomUInt(0x00FF, 0xFFFF);
// Set the RTCP report generation interval.
if (this->kind == RTC::Media::Kind::AUDIO)
this->maxRtcpInterval = RTC::RTCP::MaxAudioIntervalMs;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论