From 8b3af0017a524fd626145fd6d845127b4c90f8f0 Mon Sep 17 00:00:00 2001 From: fkwp Date: Wed, 18 Jun 2025 16:40:13 +0200 Subject: [PATCH] change video codec from vp8 to h264 --- src/livekit/options.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/livekit/options.ts b/src/livekit/options.ts index 1d4cad77..8210f8a8 100644 --- a/src/livekit/options.ts +++ b/src/livekit/options.ts @@ -26,9 +26,9 @@ const defaultLiveKitPublishOptions: TrackPublishDefaults = { videoSimulcastLayers: [VideoPresets.h180, VideoPresets.h360] as VideoPreset[], screenShareEncoding: ScreenSharePresets.h1080fps30.encoding, stopMicTrackOnMute: false, - videoCodec: "vp8", + videoCodec: "h264", videoEncoding: VideoPresets.h720.encoding, - backupCodec: { codec: "vp8", encoding: VideoPresets.h720.encoding }, + backupCodec: { codec: "h264", encoding: VideoPresets.h720.encoding }, } as const; export const defaultLiveKitOptions: RoomOptions = {