Package com.twilio.video
Enum Class BandwidthProfileMode
- All Implemented Interfaces:
Serializable
,Comparable<BandwidthProfileMode>
,Constable
BandwidthProfileMode specifies how
RemoteVideoTrack
(s) TrackPriority
values are
mapped to bandwidth allocation in Group Rooms.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis mode is for use cases where someRemoteVideoTrack
(s) are more prioritized over others.This mode is for use cases where all the subscribedRemoteVideoTrack
(s) are equally important.This mode is for use cases where someRemoteVideoTrack
(s) are deemed critical and must be preserved at any cost over the otherRemoteVideoTrack
(s). -
Method Summary
Modifier and TypeMethodDescriptionstatic BandwidthProfileMode
Returns the enum constant of this class with the specified name.static BandwidthProfileMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COLLABORATION
This mode is for use cases where someRemoteVideoTrack
(s) are more prioritized over others. However, the lower priorityRemoteVideoTrack
(s) still need to be visible. The bandwidth allocation algorithm will distribute the available downlink bandwidth proportional to the requested renderVideoDimensions
. In case of low downlink bandwidth, the quality of higher priorityRemoteVideoTrack
(s) may be degraded to avoid switching off lower priorityRemoteVideoTrack
(s). -
GRID
This mode is for use cases where all the subscribedRemoteVideoTrack
(s) are equally important. The bandwidth allocation algorithm will share the available downlink bandwidth equally among the subscribedRemoteVideoTrack
(s). -
PRESENTATION
This mode is for use cases where someRemoteVideoTrack
(s) are deemed critical and must be preserved at any cost over the otherRemoteVideoTrack
(s). The bandwidth allocation algorithm will allocate as big a share of the available downlink bandwidth as it possibly can to the higher priorityRemoteVideoTrack
(s), and only then consider the lower priorityRemoteVideoTrack
(s). In case of low downlink bandwidth, the lower priorityRemoteVideoTrack
(s) are switched off in order to preserve the quality of the higher priorityRemoteVideoTrack
(s).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-