public class VideoBandwidthProfileOptions
extends java.lang.Object
RemoteVideoTrack
(s) in a Group Room.Modifier and Type | Class and Description |
---|---|
static class |
VideoBandwidthProfileOptions.Builder
Builder class for
VideoBandwidthProfileOptions . |
@Nullable public TrackPriority getDominantSpeakerPriority()
VideoBandwidthProfileOptions.Builder.dominantSpeakerPriority(TrackPriority)
. This property is null
by default and
can be set to null
via VideoBandwidthProfileOptions.Builder.dominantSpeakerPriority(TrackPriority)
. A
null
value results in the Twilio Media Server selecting the Dominant Speaker's
priority. This property will only be enabled if the Dominant Speaker feature is enabled via
ConnectOptions.Builder.enableDominantSpeaker(boolean)
.@Nullable public java.lang.Long getMaxSubscriptionBitrate()
VideoBandwidthProfileOptions.Builder.maxSubscriptionBitrate(Long)
.
This property is 2400 Kbps by default. This property is allowed to be null
if
specified in VideoBandwidthProfileOptions.Builder.maxSubscriptionBitrate(Long)
. Providing null
allows the
maximum downlink video bandwidth for a Room
.
@Nullable public java.lang.Long getMaxTracks()
VideoBandwidthProfileOptions.Builder.maxTracks(Long)
(long)}. This property is
null
by default and can be set to null
via VideoBandwidthProfileOptions.Builder.maxTracks(Long)
. A
null
value results in no limits on the number of visible RemoteVideoTrack
s.@Nullable public BandwidthProfileMode getMode()
VideoBandwidthProfileOptions.Builder.trackSwitchOffMode(TrackSwitchOffMode)
. This property is null
by default and
can be set to null
via VideoBandwidthProfileOptions.Builder.mode(BandwidthProfileMode)
. A null
value results in the Twilio Media Server selecting the mode.@NonNull public java.util.Map<TrackPriority,VideoDimensions> getRenderDimensions()
VideoBandwidthProfileOptions.Builder.renderDimensions(Map)
. This property
is an empty Map
by default.@Nullable public TrackSwitchOffMode getTrackSwitchOffMode()
VideoBandwidthProfileOptions.Builder.trackSwitchOffMode(TrackSwitchOffMode)
. This property is null
by default and
can be set to null
via VideoBandwidthProfileOptions.Builder.trackSwitchOffMode(TrackSwitchOffMode)
. A
null
value results in the Twilio Media Server selecting the track switch off mode.@Nullable public ClientTrackSwitchOffControl getClientTrackSwitchOffControl()
VideoBandwidthProfileOptions.Builder.clientTrackSwitchOffControl(ClientTrackSwitchOffControl)
. This property is null
by default and can be set to null
via VideoBandwidthProfileOptions.Builder.clientTrackSwitchOffControl(ClientTrackSwitchOffControl)
. A null
value
results in automatically selecting ClientTrackSwitchOffControl.AUTO
.@Nullable public VideoContentPreferencesMode getVideoContentPreferencesMode()
VideoBandwidthProfileOptions.Builder.videoContentPreferencesMode(VideoContentPreferencesMode)
. This property is null
by default and can be set to null
via VideoBandwidthProfileOptions.Builder.videoContentPreferencesMode(VideoContentPreferencesMode)
. A null
value
results in automatically selecting VideoContentPreferencesMode.AUTO
.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
6.4.1