Fix CE in rtp_generator. Add it to default build target

This is a temporary solution, as there are several other executables and
some tests in rtc_tools/BUILD.gn. Including all of them to default target
is not decided yet.

But as rtp_generator tends to be broken reguraly, It should be included
there at least for now.


Bug: webrtc:10807
Change-Id: I3acf5a93c74bf1e2474c6aaee35653efbb43d3a0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146080
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28595}
This commit is contained in:
Ilya Nikolaevskiy 2019-07-18 09:59:25 +02:00 committed by Commit Bot
parent 40e0d8e8dd
commit b41d5f1f40
2 changed files with 1 additions and 1 deletions

View File

@ -57,6 +57,7 @@ if (!build_with_chromium) {
"modules/video_capture:video_capture_internal_impl",
"pc:peerconnection_unittests",
"pc:rtc_pc_unittests",
"rtc_tools:rtp_generator",
"stats:rtc_stats_unittests",
"system_wrappers:system_wrappers_unittests",
"test",

View File

@ -178,7 +178,6 @@ RtpGenerator::RtpGenerator(const RtpGeneratorOptions& options)
// Update some required to be unique values.
stream_count++;
video_config.rtp.mid = "mid-" + std::to_string(stream_count);
video_config.track_id = "track-" + std::to_string(stream_count);
// Configure the video encoder configuration.
VideoEncoderConfig encoder_config;