Package com.twilio.video
Class VideoBandwidthProfileOptions
- java.lang.Object
-
- com.twilio.video.VideoBandwidthProfileOptions
-
public class VideoBandwidthProfileOptions extends java.lang.ObjectVideoBandwidthProfileOptions 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 classVideoBandwidthProfileOptions.BuilderBuilder class forVideoBandwidthProfileOptions.
-
Method Summary
-
-
-
Method Detail
-
getDominantSpeakerPriority
@Nullable public TrackPriority getDominantSpeakerPriority()
Get the dominant speaker priority specified byVideoBandwidthProfileOptions.Builder.dominantSpeakerPriority(TrackPriority). This property isnullby default and can be set tonullviaVideoBandwidthProfileOptions.Builder.dominantSpeakerPriority(TrackPriority). Anullvalue 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
nullif specified inVideoBandwidthProfileOptions.Builder.maxSubscriptionBitrate(Long). Providingnullallows 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 isnullby default and can be set tonullviaVideoBandwidthProfileOptions.Builder.maxTracks(Long). Anullvalue results in no limits on the number of visibleRemoteVideoTracks.
-
getMode
@Nullable public BandwidthProfileMode getMode()
Get the bandwidth profile mode specified byVideoBandwidthProfileOptions.Builder.trackSwitchOffMode(TrackSwitchOffMode). This property isnullby default and can be set tonullviaVideoBandwidthProfileOptions.Builder.mode(BandwidthProfileMode). Anullvalue 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 emptyMapby default.
-
getTrackSwitchOffMode
@Nullable public TrackSwitchOffMode getTrackSwitchOffMode()
Get the track switch off mode specified byVideoBandwidthProfileOptions.Builder.trackSwitchOffMode(TrackSwitchOffMode). This property isnullby default and can be set tonullviaVideoBandwidthProfileOptions.Builder.trackSwitchOffMode(TrackSwitchOffMode). Anullvalue 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 isnullby default and can be set tonullviaVideoBandwidthProfileOptions.Builder.clientTrackSwitchOffControl(ClientTrackSwitchOffControl). Anullvalue results in automatically selectingClientTrackSwitchOffControl.AUTO.
-
getVideoContentPreferencesMode
@Nullable public VideoContentPreferencesMode getVideoContentPreferencesMode()
Get the video content preferences mode specified byVideoBandwidthProfileOptions.Builder.videoContentPreferencesMode(VideoContentPreferencesMode). This property isnullby default and can be set tonullviaVideoBandwidthProfileOptions.Builder.videoContentPreferencesMode(VideoContentPreferencesMode). Anullvalue results in automatically selectingVideoContentPreferencesMode.AUTO.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-