start Livestream
This method can be used to start RTMP livestreaming of the meeting to the specified outputs.
Events:
onLivestreamStateChanged— emitted when the livestream state changesonLivestreamStarted— emitted when the livestream has started
Code Example:
val outputs = mutableListOf<LivestreamOutput>()
outputs.add(LivestreamOutput(
"rtmp://example.com/live", // RTMP URL
"streamKey" // stream key
))
meeting.startLivestream(outputs, null) // null config = use defaults
Content copied to clipboard
Parameters
outputs
the list of LivestreamOutput destinations for the RTMP stream
config
Additional livestream configuration as a JSONObject, or null.