Skip to content

Commit

Permalink
enable simulcast codecs for firefox (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnderrauber committed Aug 16, 2022
1 parent 3ef2ece commit 0f6b399
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/weak-parents-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'livekit-client': patch
---

enable simucalst codecs for firefox
2 changes: 1 addition & 1 deletion src/room/participant/LocalParticipant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ export default class LocalParticipant extends Participant {
}

// set vp8 codec as backup for any other codecs
if (opts.videoCodec && opts.videoCodec !== 'vp8' && !isFireFox()) {
if (opts.videoCodec && opts.videoCodec !== 'vp8') {
req.simulcastCodecs = [
{
codec: opts.videoCodec,
Expand Down

0 comments on commit 0f6b399

Please sign in to comment.