LiveStream Parameters - Prebuilt
livestream
- type: 
object 
enabled
- 
type:
Boolean - 
livestream.enabledenables participant for live streaming. 
autostart
- 
type:
Boolean - 
livestream.autostartautostart live streaming if set totruewhen meeting gets started. 
theme
- 
type:
String - 
livestream.themerepresents the theme of live streaming which can beDARK,LIGHTorDEFAULT. 
outputs
- 
type:
json object array - 
{streamKey,url}
- 
type:
{ url: String, streamKey: String }[] - 
here you have to mention your streamKey and url of live streaming platform.
 
 - 
 
meeting.init({
  //other params
  livestream: {
    enabled: true,
    autoStart: true,
    theme: "DARK" // DARK | LIGHT | DEFAULT
    outputs: [
      {
        url: "rtmp://x.rtmp.youtube.com/live2",
        streamKey: "dmkp-2x3k-ksxk-6rrg-f73b",
      },
    ],
  },
  //other params
});
Got a Question? Ask us on discord

