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
parent 0880faf312
commit 3220d06616
6 changed files with 41 additions and 14 deletions

View File

@@ -33,7 +33,6 @@ import { ErrorView } from "./FullScreenView";
import {
initClient,
CryptoStoreIntegrityError,
fallbackICEServerAllowed,
} from "./matrix-utils";
import { widget } from "./widget";
import { PosthogAnalytics, RegistrationType } from "./PosthogAnalytics";
@@ -143,7 +142,6 @@ export const ClientProvider: FC<Props> = ({ children }) => {
accessToken: access_token,
userId: user_id,
deviceId: device_id,
fallbackICEServerAllowed: fallbackICEServerAllowed,
},
true
),
@@ -159,7 +157,6 @@ export const ClientProvider: FC<Props> = ({ children }) => {
accessToken: access_token,
userId: user_id,
deviceId: device_id,
fallbackICEServerAllowed: fallbackICEServerAllowed,
},
false // Don't need the crypto store just to log out
);