HLS Feature Parameter - Prebuilt
hls
- type:
object
enabled
-
type:
Boolean -
hls.enabledenables participant for hls.
autostart
-
type:
Boolean -
hls.autostartautostart hls if set totruewhen meeting gets started.
playerControlsVisible
-
type:
Boolean -
hls.playerControlsVisible: If it istruethen participant can view controls for the interactive meeting player.
theme
-
type:
String -
hls.themerepresents the hls theme which can beDARK,LIGHTorDEFAULT.
toggleParticipantMode
-
type:
Boolean -
toggleParticipantModerepresents whether participant can toggle other participant's mode or not.
toggleHLS
-
type:
Boolean -
toggleHLSif set totrueyou can toggleStart HLSButton.
mode
-
type:
String -
moderepresents 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

