Skip to content

Commit

Permalink
changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzhao committed Nov 3, 2023
1 parent 8ce619e commit f672f7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/pretty-geese-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'livekit-client': patch
---

Simplify multi-codec simulcast usage, backupCodec: true
2 changes: 1 addition & 1 deletion src/room/participant/LocalParticipant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ export default class LocalParticipant extends Participant {

// set up backup
if (opts.backupCodec === true) {
opts.backupCodec = { codec: 'vp8' };
opts.backupCodec = { codec: defaultVideoCodec };
}
if (opts.backupCodec && videoCodec !== opts.backupCodec.codec) {
// multi-codec simulcast requires dynacast
Expand Down

0 comments on commit f672f7e

Please sign in to comment.