webrtc/media/engine
Erik Språng b6ff84b516 Reland "When VP9 SVC is used, use SvcConfig to set max bitrate for the stream."
This is a reland of commit 3afb8e2431

Patchset 1 is the original CL. Patchset 2 contains a fix:
Depending on call site, the number of spatial layers for VP9 might be
signalled in three different ways. One of them was afaict only used in
out perf tests, and resulted in the max bitrate being incorrectly
capped.
The fix now checks that field too.

Original change's description:
> When VP9 SVC is used, use SvcConfig to set max bitrate for the stream.
>
> Currently, a default max bitrate is determined within WebRtcVideoEngine,
> which maxes out at 2.5Mbps - and that limits the max bitrate deteremined
> by SvcConfig for resolutions above 720p.
>
> This does not affect simulcast, as WebRtcVideoEngine already knows to
> trust the rate allocation in simulcast.cc instead.
>
> Bug: webrtc:14017
> Change-Id: I0c310a6fd496e9e5a10eae45838900068aa1ae2d
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/267160
> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
> Commit-Queue: Erik Språng <sprang@webrtc.org>
> Cr-Commit-Position: refs/heads/main@{#37370}

Bug: webrtc:14017, webrtc:14234
Change-Id: Idcaf4321a20c917e4049522c577336ddcfc7ffbb
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/267860
Auto-Submit: Erik Språng <sprang@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37446}
2022-07-05 14:19:33 +00:00
..
adm_helpers.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
adm_helpers.h Delete unneeded includes of common_types.h and gn deps on webrtc_common. 2018-11-20 16:28:39 +00:00
encoder_simulcast_proxy.cc Delete deprecated EncoderSimulcastProxy constructor 2021-08-18 13:23:39 +00:00
encoder_simulcast_proxy.h Delete deprecated EncoderSimulcastProxy constructor 2021-08-18 13:23:39 +00:00
encoder_simulcast_proxy_unittest.cc Use designated initializers for webrtc::SimulcastStream 2022-07-05 12:23:44 +00:00
fake_video_codec_factory.cc Remove RTPFragmentationHeader creation and propagation through webrtc 2020-08-17 16:37:33 +00:00
fake_video_codec_factory.h Deprecate write-only member CodecInfo::is_hardware_accelerated 2020-08-04 07:56:49 +00:00
fake_webrtc_call.cc Add SetTransportCc to ReceiveStreamInterface. 2022-05-30 14:07:04 +00:00
fake_webrtc_call.h Add SetTransportCc to ReceiveStreamInterface. 2022-05-30 14:07:04 +00:00
fake_webrtc_video_engine.cc Delete support for has_internal_source 2021-11-16 11:29:40 +00:00
fake_webrtc_video_engine.h Delete support for has_internal_source 2021-11-16 11:29:40 +00:00
internal_decoder_factory.cc Reland: Added support for H264 YUV444 (I444) decoding. 2022-02-09 11:57:55 +00:00
internal_decoder_factory.h Reland "Handle scalability mode in QueryCodecSupport" 2021-09-15 13:12:58 +00:00
internal_decoder_factory_unittest.cc Reland "Handle scalability mode in QueryCodecSupport" 2021-09-15 13:12:58 +00:00
internal_encoder_factory.cc Reland "Replace InternalVideoEncoderFactory implementation with VideoEncoderFactoryTemplate." 2022-05-24 12:40:57 +00:00
internal_encoder_factory.h Reland "Replace InternalVideoEncoderFactory implementation with VideoEncoderFactoryTemplate." 2022-05-24 12:40:57 +00:00
internal_encoder_factory_unittest.cc Reland "Replace InternalVideoEncoderFactory implementation with VideoEncoderFactoryTemplate." 2022-05-24 12:40:57 +00:00
multiplex_codec_factory.cc Deprecate write-only member CodecInfo::is_hardware_accelerated 2020-08-04 07:56:49 +00:00
multiplex_codec_factory.h Use backticks not vertical bars to denote variables in comments for /media 2021-07-27 17:11:33 +00:00
multiplex_codec_factory_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
null_webrtc_video_engine.h Delete ChannelManager class 2022-05-23 10:06:26 +00:00
null_webrtc_video_engine_unittest.cc Update audio/, media/, and video/ to not use implicit conversion 2022-04-21 09:00:14 +00:00
payload_type_mapper.cc audio/red: provide default fmtp line 2021-10-01 13:02:30 +00:00
payload_type_mapper.h Use backticks not vertical bars to denote variables in comments for /media 2021-07-27 17:11:33 +00:00
payload_type_mapper_unittest.cc audio/red: provide default fmtp line 2021-10-01 13:02:30 +00:00
simulcast.cc WebRTC-DeprecateGlobalFieldTrialString/Enabled/ - part 12/inf 2022-03-29 10:14:00 +00:00
simulcast.h WebRTC-DeprecateGlobalFieldTrialString/Enabled/ - part 12/inf 2022-03-29 10:14:00 +00:00
simulcast_encoder_adapter.cc Delete rtc_base/atomic_ops.h 2022-06-28 08:32:13 +00:00
simulcast_encoder_adapter.h Delete rtc_base/atomic_ops.h 2022-06-28 08:32:13 +00:00
simulcast_encoder_adapter_unittest.cc Update/delete old TODOs 2022-07-05 09:44:53 +00:00
simulcast_unittest.cc Update field trial for allowing cropped resolution when limiting max layers. 2021-02-15 14:37:42 +00:00
unhandled_packets_buffer.cc Remove set but otherwise unused variables 2022-03-30 14:38:50 +00:00
unhandled_packets_buffer.h Use backticks not vertical bars to denote variables in comments for /media 2021-07-27 17:11:33 +00:00
unhandled_packets_buffer_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
webrtc_media_engine.cc Update audio/, media/, and video/ to not use implicit conversion 2022-04-21 09:00:14 +00:00
webrtc_media_engine.h WebRTC-DeprecateGlobalFieldTrialString/Enabled/ - part 12/inf 2022-03-29 10:14:00 +00:00
webrtc_media_engine_defaults.cc Make VideoBitrateAllocatorFactory injectable. 2019-04-17 06:17:34 +00:00
webrtc_media_engine_defaults.h Export more symbols to fix Chromecast component build 2019-12-03 17:41:04 +00:00
webrtc_media_engine_unittest.cc WebRTC-DeprecateGlobalFieldTrialString/Enabled/ - part 3/inf 2022-03-11 07:46:34 +00:00
webrtc_video_engine.cc Reland "When VP9 SVC is used, use SvcConfig to set max bitrate for the stream." 2022-07-05 14:19:33 +00:00
webrtc_video_engine.h Move to_queued_task.h and pending_task_safety_flag.h into public API 2022-06-17 09:20:39 +00:00
webrtc_video_engine_unittest.cc Reland "When VP9 SVC is used, use SvcConfig to set max bitrate for the stream." 2022-07-05 14:19:33 +00:00
webrtc_voice_engine.cc Remove excessive log spam from receiver.getParameters(). 2022-06-27 09:37:31 +00:00
webrtc_voice_engine.h Move to_queued_task.h and pending_task_safety_flag.h into public API 2022-06-17 09:20:39 +00:00
webrtc_voice_engine_unittest.cc Add SetTransportCc to ReceiveStreamInterface. 2022-05-30 14:07:04 +00:00