mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-23 09:22:21 +08:00
rtsp player trust sdp pt ,ingore other pt compatible hik nvr record
This commit is contained in:
@@ -208,6 +208,9 @@ void RtspPlayer::handleResDESCRIBE(const Parser& parser) {
|
||||
}
|
||||
_rtcp_context.clear();
|
||||
for (auto &track : _sdp_track) {
|
||||
if(track->_pt != 0xff){
|
||||
setPT(_rtcp_context.size(),track->_pt);
|
||||
}
|
||||
_rtcp_context.emplace_back(std::make_shared<RtcpContextForRecv>());
|
||||
}
|
||||
sendSetup(0);
|
||||
|
||||
Reference in New Issue
Block a user