Skip to content

Commit

Permalink
fix: propperly select default encoding when using multivideotrack
Browse files Browse the repository at this point in the history
  • Loading branch information
murillo128 committed Sep 6, 2024
1 parent 4df9159 commit f2d7704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/IncomingStreamTrackBridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ class IncomingStreamTrackBridge extends Emitter
**/
getDefaultEncoding()
{
return [...this.encodings.values()][0];
return this.encodings.get("") ?? [...this.encodings.values()][0];
}

/**
Expand Down

0 comments on commit f2d7704

Please sign in to comment.