Fix screen-sharing on Chrome

- Disable temporal layers
- Make 30 fps screen-sharing
This commit is contained in:
Daniel Abramov 2023-07-07 12:38:37 +01:00
parent 008d22a2a0
commit 19a2494b9b

View file

@ -16,10 +16,6 @@ const defaultLiveKitPublishOptions: TrackPublishDefaults = {
simulcast: true,
videoSimulcastLayers: [VideoPresets.h180, VideoPresets.h216] as VideoPreset[],
screenShareEncoding: ScreenSharePresets.h1080fps30.encoding,
screenShareSimulcastLayers: [
new VideoPreset(1920, 1080, 1_500_000, 5, "medium"),
ScreenSharePresets.h1080fps15,
] as VideoPreset[],
stopMicTrackOnMute: false,
videoCodec: "vp8",
videoEncoding: VideoPresets.h360.encoding,