Skip to content

Commit 8b3af00

Browse files
committed
change video codec from vp8 to h264
1 parent 80ebfca commit 8b3af00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/livekit/options.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ const defaultLiveKitPublishOptions: TrackPublishDefaults = {
2626
videoSimulcastLayers: [VideoPresets.h180, VideoPresets.h360] as VideoPreset[],
2727
screenShareEncoding: ScreenSharePresets.h1080fps30.encoding,
2828
stopMicTrackOnMute: false,
29-
videoCodec: "vp8",
29+
videoCodec: "h264",
3030
videoEncoding: VideoPresets.h720.encoding,
31-
backupCodec: { codec: "vp8", encoding: VideoPresets.h720.encoding },
31+
backupCodec: { codec: "h264", encoding: VideoPresets.h720.encoding },
3232
} as const;
3333

3434
export const defaultLiveKitOptions: RoomOptions = {

0 commit comments

Comments
 (0)