Skip to content

Commit

Permalink
fix(flags) don't enable SSRC rewriting by default
Browse files Browse the repository at this point in the history
We are going to work on making the tracks API backwards compatible and
re-enable it in the near future.
  • Loading branch information
saghul authored and subhamcyara committed Jul 19, 2024
1 parent dfbbd76 commit 841d59f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/flags/FeatureFlags.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ class FeatureFlags {
*
* @param {object} flags - The feature flags.
* @param {boolean=} flags.runInLiteMode - Enables lite mode for testing to disable media decoding.
* @param {boolean=} flags.ssrcRewritingEnabled - Use SSRC rewriting. Requires sourceNameSignaling to be enabled.
* @param {boolean=} flags.ssrcRewritingEnabled - Use SSRC rewriting.
* @param {boolean=} flags.enableJoinAsVisitor - Enable joining as a visitor.
*/
init(flags) {
this._runInLiteMode = Boolean(flags.runInLiteMode);
this._ssrcRewriting = flags.ssrcRewritingEnabled ?? true;
this._ssrcRewriting = Boolean(flags.ssrcRewritingEnabled);
this._joinAsVisitor = Boolean(flags.enableJoinAsVisitor ?? true);
}

Expand Down

0 comments on commit 841d59f

Please sign in to comment.