mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
Clean up: deduplicate settings UI, fix backupCodec, remove dead export
Signed-off-by: Ryan Emmick <ryanemmick4@gmail.com>
This commit is contained in:
@@ -108,7 +108,10 @@ function buildPublishOptions(
|
||||
stopMicTrackOnMute: false,
|
||||
videoCodec: codec,
|
||||
videoEncoding,
|
||||
backupCodec: { codec: "vp8", encoding: videoEncoding },
|
||||
backupCodec: {
|
||||
codec: "vp8",
|
||||
encoding: VideoPresets.h720.encoding,
|
||||
},
|
||||
} as TrackPublishDefaults;
|
||||
}
|
||||
|
||||
@@ -156,6 +159,3 @@ export function getLiveKitOptions(): RoomOptions {
|
||||
return buildLiveKitOptions();
|
||||
}
|
||||
}
|
||||
|
||||
// Keep backward-compatible export for existing consumers
|
||||
export const defaultLiveKitOptions: RoomOptions = buildLiveKitOptions();
|
||||
|
||||
Reference in New Issue
Block a user