Updates a channel's configuration. Live channels cannot be updated. You must stop the ongoing stream, update the channel, and restart the stream for the changes to take effect.
See https://www.paws-r-sdk.com/docs/ivs_update_channel/ for full documentation.
ivs_update_channel(
arn,
name = NULL,
latencyMode = NULL,
type = NULL,
authorized = NULL,
recordingConfigurationArn = NULL,
insecureIngest = NULL,
preset = NULL,
playbackRestrictionPolicyArn = NULL
)
[required] ARN of the channel to be updated.
Channel name.
Channel latency mode. Use NORMAL
to broadcast and deliver live video
up to Full HD. Use LOW
for near-real-time interaction with viewers.
Channel type, which determines the allowable resolution and bitrate. If
you exceed the allowable input resolution or bitrate, the stream
probably will disconnect immediately. Default: STANDARD
. For details,
see Channel Types.
Whether the channel is private (enabled for playback authorization).
Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this is set to an empty string, recording is disabled.
Whether the channel allows insecure RTMP and SRT ingest. Default:
false
.
Optional transcode preset for the channel. This is selectable only for
ADVANCED_HD
and ADVANCED_SD
channel types. For those channel types,
the default preset
is HIGHER_BANDWIDTH_DELIVERY
. For other channel
types (BASIC
and STANDARD
), preset
is the empty string (""
).
Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. If this is set to an empty string, playback restriction policy is disabled.