change vp8 to h264

This commit is contained in:
Timo 2024-07-31 12:44:18 +02:00
parent f53ea75c94
commit f7d3c3cfa4

View File

@ -35,7 +35,7 @@ const defaultLiveKitPublishOptions: TrackPublishDefaults = {
videoSimulcastLayers: [VideoPresets.h180, VideoPresets.h360] as VideoPreset[], videoSimulcastLayers: [VideoPresets.h180, VideoPresets.h360] as VideoPreset[],
screenShareEncoding: ScreenSharePresets.h1080fps30.encoding, screenShareEncoding: ScreenSharePresets.h1080fps30.encoding,
stopMicTrackOnMute: false, stopMicTrackOnMute: false,
videoCodec: "vp8", videoCodec: "h264",
videoEncoding: VideoPresets.h720.encoding, videoEncoding: VideoPresets.h720.encoding,
backupCodec: { codec: "vp8", encoding: VideoPresets.h720.encoding }, backupCodec: { codec: "vp8", encoding: VideoPresets.h720.encoding },
} as const; } as const;