Enum ChannelType
- All Implemented Interfaces:
Serializable,Comparable<ChannelType>,java.lang.constant.Constable
If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately.
Example:
Channel myChannel = Channel.Builder.create(this, "myChannel")
.type(ChannelType.ADVANCED_HD)
.preset(Preset.CONSTRAINED_BANDWIDTH_DELIVERY)
.build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription(experimental) Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions.(experimental) Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions.(experimental) Delivers the original input to viewers.(experimental) Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelTypeReturns the enum constant of this type with the specified name.static ChannelType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STANDARD
(experimental) Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions.Transcoding allows higher playback quality across a range of download speeds. Resolution can be up to 1080p and bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio is passed through.
-
BASIC
(experimental) Delivers the original input to viewers.The viewer’s video-quality choice is limited to the original input.
-
ADVANCED_SD
(experimental) Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions.Input resolution can be up to 1080p and bitrate can be up to 8.5 Mbps; output is capped at SD quality (480p). Audio for all renditions is transcoded, and an audio-only rendition is available.
-
ADVANCED_HD
(experimental) Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions.Input resolution can be up to 1080p and bitrate can be up to 8.5 Mbps; output is capped at HD quality (720p). Audio for all renditions is transcoded, and an audio-only rendition is available.
-
-
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
-