Add hideControls url param for screen recordings. (#1808)

---------

Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
Timo
2023-10-26 19:33:59 +02:00
committed by GitHub
parent e2c6a3eda6
commit 58ee31d383
3 changed files with 28 additions and 5 deletions

View File

@@ -62,6 +62,10 @@ interface UrlParams {
* Whether to hide the room header when in a call.
*/
hideHeader: boolean;
/**
* Whether the controls should be shown. For screen recording no controls can be desired.
*/
showControls: boolean;
/**
* Whether to hide the screen-sharing button.
*/
@@ -201,6 +205,7 @@ export const getUrlParams = (
appPrompt: parser.getFlagParam("appPrompt", true),
preload: parser.getFlagParam("preload"),
hideHeader: parser.getFlagParam("hideHeader"),
showControls: parser.getFlagParam("showControls"),
hideScreensharing: parser.getFlagParam("hideScreensharing"),
e2eEnabled: parser.getFlagParam("enableE2e", true),
userId: parser.getParam("userId"),