LivestreamOutput

class LivestreamOutput(var url: String, var streamKey: String)

One RTMP destination for Room.startLivestream. Pass one per platform you want to stream to.

Neither field is validated by the SDK — a wrong URL or key fails server-side, and the failure reaches you on RoomEventListener.onError.

Constructors

Link copied to clipboard
constructor(url: String, streamKey: String)

Properties

Link copied to clipboard

The stream key that URL authenticates with.

Link copied to clipboard
var url: String

The destination's RTMP ingest URL, such as rtmp://a.rtmp.youtube.com/live2.