setActive

fun setActive(isActive: Boolean)

Set active state

Set the active state of the view. When active, the view will render video; when inactive, it will stop rendering to save resources.

Parameters

isActive

Whether active