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}
diff --git a/audio/channel_send.cc b/audio/channel_send.cc
index 1e211ab..756e622 100644
--- a/audio/channel_send.cc
+++ b/audio/channel_send.cc
@@ -355,10 +355,7 @@
// 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;
}