on Media Relay Request Received
fun onMediaRelayRequestReceived(participantId: String, liveStreamId: String, displayName: String, listener: RelayRequestListener)
Called when a media relay request is received from another meeting.
Use the provided RelayRequestListener to accept or reject the relay request.
Code Example:
override fun onMediaRelayRequestReceived(participantId: String, liveStreamId: String,
displayName: String, listener: RelayRequestListener) {
// Show UI to accept/reject relay request
listener.accept() // or listener.reject()
}
Content copied to clipboard
Parameters
participant Id
the ID of the participant requesting the relay
live Stream Id
the livestream ID associated with the relay
display Name
the display name of the requester
listener
the RelayRequestListener to accept or reject the request
See also
Meeting.requestMediaRelay()