onStreamResumed

fun onStreamResumed(kind: String, reason: String)

Called when a previously paused media stream from this participant is resumed.

This is triggered when the subscription manager is enabled and it resumes the stream as network conditions improve.

Code Example:


override fun onStreamResumed(kind: String, reason: String) {
    Log.d("Participant", "Stream resumed: $kind, reason: $reason")
}

Parameters

kind

the kind of stream that was resumed: "video", "audio", or "share"

reason

the reason the stream was resumed

See also