Pass the absolute capture timestamp to rtcp

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 <lionelk@webrtc.org>
Reviewed-by: Jakob Ivarsson‎ <jakobi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#42296}
This commit is contained in:
Lionel Koenig 2024-05-08 13:44:36 +02:00 committed by WebRTC LUCI CQ
parent 95fc15b5a1
commit 8d070464e8

View File

@ -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;
}