Package com.twilio.video
Class VideoBandwidthProfileOptions
- java.lang.Object
-
- com.twilio.video.VideoBandwidthProfileOptions
-
public class VideoBandwidthProfileOptions extends java.lang.Object
VideoBandwidthProfileOptions enables you to configure how available bandwidth is shared among theRemoteVideoTrack
(s) in a Group Room.- See Also:
- Using Bandwidth Profile API
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VideoBandwidthProfileOptions.Builder
Builder class forVideoBandwidthProfileOptions
.
-
Method Summary
-
-
-
Method Detail
-
getDominantSpeakerPriority
@Nullable public TrackPriority 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
@Nullable public java.lang.Long 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
@Nullable public java.lang.Long 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
@Nullable public BandwidthProfileMode 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
@NonNull public java.util.Map<TrackPriority,VideoDimensions> getRenderDimensions()
Get the render dimensions specified byVideoBandwidthProfileOptions.Builder.renderDimensions(Map)
. This property is an emptyMap
by default.
-
getTrackSwitchOffMode
@Nullable public TrackSwitchOffMode 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
@Nullable public ClientTrackSwitchOffControl 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
@Nullable public VideoContentPreferencesMode 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
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-