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

Commit 481dda4

Browse files
taste1981jianjunz
authored andcommitted
Allow flex-fec support enabling/disabling from application side (#128)
Enable flex-fec by application instead of hard-code.
1 parent f310fe6 commit 481dda4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

media/engine/webrtc_video_engine.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ const char* StreamTypeToString(
7575
// MediaSession and added as "a=ssrc:" and "a=ssrc-group:" lines in the local
7676
// SDP.
7777
bool IsFlexfecAdvertisedFieldTrialEnabled() {
78-
//return webrtc::field_trial::IsEnabled("WebRTC-FlexFEC-03-Advertised");
79-
return true;
78+
return webrtc::field_trial::IsEnabled("OWT-FlexFEC");
8079
}
8180

8281
bool IsEnabled(const webrtc::FieldTrialsView& trials, absl::string_view name) {

0 commit comments

Comments
 (0)