Update rtc_tools/rtp_generator to compile

This is a trivial CL, updating rtp_generator.cc according to changes in
APIs in other places.

Bug: webrtc:10807
Change-Id: Ie85c6283f2d78dcf742979378db0b4fb0914c96c
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/145209
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28526}
This commit is contained in:
Ilya Nikolaevskiy
2019-07-10 15:34:45 +02:00
committed by Commit Bot
parent 16850598db
commit ca160215c9
3 changed files with 17 additions and 6 deletions

View File

@ -17,6 +17,7 @@
#include "api/call/transport.h"
#include "api/media_types.h"
#include "api/task_queue/task_queue_factory.h"
#include "api/video/builtin_video_bitrate_allocator_factory.h"
#include "api/video_codecs/video_decoder_factory.h"
#include "api/video_codecs/video_encoder_config.h"
@ -112,6 +113,7 @@ class RtpGenerator final : public webrtc::Transport {
std::vector<VideoSendStream*> video_send_streams_;
std::vector<uint32_t> durations_ms_;
uint32_t start_ms_ = 0;
std::unique_ptr<TaskQueueFactory> task_queue_;
// This object cannot be copied.
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RtpGenerator);