Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default scalabilityMode to L3T3_KEY in sample #1238

Merged
merged 2 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading