setEnabled

fun setEnabled(enabled: Boolean)

disable server from sending down data for this track

this is useful when the participant is off screen, you may disable streaming down their video to reduce bandwidth requirements

Sources

SDK source
Link copied to clipboard