LivestreamOutput

Represents a livestream output destination for RTMP streaming.

Create instances of this class to specify where the meeting should be livestreamed. Pass a list of LivestreamOutput objects to startLivestream.

Code Example:


val outputs = mutableListOf<LivestreamOutput>()
outputs.add(LivestreamOutput(
    "rtmp://a.rtmp.youtube.com/live2", // RTMP URL
    "xxxx-xxxx-xxxx"                   // stream key
))
outputs.add(LivestreamOutput(
    "rtmp://live.twitch.tv/app",       // RTMP URL
    "live_xxxxxxxx"                    // stream key
))
meeting.startLivestream(outputs)

See also

Meeting.startLivestream()

Constructors

Link copied to clipboard
constructor(url: String, streamKey: String)
Creates a new livestream output destination.

Properties

Link copied to clipboard
The stream key for authentication with the livestream destination.
Link copied to clipboard
var url: String
The RTMP URL of the livestream destination.