LiveStream Parameters - Prebuilt
livestream
- type:
object
enabled
-
type:
Boolean
-
livestream.enabled
enables participant for live streaming.
autostart
-
type:
Boolean
-
livestream.autostart
autostart live streaming if set totrue
when meeting gets started.
theme
-
type:
String
-
livestream.theme
represents the theme of live streaming which can beDARK
,LIGHT
orDEFAULT
.
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