HLS Feature Parameter - Prebuilt
hls
- type:
object
enabled
-
type:
Boolean
-
hls.enabled
enables participant for hls.
autostart
-
type:
Boolean
-
hls.autostart
autostart hls if set totrue
when meeting gets started.
playerControlsVisible
-
type:
Boolean
-
hls.playerControlsVisible
: If it istrue
then participant can view controls for the interactive meeting player.
theme
-
type:
String
-
hls.theme
represents the hls theme which can beDARK
,LIGHT
orDEFAULT
.
toggleParticipantMode
-
type:
Boolean
-
toggleParticipantMode
represents whether participant can toggle other participant's mode or not.
toggleHLS
-
type:
Boolean
-
toggleHLS
if set totrue
you can toggleStart HLS
Button.
mode
-
type:
String
-
mode
represents the mode of participant which can beVIEWER
|CONFERENCE
hls.playerControlsVisible
parameter will only work if the mode is set to viewer
, for conference
mode there will not be any interactive meeting player hence hls.playerControlsVisible
will be ignored if mode is set to conference
.
meeting.init({
//other params
hls: {
enabled: true,
autoStart: false,
theme: "DARK" // DARK | LIGHT | DEFAULT
playerControlsVisible: true,
},
permissions: {
// ...other permissions
toggleParticipantMode: true,
toggleHls: true,
},
mode: "CONFERENCE", // VIEWER || CONFERENCE
//other params
});
Got a Question? Ask us on discord