Markus Handell 9c27ed23d2 VideoRtpReceiver: Enable encoded frame sink.
This change finally wires up VideoRtpReceiver::OnGenerateKeyFrame and
OnEncodedSinkEnabled into internal::VideoReceiveStream so that encoded
frames can flow to sinks installed in VideoTrackSourceInterface.

Bug: chromium:1013590
Change-Id: I76f8226752294aee8fe137d1a78ee66548900cc2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/161095
Commit-Queue: Markus Handell <handellm@webrtc.org>
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30003}
2019-12-04 12:55:40 +00:00

38 lines
1001 B
Plaintext

# Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
import("../../../webrtc.gni")
rtc_library("rtc_api_video_unittests") {
testonly = true
sources = [
"color_space_unittest.cc",
"video_bitrate_allocation_unittest.cc",
]
deps = [
"..:video_bitrate_allocation",
"..:video_frame",
"..:video_rtp_headers",
"../../../test:test_support",
"//third_party/abseil-cpp/absl/types:optional",
]
}
rtc_source_set("mock_recordable_encoded_frame") {
testonly = true
visibility = [ "*" ]
sources = [
"mock_recordable_encoded_frame.h",
]
deps = [
"..:recordable_encoded_frame",
"../../../test:test_support",
]
}