Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Allow flex-fec support enabling/disabling from application side #128

Merged
merged 2 commits into from
Mar 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions media/engine/webrtc_video_engine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ const int kMinLayerSize = 16;
// If this field trial is enabled, we will enable sending FlexFEC and disable
// sending ULPFEC whenever the former has been negotiated in the SDPs.
bool IsFlexfecFieldTrialEnabled() {
//return webrtc::field_trial::IsEnabled("WebRTC-FlexFEC-03");
return true;
return webrtc::field_trial::IsEnabled("OWT-FlexFEC");
}

// If this field trial is enabled, the "flexfec-03" codec will be advertised
Expand All @@ -65,8 +64,7 @@ bool IsFlexfecFieldTrialEnabled() {
// MediaSession and added as "a=ssrc:" and "a=ssrc-group:" lines in the local
// SDP.
bool IsFlexfecAdvertisedFieldTrialEnabled() {
//return webrtc::field_trial::IsEnabled("WebRTC-FlexFEC-03-Advertised");
return true;
return webrtc::field_trial::IsEnabled("OWT-FlexFEC");
}

void AddDefaultFeedbackParams(VideoCodec* codec) {
Expand Down
6 changes: 4 additions & 2 deletions modules/congestion_controller/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ rtc_library("congestion_controller") {
if (owt_use_gpra) {
# use Intel Goodput Rate Adapatation BWE
include_dirs = [ owt_gpra_header_root ]
libs = [ "gpra_lib.lib" ]
lib_dirs = [ owt_gpra_lib_root ]
if (is_win && owt_gpra_lib_root != "") {
libs = [ "gpra_lib.lib" ]
lib_dirs = [ owt_gpra_lib_root ]
}
defines += [ "INTEL_GPRA" ]
}

Expand Down
6 changes: 4 additions & 2 deletions modules/congestion_controller/goog_cc/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ rtc_library("goog_cc") {
if (owt_use_gpra) {
# use Intel Goodput Rate Adapatation BWE
include_dirs = [ owt_gpra_header_root ]
libs = [ "gpra_lib.lib" ]
lib_dirs = [ owt_gpra_lib_root ]
if (is_win && owt_gpra_lib_root != "") {
libs = [ "gpra_lib.lib" ]
lib_dirs = [ owt_gpra_lib_root ]
}
defines += [ "INTEL_GPRA" ]
}

Expand Down