on Stream Paused
Called when a media stream from this participant is paused.
This is triggered when the subscription manager is enabled and it pauses the stream due to network conditions.
Code Example:
override fun onStreamPaused(kind: String, reason: String) {
Log.d("Participant", "Stream paused: $kind, reason: $reason")
}
Content copied to clipboard
Parameters
kind
the kind of stream that was paused: "video", "audio", or "share"
reason
the reason the stream was paused