Modifier and Type | Method and Description |
---|---|
Channel.Builder |
authorized(java.lang.Boolean authorized)
(experimental) Whether the channel is authorized.
|
Channel |
build() |
static Channel.Builder |
create(software.constructs.Construct scope,
java.lang.String id) |
Channel.Builder |
latencyMode(LatencyMode latencyMode)
(experimental) Channel latency mode.
|
Channel.Builder |
name(java.lang.String name)
(experimental) Channel name.
|
Channel.Builder |
type(ChannelType type)
(experimental) The channel type, which determines the allowable resolution and bitrate.
|
public static Channel.Builder create(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.Channel.Builder
.public Channel.Builder authorized(java.lang.Boolean 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
authorized
- Whether the channel is authorized. This parameter is required.this
public Channel.Builder latencyMode(LatencyMode latencyMode)
Default: LatencyMode.LOW
latencyMode
- Channel latency mode. This parameter is required.this
public Channel.Builder name(java.lang.String name)
Default: - None
name
- Channel name. This parameter is required.this
public Channel.Builder type(ChannelType type)
If you exceed the allowable resolution or bitrate, the stream will disconnect immediately
Default: ChannelType.STANDARD
type
- The channel type, which determines the allowable resolution and bitrate. This parameter is required.this
public Channel build()