public enum BandwidthProfileMode extends java.lang.Enum<BandwidthProfileMode>
RemoteVideoTrack
(s) TrackPriority
values are
mapped to bandwidth allocation in Group Rooms.Enum Constant and Description |
---|
COLLABORATION
This mode is for use cases where some
RemoteVideoTrack (s) are more prioritized over
others. |
GRID
This mode is for use cases where all the subscribed
RemoteVideoTrack (s) are equally
important. |
PRESENTATION
This mode is for use cases where some
RemoteVideoTrack (s) are deemed critical and
must be preserved at any cost over the other RemoteVideoTrack (s). |
Modifier and Type | Method and Description |
---|---|
static BandwidthProfileMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BandwidthProfileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BandwidthProfileMode COLLABORATION
RemoteVideoTrack
(s) are more prioritized over
others. However, the lower priority RemoteVideoTrack
(s) still need to be visible. The
bandwidth allocation algorithm will distribute the available downlink bandwidth proportional
to the requested render VideoDimensions
. In case of low downlink bandwidth, the
quality of higher priority RemoteVideoTrack
(s) may be degraded to avoid switching off
lower priority RemoteVideoTrack
(s).public static final BandwidthProfileMode GRID
RemoteVideoTrack
(s) are equally
important. The bandwidth allocation algorithm will share the available downlink bandwidth
equally among the subscribed RemoteVideoTrack
(s).public static final BandwidthProfileMode PRESENTATION
RemoteVideoTrack
(s) are deemed critical and
must be preserved at any cost over the other RemoteVideoTrack
(s). The bandwidth
allocation algorithm will allocate as big a share of the available downlink bandwidth as it
possibly can to the higher priority RemoteVideoTrack
(s), and only then consider the
lower priority RemoteVideoTrack
(s). In case of low downlink bandwidth, the lower
priority RemoteVideoTrack
(s) are switched off in order to preserve the quality of the
higher priority RemoteVideoTrack
(s).public static BandwidthProfileMode[] values()
for (BandwidthProfileMode c : BandwidthProfileMode.values()) System.out.println(c);
public static BandwidthProfileMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null6.0.0