holdVideo

abstract fun holdVideo(call: WebRTCCall?, publisherId: String?, sharing: Boolean)

Hold the subscribed video from the given participant id in order to reduce data consumption (can be useful when a video is not displayed any more). This is far more efficient than just using unsubscribeToVideo/subscribeToVideo.

Parameters

call

: WebRTCCall the call to hold the video on

publisherId

String the participant id from whom video should be held

sharing

: Boolean is sharing