Package com.twilio.video
Class VideoBandwidthProfileOptions
java.lang.Object
com.twilio.video.VideoBandwidthProfileOptions
VideoBandwidthProfileOptions enables you to configure how available bandwidth is shared among the
RemoteVideoTrack
(s) in a Group Room.- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the client track switch off mode specified byVideoBandwidthProfileOptions.Builder.clientTrackSwitchOffControl(ClientTrackSwitchOffControl)
.Get the dominant speaker priority specified byVideoBandwidthProfileOptions.Builder.dominantSpeakerPriority(TrackPriority)
.Get the max subscription bitrate in Kilobits per second (Kbps) specified byVideoBandwidthProfileOptions.Builder.maxSubscriptionBitrate(Long)
.Get the max tracks specified byVideoBandwidthProfileOptions.Builder.maxTracks(Long)
(long)}.getMode()
Get the bandwidth profile mode specified byVideoBandwidthProfileOptions.Builder.trackSwitchOffMode(TrackSwitchOffMode)
.Get the render dimensions specified byVideoBandwidthProfileOptions.Builder.renderDimensions(Map)
.Get the track switch off mode specified byVideoBandwidthProfileOptions.Builder.trackSwitchOffMode(TrackSwitchOffMode)
.Get the video content preferences mode specified byVideoBandwidthProfileOptions.Builder.videoContentPreferencesMode(VideoContentPreferencesMode)
.int
hashCode()
-
Method Details
-
getDominantSpeakerPriority
Get the dominant speaker priority specified byVideoBandwidthProfileOptions.Builder.dominantSpeakerPriority(TrackPriority)
. This property isnull
by default and can be set tonull
viaVideoBandwidthProfileOptions.Builder.dominantSpeakerPriority(TrackPriority)
. Anull
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 viaConnectOptions.Builder.enableDominantSpeaker(boolean)
. -
getMaxSubscriptionBitrate
Get the max subscription bitrate in Kilobits per second (Kbps) specified byVideoBandwidthProfileOptions.Builder.maxSubscriptionBitrate(Long)
.This property is 2400 Kbps by default. This property is allowed to be
null
if specified inVideoBandwidthProfileOptions.Builder.maxSubscriptionBitrate(Long)
. Providingnull
allows the maximum downlink video bandwidth for aRoom
. -
getMaxTracks
Get the max tracks specified byVideoBandwidthProfileOptions.Builder.maxTracks(Long)
(long)}. This property isnull
by default and can be set tonull
viaVideoBandwidthProfileOptions.Builder.maxTracks(Long)
. Anull
value results in no limits on the number of visibleRemoteVideoTrack
s. -
getMode
Get the bandwidth profile mode specified byVideoBandwidthProfileOptions.Builder.trackSwitchOffMode(TrackSwitchOffMode)
. This property isnull
by default and can be set tonull
viaVideoBandwidthProfileOptions.Builder.mode(BandwidthProfileMode)
. Anull
value results in the Twilio Media Server selecting the mode. -
getRenderDimensions
Get the render dimensions specified byVideoBandwidthProfileOptions.Builder.renderDimensions(Map)
. This property is an emptyMap
by default. -
getTrackSwitchOffMode
Get the track switch off mode specified byVideoBandwidthProfileOptions.Builder.trackSwitchOffMode(TrackSwitchOffMode)
. This property isnull
by default and can be set tonull
viaVideoBandwidthProfileOptions.Builder.trackSwitchOffMode(TrackSwitchOffMode)
. Anull
value results in the Twilio Media Server selecting the track switch off mode. -
getClientTrackSwitchOffControl
Get the client track switch off mode specified byVideoBandwidthProfileOptions.Builder.clientTrackSwitchOffControl(ClientTrackSwitchOffControl)
. This property isnull
by default and can be set tonull
viaVideoBandwidthProfileOptions.Builder.clientTrackSwitchOffControl(ClientTrackSwitchOffControl)
. Anull
value results in automatically selectingClientTrackSwitchOffControl.AUTO
. -
getVideoContentPreferencesMode
Get the video content preferences mode specified byVideoBandwidthProfileOptions.Builder.videoContentPreferencesMode(VideoContentPreferencesMode)
. This property isnull
by default and can be set tonull
viaVideoBandwidthProfileOptions.Builder.videoContentPreferencesMode(VideoContentPreferencesMode)
. Anull
value results in automatically selectingVideoContentPreferencesMode.AUTO
. -
equals
-
hashCode
public int hashCode()
-