In RtcpTransceiver use TimeDelta instead of raw int to represent time

Bug: webrtc:8239, webrtc:13757
Change-Id: Idda3fe5761665b4b3fedaf2dd1a28bb0119ae1f1
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/252287
Reviewed-by: Emil Lundmark <lndmrk@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36094}
This commit is contained in:
Danil Chapovalov
2022-02-23 20:15:20 +01:00
committed by WebRTC LUCI CQ
parent 9af4aa7cf4
commit c2b1bad4c8
5 changed files with 26 additions and 26 deletions

View File

@ -116,7 +116,7 @@ class RtcpTransceiverImpl {
rtc::ArrayView<const rtcp::ReportBlock> report_blocks);
void ReschedulePeriodicCompoundPackets();
void SchedulePeriodicCompoundPackets(int64_t delay_ms);
void SchedulePeriodicCompoundPackets(TimeDelta delay);
// Appends RTCP sender and receiver reports to the `sender`.
// Both sender and receiver reports may have attached report blocks.
// Uses up to `config_.max_packet_size - reserved_bytes`