mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-29 06:12:22 +08:00
优化rtp统计性能
This commit is contained in:
@@ -204,7 +204,7 @@ void RtspPlayer::handleResDESCRIBE(const Parser& parser) {
|
||||
throw std::runtime_error("onCheckSDP faied");
|
||||
}
|
||||
for (auto &track : _sdp_track) {
|
||||
_rtcp_context.emplace_back(std::make_shared<RtcpContext>(track->_samplerate));
|
||||
_rtcp_context.emplace_back(std::make_shared<RtcpContext>(track->_samplerate, true));
|
||||
}
|
||||
sendSetup(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user