Support for SFUs

Mostly just using the right js-sdk, then adding temporary config for
which SFU to use until we can get it from the homeserver.
This commit is contained in:
David Baker 2022-12-21 18:01:58 +00:00
commit 3220d06616
6 changed files with 41 additions and 14 deletions

View file

@ -28,6 +28,15 @@ export interface ConfigOptions {
server_name: string;
};
};
/**
* Sets the client's preferred SFU
* TEMPORARY: Will be removed in favour of getting SFUs from the homeserver
*/
temp_sfu?: {
user_id: string;
device_id: string;
};
}
// Overrides members from ConfigOptions that are always provided by the