Skip to content

Commit

Permalink
Set default scalabilityMode to L3T3_KEY in sample (#1238)
Browse files Browse the repository at this point in the history
* Set default scalabilityMode to L3T3_KEY in sample

* changset
  • Loading branch information
cnderrauber authored Sep 2, 2024
1 parent 90f311c commit 09b5d12
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/metal-pens-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'livekit-client': patch
---

Set default scalabilityMode to L3T3_KEY in sample/comment
3 changes: 1 addition & 2 deletions example/sample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,14 @@ const appActions = {
red: true,
forceStereo: false,
screenShareEncoding: ScreenSharePresets.h1080fps30.encoding,
scalabilityMode: 'L3T3',
scalabilityMode: 'L3T3_KEY',
},
videoCaptureDefaults: {
resolution: VideoPresets.h720.resolution,
},
e2ee: e2eeEnabled
? { keyProvider: state.e2eeKeyProvider, worker: new E2EEWorker() }
: undefined,
fastPublish: true,
};
if (
roomOpts.publishDefaults?.videoCodec === 'av1' ||
Expand Down
2 changes: 1 addition & 1 deletion src/room/track/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export interface TrackPublishDefaults {
simulcast?: boolean;

/**
* scalability mode for svc codecs, defaults to 'L3T3'.
* scalability mode for svc codecs, defaults to 'L3T3_KEY'.
* for svc codecs, simulcast is disabled.
*/
scalabilityMode?: ScalabilityMode;
Expand Down

0 comments on commit 09b5d12

Please sign in to comment.