hideScreensharing

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2022-10-14 16:17:50 +02:00
commit 96b1a5f296
No known key found for this signature in database
GPG key ID: D1D45825D60C24D2
2 changed files with 15 additions and 6 deletions

View file

@ -29,6 +29,8 @@ export interface UrlParams {
preload: boolean;
// Whether to hide the room header when in a call
hideHeader: boolean;
// Whether to hide the screen-sharing button
hideScreensharing: boolean;
// Whether to start a walkie-talkie call instead of a video call
isPtt: boolean;
// Whether to use end-to-end encryption
@ -84,6 +86,7 @@ export const getUrlParams = (
isEmbedded: hasParam("embed"),
preload: hasParam("preload"),
hideHeader: hasParam("hideHeader"),
hideScreensharing: hasParam("hideScreensharing"),
isPtt: hasParam("ptt"),
e2eEnabled: getParam("enableE2e") !== "false", // Defaults to true
userId: getParam("userId"),