Package com.castlabs.sdk.conviva
Enum ConvivaPlugin.BitrateReporting
java.lang.Object
java.lang.Enum<ConvivaPlugin.BitrateReporting>
com.castlabs.sdk.conviva.ConvivaPlugin.BitrateReporting
- All Implemented Interfaces:
Serializable,Comparable<ConvivaPlugin.BitrateReporting>
- Enclosing class:
ConvivaPlugin
Selects the tracks contributing to normal and average Conviva bitrate metrics.
The default is
VIDEO_AUDIO.
Normal bitrate is reported only when positive. Average bitrate is reported only when it changes, starting from a cached value of zero; an initial zero is not sent.
Ad bitrate combines audio and video and cannot be separated. It is reported in
full for VIDEO_AUDIO and VIDEO_ONLY, and suppressed for
AUDIO_ONLY and NOTHING.
- Since:
- 5.0.2
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInclude only audio bitrate for content, and suppress ad bitrate.Exclude both tracks from content bitrate, and suppress ad bitrate.Include both video and audio bitrate.Include only video bitrate for content, and combined bitrate for ads. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static ConvivaPlugin.BitrateReporting[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VIDEO_AUDIO
Include both video and audio bitrate. -
VIDEO_ONLY
Include only video bitrate for content, and combined bitrate for ads. -
AUDIO_ONLY
Include only audio bitrate for content, and suppress ad bitrate. -
NOTHING
Exclude both tracks from content bitrate, and suppress ad bitrate.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-