Enum ChannelType

java.lang.Object
java.lang.Enum<ChannelType>
software.amazon.awscdk.services.ivs.alpha.ChannelType
All Implemented Interfaces:
Serializable, Comparable<ChannelType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-14T18:32:21.279Z") @Stability(Experimental) public enum ChannelType extends Enum<ChannelType>
(experimental) The channel type, which determines the allowable resolution and bitrate.

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 Constants
    Enum Constant
    Description
    (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 Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    static ChannelType[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

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

    • STANDARD

      @Stability(Experimental) public static final ChannelType 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

      @Stability(Experimental) public static final ChannelType BASIC
      (experimental) Delivers the original input to viewers.

      The viewer’s video-quality choice is limited to the original input.

    • ADVANCED_SD

      @Stability(Experimental) public static final ChannelType 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

      @Stability(Experimental) public static final ChannelType 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

      public static ChannelType[] 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

      public static ChannelType valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null