File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ let jitsiAuth: string;
46
46
let roomId : string ;
47
47
let openIdToken : IOpenIDCredentials ;
48
48
let roomName : string ;
49
+ let startAudioOnly : boolean ;
49
50
50
51
let widgetApi : WidgetApi ;
51
52
let meetApi : any ; // JitsiMeetExternalAPI
@@ -107,6 +108,7 @@ let meetApi: any; // JitsiMeetExternalAPI
107
108
jitsiAuth = qsParam ( 'auth' , true ) ;
108
109
roomId = qsParam ( 'roomId' , true ) ;
109
110
roomName = qsParam ( 'roomName' , true ) ;
111
+ startAudioOnly = qsParam ( 'isAudioOnly' , true ) === "true" ;
110
112
111
113
if ( widgetApi ) {
112
114
await readyPromise ;
@@ -238,6 +240,9 @@ function joinConference() { // event handler bound in HTML
238
240
MAIN_TOOLBAR_BUTTONS : [ ] ,
239
241
VIDEO_LAYOUT_FIT : "height" ,
240
242
} ,
243
+ configOverwrite : {
244
+ startAudioOnly,
245
+ } ,
241
246
jwt : jwt ,
242
247
} ;
243
248
You can’t perform that action at this time.
0 commit comments