mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
国标udp多端口模式支持收到sr rtcp后回复rr rtcp
确保国标停止rtp推流后也可以仅靠rtcp保活
This commit is contained in:
parent
bf6fccd954
commit
2628690673
@ -89,6 +89,8 @@ public:
|
||||
for (auto &rtcp : rtcps) {
|
||||
strong_self->_process->onRtcp(rtcp);
|
||||
}
|
||||
// 收到sr rtcp后驱动返回rr rtcp
|
||||
strong_self->sendRtcp(strong_self->_ssrc, (struct sockaddr *)(strong_self->_rtcp_addr.get()));
|
||||
});
|
||||
|
||||
GET_CONFIG(uint64_t, timeoutSec, RtpProxy::kTimeoutSec);
|
||||
|
Loading…
Reference in New Issue
Block a user