Migrate RtcpTransceiver to use webrtc::TaskQueueBase instead of rtc::TaskQueue

This changes removes an extra layer of indirection
since RtcpTransceiver doesn't own TaskQueue it uses.

Bug: None
Change-Id: Ie1ef4cd8c3fb18a8e0b7ddaf0d6a319392b9e9f7
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/126040
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30704}
This commit is contained in:
Danil Chapovalov
2020-03-05 15:43:24 +01:00
committed by Commit Bot
parent 8e9fd4857e
commit f351cfffe2
8 changed files with 53 additions and 48 deletions

View File

@ -14,9 +14,9 @@
#include <string>
#include "api/rtp_headers.h"
#include "api/task_queue/task_queue_base.h"
#include "api/video/video_bitrate_allocation.h"
#include "modules/rtp_rtcp/include/rtp_rtcp_defines.h"
#include "rtc_base/task_queue.h"
#include "system_wrappers/include/ntp_time.h"
namespace webrtc {
@ -65,7 +65,7 @@ struct RtcpTransceiverConfig {
Transport* outgoing_transport = nullptr;
// Queue for scheduling delayed tasks, e.g. sending periodic compound packets.
rtc::TaskQueue* task_queue = nullptr;
TaskQueueBase* task_queue = nullptr;
// Rtcp report block generator for outgoing receiver reports.
ReceiveStatisticsProvider* receive_statistics = nullptr;