Interface ChannelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ChannelProps.Jsii$Proxy
Example:
Channel myChannel = Channel.Builder.create(this, "myChannel") .type(ChannelType.ADVANCED_HD) .preset(Preset.CONSTRAINED_BANDWIDTH_DELIVERY) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forChannelProps
static final class
An implementation forChannelProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelProps.Builder
builder()
default Boolean
(experimental) Whether the channel is authorized.default String
(experimental) A name for the channel.default ContainerFormat
(experimental) Indicates which content-packaging format is used (MPEG-TS or fMP4).default Boolean
(experimental) Whether the channel allows insecure RTMP ingest.default LatencyMode
(experimental) Channel latency mode.default MultitrackInputConfiguration
(experimental) Object specifying multitrack input configuration.default Preset
(experimental) An optional transcode preset for the channel.default IRecordingConfiguration
(experimental) A recording configuration for the channel.default ChannelType
getType()
(experimental) The channel type, which determines the allowable resolution and bitrate.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorized
(experimental) Whether the channel is authorized.If you wish to make an authorized channel, you will need to ensure that a PlaybackKeyPair has been uploaded to your account as this is used to validate the signed JWT that is required for authorization
Default: false
-
getChannelName
(experimental) A name for the channel.Default: Automatically generated name
-
getContainerFormat
(experimental) Indicates which content-packaging format is used (MPEG-TS or fMP4).If
multitrackInputConfiguration
is specified, only fMP4 can be used. Otherwise,containerFormat
may be set toContainerFormat.TS
orContainerFormat.FRAGMENTED_MP4
.Default: - `ContainerFormat.FRAGMENTED_MP4` is automatically set when the `multitrackInputConfiguration` is specified. If not specified, it remains undefined and uses the IVS default setting (TS).
-
getInsecureIngest
(experimental) Whether the channel allows insecure RTMP ingest.Default: false
-
getLatencyMode
(experimental) Channel latency mode.Default: LatencyMode.LOW
-
getMultitrackInputConfiguration
@Stability(Experimental) @Nullable default MultitrackInputConfiguration getMultitrackInputConfiguration()(experimental) Object specifying multitrack input configuration. You must specifymultitrackInputConfiguration
if you want to use MultiTrack Video.multitrackInputConfiguration
is only supported forChannelType.STANDARD
.Default: undefined - IVS default setting is not use MultiTrack Video.
- See Also:
-
getPreset
(experimental) An optional transcode preset for the channel.Can be used for ADVANCED_HD and ADVANCED_SD channel types. When LOW or STANDARD is used, the preset will be overridden and set to none regardless of the value provided.
Default: - Preset.HIGHER_BANDWIDTH_DELIVERY if channelType is ADVANCED_SD or ADVANCED_HD, none otherwise
-
getRecordingConfiguration
(experimental) A recording configuration for the channel.Default: - recording is disabled
-
getType
(experimental) The channel type, which determines the allowable resolution and bitrate.If you exceed the allowable resolution or bitrate, the stream will disconnect immediately
Default: ChannelType.STANDARD
-
builder
- Returns:
- a
ChannelProps.Builder
ofChannelProps
-