webrtc/test/scenario
Erik Språng 0bc96c80f3 Reland "Allow unspecified max allocatable bitrate in VideoSendStreamImpl"
This is a reland of commit e844bd819c

The changes after Patchset 1 are intended to fix a corner case where a
video send stream config is used where layers (simulcast or svc) are
configured and active but have undefined max bitrate. In those cases the
max bitrate will be inherited from the global max bitrate.

Original change's description:
> Allow unspecified max allocatable bitrate in VideoSendStreamImpl
>
> If we have no video the can be enabled, based on the VideoEncoderConfig
> (e.g. the max bitrate is <= 0 or all simulcast streams are
> `active=false`) - let the max bitrate be reported as 0 for the sake of
> bandwidth allocation (MediaStreamAllocationConfig).
>
> Previous to this CL, the above conditions would result in an arbitrary
> value of 10Mbps to use as the max allocation limit. When creating a peer
> connection with audio and video configured but the video disabled/muted,
> that would result in the bandwidth estimator trying to send packet
> trains to probe up to 10Mbps, potentially impacting the network and
> disturbing audio even though we have no need for such as high BWE.
>
> Bug: webrtc:494350649
> Change-Id: Id6353fd93c6170610a790c084d75f3b3c5c3ee97
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/449100
> Reviewed-by: Per Kjellander <perkj@webrtc.org>
> Commit-Queue: Erik Språng <sprang@webrtc.org>
> Cr-Commit-Position: refs/heads/main@{#47220}

Bug: webrtc:494350649
Change-Id: I59e415bbd121b8661dc5b53e67a2788a335539a9
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/459680
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Commit-Queue: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#47245}
2026-03-24 10:29:31 -07:00
..
audio_stream.cc Move all the receiver SSRC choices to the AudioChannel/VideoChannel 2026-02-20 10:02:57 -08:00
audio_stream.h IWYU test/pc, test/peer_scenario and test/scenario 2025-06-02 00:14:40 -07:00
BUILD.gn Replace ArrayView with std::span in test/ 2026-03-05 14:47:47 -08:00
call_client.cc Replace ArrayView with std::span in test/ 2026-03-05 14:47:47 -08:00
call_client.h Replace ArrayView with std::span in test/ 2026-03-05 14:47:47 -08:00
column_printer.cc IWYU test/pc, test/peer_scenario and test/scenario 2025-06-02 00:14:40 -07:00
column_printer.h IWYU test/pc, test/peer_scenario and test/scenario 2025-06-02 00:14:40 -07:00
hardware_codecs.cc IWYU test/pc, test/peer_scenario and test/scenario 2025-06-02 00:14:40 -07:00
hardware_codecs.h
network_node.cc Replace ArrayView with std::span in test/ 2026-03-05 14:47:47 -08:00
network_node.h Replace ArrayView with std::span in test/ 2026-03-05 14:47:47 -08:00
OWNERS Add perkj@ as owner in webrtc/test/scenario 2022-12-20 12:02:08 +00:00
performance_stats_unittest.cc IWYU test/pc, test/peer_scenario and test/scenario 2025-06-02 00:14:40 -07:00
performance_stats.cc Avoid global clock in SamplesStatsCounter 2025-08-22 05:33:42 -07:00
performance_stats.h IWYU test/pc, test/peer_scenario and test/scenario 2025-06-02 00:14:40 -07:00
probing_test.cc IWYU test/pc, test/peer_scenario and test/scenario 2025-06-02 00:14:40 -07:00
scenario_config.cc Using NetworkEmulationManager in Scenario tests. 2019-04-16 06:24:26 +00:00
scenario_config.h Propagate field trials in Scenario based tests 2025-05-30 08:36:10 -07:00
scenario_unittest.cc Avoid global clock in SamplesStatsCounter 2025-08-22 05:33:42 -07:00
scenario.cc TaskQueueFactory: implement go/cstyle#Enumerator_Names 2026-01-26 02:38:24 -08:00
scenario.h IWYU test/pc, test/peer_scenario and test/scenario 2025-06-02 00:14:40 -07:00
stats_collection_unittest.cc Avoid global clock in SamplesStatsCounter 2025-08-22 05:33:42 -07:00
stats_collection.cc Avoid global clock in SamplesStatsCounter 2025-08-22 05:33:42 -07:00
stats_collection.h Avoid global clock in SamplesStatsCounter 2025-08-22 05:33:42 -07:00
video_frame_matcher.cc IWYU test/pc, test/peer_scenario and test/scenario 2025-06-02 00:14:40 -07:00
video_frame_matcher.h IWYU test/pc, test/peer_scenario and test/scenario 2025-06-02 00:14:40 -07:00
video_stream_unittest.cc Reland "Allow unspecified max allocatable bitrate in VideoSendStreamImpl" 2026-03-24 10:29:31 -07:00
video_stream.cc Replace EncoderSwitchRequestCallback with absl::AnyInvocable 2026-03-09 07:02:19 -07:00
video_stream.h IWYU test/pc, test/peer_scenario and test/scenario 2025-06-02 00:14:40 -07:00