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

@ -58,7 +58,7 @@ bool RtcpTransceiverConfig::Validate() const {
<< "ms between reports should be positive.";
return false;
}
if (schedule_periodic_compound_packets && !task_queue) {
if (schedule_periodic_compound_packets && task_queue == nullptr) {
RTC_LOG(LS_ERROR) << debug_id
<< "missing task queue for periodic compound packets";
return false;