Use the injected clock in rtcp_transciever.

Bug: webrtc:11327
Change-Id: Idb02842f2eb679f972c0449a01a81a26ceb85827
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219789
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Paul Hallak <phallak@google.com>
Cr-Commit-Position: refs/heads/master@{#34080}
This commit is contained in:
Paul Hallak
2021-05-21 18:08:04 +02:00
committed by WebRTC LUCI CQ
parent 61a287a3cb
commit fe3dd51f32
7 changed files with 186 additions and 63 deletions

View File

@ -20,6 +20,7 @@
#include "modules/rtp_rtcp/source/rtcp_transceiver_config.h"
#include "modules/rtp_rtcp/source/rtcp_transceiver_impl.h"
#include "rtc_base/copy_on_write_buffer.h"
#include "system_wrappers/include/clock.h"
namespace webrtc {
//
@ -93,6 +94,7 @@ class RtcpTransceiver : public RtcpFeedbackSenderInterface {
void SendFullIntraRequest(std::vector<uint32_t> ssrcs, bool new_request);
private:
Clock* const clock_;
TaskQueueBase* const task_queue_;
std::unique_ptr<RtcpTransceiverImpl> rtcp_transceiver_;
};