mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
Merge pull request #3736 from emmick4/livekit
feat: advanced media quality settings UI and config-driven defaults
This commit is contained in:
@@ -21,6 +21,7 @@ import type { IWidgetApiRequest } from "matrix-widget-api";
|
||||
import { LazyEventEmitter } from "./LazyEventEmitter";
|
||||
import { getUrlParams } from "./UrlParams";
|
||||
import { Config } from "./config/Config";
|
||||
import { seedSettingsFromConfig } from "./settings/settings";
|
||||
import { ElementCallReactionEventType } from "./reactions";
|
||||
|
||||
// Subset of the actions in element-web
|
||||
@@ -196,6 +197,7 @@ export const initializeWidget = (
|
||||
// Wait for the config file to be ready (we load very early on so it might not
|
||||
// be otherwise)
|
||||
await Config.init();
|
||||
seedSettingsFromConfig(Config.get().media_quality);
|
||||
await client.startClient({ clientWellKnownPollPeriod: 60 * 10 });
|
||||
return client;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user