mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] fix timestamp in congestion control feedback
This commit is contained in:
@@ -430,15 +430,6 @@ void RtpVideoReceiver::SendCombinedRtcpPacket(
|
||||
|
||||
RTCPSender rtcp_sender(
|
||||
[this](const uint8_t* buffer, size_t size) -> int {
|
||||
webrtc::rtcp::CommonHeader rtcp_block;
|
||||
// bool valid = true;
|
||||
// if (!rtcp_block.Parse(buffer, size)) {
|
||||
// valid = false;
|
||||
// }
|
||||
|
||||
webrtc::rtcp::CongestionControlFeedback feedback;
|
||||
feedback.Parse(rtcp_block);
|
||||
|
||||
return data_send_func_((const char*)buffer, size);
|
||||
},
|
||||
1200);
|
||||
|
||||
Reference in New Issue
Block a user