Enum BandwidthProfileMode

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • COLLABORATION

        public static final BandwidthProfileMode COLLABORATION
        This mode is for use cases where some 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).
      • GRID

        public static final BandwidthProfileMode GRID
        This mode is for use cases where all the subscribed RemoteVideoTrack(s) are equally important. The bandwidth allocation algorithm will share the available downlink bandwidth equally among the subscribed RemoteVideoTrack(s).
      • PRESENTATION

        public static final BandwidthProfileMode 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). 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).
    • Method Detail

      • values

        public static BandwidthProfileMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BandwidthProfileMode c : BandwidthProfileMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BandwidthProfileMode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null