Enum TransmissionStats.BroadcastQuality

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TransmissionStats.BroadcastQuality>
    Enclosing class:
    TransmissionStats

    public static enum TransmissionStats.BroadcastQuality
    extends java.lang.Enum<TransmissionStats.BroadcastQuality>
    BroadcastQuality represents the quality of the stream based on the bitrate minimum and maximum provided on session configuration. NEAR_MINIMUM means the stream is near the lowest possible quality (the configured minimum bitrate), or streaming is not possible at all. NEAR_MAXIMUM means the bitrate is near the maximum allowed (the configured maximum bitrate). If the video configuration looks like: initial bitrate = 1000 kbps minimum bitrate = 300 kbps maximum bitrate = 5,000 kbps It will be expected that a NEAR_MINIMUM quality is provided to this callback initially, since the initial bitrate is much closer to the minimum allowed bitrate than the maximum. If network conditions are good, the quality should improve over time towards NEAR_MAXIMUM.
    • Method Detail

      • values

        public static TransmissionStats.BroadcastQuality[] 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 (TransmissionStats.BroadcastQuality c : TransmissionStats.BroadcastQuality.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TransmissionStats.BroadcastQuality 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