mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
rtc receive sr reset alive ticker
This commit is contained in:
parent
098bd319ab
commit
d04a6d4355
@ -718,6 +718,7 @@ void WebRtcTransportImp::onRtcp(const char *buf, size_t len) {
|
||||
for (auto rtcp : rtcps) {
|
||||
switch ((RtcpType)rtcp->pt) {
|
||||
case RtcpType::RTCP_SR: {
|
||||
_alive_ticker.resetTime();
|
||||
// 对方汇报rtp发送情况
|
||||
RtcpSR *sr = (RtcpSR *)rtcp;
|
||||
auto it = _ssrc_to_track.find(sr->ssrc);
|
||||
|
Loading…
Reference in New Issue
Block a user