diff --git a/webrtc/RtpExt.cpp b/webrtc/RtpExt.cpp index 5ea0192d..62cdc830 100644 --- a/webrtc/RtpExt.cpp +++ b/webrtc/RtpExt.cpp @@ -125,7 +125,7 @@ static bool isOneByteExt(){ } template<> -static bool isOneByteExt(){ +bool isOneByteExt(){ return true; } diff --git a/webrtc/WebRtcTransport.cpp b/webrtc/WebRtcTransport.cpp index e32fac33..db01b69c 100644 --- a/webrtc/WebRtcTransport.cpp +++ b/webrtc/WebRtcTransport.cpp @@ -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); sendRtcpPacket(rr->data(), rr->size(), true); } else { - WarnL << "未识别的sr rtcp包:" << sr->ssrc; + WarnL << "未识别的sr rtcp包:" << (uint32_t)sr->ssrc; } 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); sendRtcpPacket(sr->data(), sr->size(), true); } else { - WarnL << "未识别的rr rtcp包:" << rr->ssrc; + WarnL << "未识别的rr rtcp包:" << (uint32_t)rr->ssrc; } break; }