Allow H264 simulcast be default
Bug: chromium:908099 Change-Id: If50d59e01ea008ce29c8225c24f5189d34817506 Reviewed-on: https://webrtc-review.googlesource.com/c/115042 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26059}
This commit is contained in:
parent
3f651d80a0
commit
f5fc537c4b
@ -219,7 +219,7 @@ static bool ValidateStreamParams(const StreamParams& sp) {
|
||||
|
||||
// Returns true if the given codec is disallowed from doing simulcast.
|
||||
bool IsCodecBlacklistedForSimulcast(const std::string& codec_name) {
|
||||
return webrtc::field_trial::IsEnabled("WebRTC-H264Simulcast")
|
||||
return !webrtc::field_trial::IsDisabled("WebRTC-H264Simulcast")
|
||||
? absl::EqualsIgnoreCase(codec_name, kVp9CodecName)
|
||||
: absl::EqualsIgnoreCase(codec_name, kH264CodecName) ||
|
||||
absl::EqualsIgnoreCase(codec_name, kVp9CodecName);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user