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;
4646let roomId : string ;
4747let openIdToken : IOpenIDCredentials ;
4848let roomName : string ;
49+ let startAudioOnly : boolean ;
4950
5051let widgetApi : WidgetApi ;
5152let meetApi : any ; // JitsiMeetExternalAPI
@@ -107,6 +108,7 @@ let meetApi: any; // JitsiMeetExternalAPI
107108 jitsiAuth = qsParam ( 'auth' , true ) ;
108109 roomId = qsParam ( 'roomId' , true ) ;
109110 roomName = qsParam ( 'roomName' , true ) ;
111+ startAudioOnly = qsParam ( 'isAudioOnly' , true ) === "true" ;
110112
111113 if ( widgetApi ) {
112114 await readyPromise ;
@@ -238,6 +240,9 @@ function joinConference() { // event handler bound in HTML
238240 MAIN_TOOLBAR_BUTTONS : [ ] ,
239241 VIDEO_LAYOUT_FIT : "height" ,
240242 } ,
243+ configOverwrite : {
244+ startAudioOnly,
245+ } ,
241246 jwt : jwt ,
242247 } ;
243248
You can’t perform that action at this time.
0 commit comments