mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 20:27:34 +08:00
fix gcc for linux compile error
This commit is contained in:
parent
783321e74e
commit
7f917211e4
@ -125,7 +125,7 @@ static bool isOneByteExt(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
static bool isOneByteExt<RtpExtOneByte>(){
|
bool isOneByteExt<RtpExtOneByte>(){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -576,7 +576,7 @@ void WebRtcTransportImp::onRtcp(const char *buf, size_t len) {
|
|||||||
auto rr = it->second->rtcp_context_recv->createRtcpRR(sr->items.ssrc, sr->ssrc);
|
auto rr = it->second->rtcp_context_recv->createRtcpRR(sr->items.ssrc, sr->ssrc);
|
||||||
sendRtcpPacket(rr->data(), rr->size(), true);
|
sendRtcpPacket(rr->data(), rr->size(), true);
|
||||||
} else {
|
} else {
|
||||||
WarnL << "未识别的sr rtcp包:" << sr->ssrc;
|
WarnL << "未识别的sr rtcp包:" << (uint32_t)sr->ssrc;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -589,7 +589,7 @@ void WebRtcTransportImp::onRtcp(const char *buf, size_t len) {
|
|||||||
auto sr = it->second->rtcp_context_send->createRtcpSR(rr->items.ssrc);
|
auto sr = it->second->rtcp_context_send->createRtcpSR(rr->items.ssrc);
|
||||||
sendRtcpPacket(sr->data(), sr->size(), true);
|
sendRtcpPacket(sr->data(), sr->size(), true);
|
||||||
} else {
|
} else {
|
||||||
WarnL << "未识别的rr rtcp包:" << rr->ssrc;
|
WarnL << "未识别的rr rtcp包:" << (uint32_t)rr->ssrc;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user