trying different resolutions

This commit is contained in:
fkwp
2025-06-18 21:12:12 +02:00
parent 9a38c235c1
commit e74f168a4e

View File

@@ -19,7 +19,7 @@ const VideoPresetsH264 = {
h144: new VideoPreset(176, 144, 120_000, 20),
h240: new VideoPreset(320, 240, 120_000, 20),
h176: new VideoPreset(320, 176, 160_000, 20),
h288: new VideoPreset(512, 288, 180_000, 20),
h288: new VideoPreset(382, 288, 180_000, 20),
h360: VideoPresets.h360,
} as const;
@@ -32,14 +32,13 @@ const defaultLiveKitPublishOptions: TrackPublishDefaults = {
forceStereo: false,
simulcast: true,
videoSimulcastLayers: [
VideoPresetsH264.h240,
VideoPresetsH264.h360,
] as VideoPreset[],
screenShareEncoding: ScreenSharePresets.h1080fps30.encoding,
stopMicTrackOnMute: false,
videoCodec: "h264",
videoEncoding: VideoPresets.h720.encoding,
backupCodec: { codec: "h264", encoding: VideoPresets.h720.encoding },
backupCodec: { codec: "vp8", encoding: VideoPresets.h720.encoding },
} as const;
export const defaultLiveKitOptions: RoomOptions = {