setMediaId

fun setMediaId(mediaId: String)

Sets a new media ID for the agent. The media ID is the video ID or the live stream ID from api.video.

When the media ID is set, the agent will send events of the previous media ID and start sending events of the new media ID.

Parameters

mediaId

The media ID to set.