Skip to main content
Version: 0.3.x

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 to true when meeting gets started.

playerControlsVisible

  • type: Boolean

  • hls.playerControlsVisible : If it is true then participant can view controls for the interactive meeting player.

theme

  • type: String

  • hls.theme represents the hls theme which can be DARK , LIGHT or DEFAULT.

toggleParticipantMode

  • type: Boolean

  • toggleParticipantMode represents whether participant can toggle other participant's mode or not.

toggleHLS

  • type: Boolean

  • toggleHLS if set to true you can toggle Start HLS Button.

mode

  • type: String

  • mode represents the mode of participant which can be VIEWER | CONFERENCE

note

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