From 8d070464e82372368d10c0cf25bf53806e9b7272 Mon Sep 17 00:00:00 2001 From: Lionel Koenig Date: Wed, 8 May 2024 13:44:36 +0200 Subject: [PATCH] Pass the absolute capture timestamp to rtcp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This pass the absolute capture timestamp at the beginning of the frame to the rtcp module. Bug: webrtc:42226041 Change-Id: Iae85a56bfd9d33f7eb9eac3c68961235fe16dc6b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/350202 Commit-Queue: Lionel Koenig Reviewed-by: Jakob Ivarsson‎ Cr-Commit-Position: refs/heads/main@{#42296} --- audio/channel_send.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/audio/channel_send.cc b/audio/channel_send.cc index 1e211ab1c6..756e622acb 100644 --- a/audio/channel_send.cc +++ b/audio/channel_send.cc @@ -355,10 +355,7 @@ int32_t ChannelSend::SendRtpAudio(AudioFrameType frameType, // Push data from ACM to RTP/RTCP-module to deliver audio frame for // packetization. if (!rtp_rtcp_->OnSendingRtpFrame(rtp_timestamp_without_offset, - // Leaving the time when this frame was - // received from the capture device as - // undefined for voice for now. - -1, payloadType, + absolute_capture_timestamp_ms, payloadType, /*force_sender_report=*/false)) { return -1; }