Remove VideoSender and fold code into VideoStreamEncoder

This CL moves the functionality in VideoSender into VideoStreamEncoder
and simplifies the code where possible, given what we know of the
encoder state and that we now run on the encoder queue.

The intent here is to make it easier to remove the next parts, the
encoder database and generic encoder wrapper.

Bug: webrtc:10164
Change-Id: I8c108ccbe5db97cd9fd1e84228134709af845ea3
Reviewed-on: https://webrtc-review.googlesource.com/c/123540
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26813}
This commit is contained in:
Erik Språng
2019-02-21 21:19:53 +01:00
committed by Commit Bot
parent 10874b2174
commit d7329ca570
6 changed files with 334 additions and 828 deletions

View File

@ -153,7 +153,6 @@ rtc_static_library("video_coding") {
"video_coding_impl.cc",
"video_coding_impl.h",
"video_receiver.cc",
"video_sender.cc",
]
if (!build_with_chromium && is_clang) {
@ -873,7 +872,6 @@ if (rtc_include_tests) {
"video_codec_initializer_unittest.cc",
"video_packet_buffer_unittest.cc",
"video_receiver_unittest.cc",
"video_sender_unittest.cc",
]
if (rtc_use_h264) {
sources += [