mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
trying different resolutions
This commit is contained in:
@@ -19,7 +19,7 @@ const VideoPresetsH264 = {
|
|||||||
h144: new VideoPreset(176, 144, 120_000, 20),
|
h144: new VideoPreset(176, 144, 120_000, 20),
|
||||||
h240: new VideoPreset(320, 240, 120_000, 20),
|
h240: new VideoPreset(320, 240, 120_000, 20),
|
||||||
h176: new VideoPreset(320, 176, 160_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,
|
h360: VideoPresets.h360,
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
@@ -32,14 +32,13 @@ const defaultLiveKitPublishOptions: TrackPublishDefaults = {
|
|||||||
forceStereo: false,
|
forceStereo: false,
|
||||||
simulcast: true,
|
simulcast: true,
|
||||||
videoSimulcastLayers: [
|
videoSimulcastLayers: [
|
||||||
VideoPresetsH264.h240,
|
|
||||||
VideoPresetsH264.h360,
|
VideoPresetsH264.h360,
|
||||||
] as VideoPreset[],
|
] as VideoPreset[],
|
||||||
screenShareEncoding: ScreenSharePresets.h1080fps30.encoding,
|
screenShareEncoding: ScreenSharePresets.h1080fps30.encoding,
|
||||||
stopMicTrackOnMute: false,
|
stopMicTrackOnMute: false,
|
||||||
videoCodec: "h264",
|
videoCodec: "h264",
|
||||||
videoEncoding: VideoPresets.h720.encoding,
|
videoEncoding: VideoPresets.h720.encoding,
|
||||||
backupCodec: { codec: "h264", encoding: VideoPresets.h720.encoding },
|
backupCodec: { codec: "vp8", encoding: VideoPresets.h720.encoding },
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export const defaultLiveKitOptions: RoomOptions = {
|
export const defaultLiveKitOptions: RoomOptions = {
|
||||||
|
|||||||
Reference in New Issue
Block a user