Enum Class ClientTrackSwitchOffControl

java.lang.Object
java.lang.Enum<ClientTrackSwitchOffControl>
com.twilio.video.ClientTrackSwitchOffControl
All Implemented Interfaces:
Serializable, Comparable<ClientTrackSwitchOffControl>, Constable

public enum ClientTrackSwitchOffControl extends Enum<ClientTrackSwitchOffControl>
Configures the mode for switching off/on subscribed RemoteVideoTracks based on the subscriber's rendering environment. Switching off a RemoteVideoTrack means no media is sent by the media server to the client for that track even though it has been subscribed to by the client. This feature helps in conserving network bandwidth and CPU resources by avoiding unnecessary transmission and decoding of remote tracks. This feature supersedes the `maxTracks` parameter. Attempting to set `clientTrackSwitchOffControl` when `maxTracks` is already set will throw an exception.