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.
Usage
ivs_update_channel(
arn,
name = NULL,
latencyMode = NULL,
type = NULL,
authorized = NULL,
recordingConfigurationArn = NULL,
insecureIngest = NULL,
preset = NULL,
playbackRestrictionPolicyArn = NULL,
multitrackInputConfiguration = NULL,
containerFormat = NULL,
adConfigurationArn = NULL
)Arguments
- arn
[required] ARN of the channel to be updated.
- name
Channel name.
- latencyMode
Channel latency mode. Use
NORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers.- type
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).
- recordingConfigurationArn
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.
- insecureIngest
Whether the channel allows insecure RTMP and SRT ingest. Default:
false.- preset
Optional transcode preset for the channel. This is selectable only for
ADVANCED_HDandADVANCED_SDchannel types. For those channel types, the defaultpresetisHIGHER_BANDWIDTH_DELIVERY. For other channel types (BASICandSTANDARD),presetis the empty string ("").- playbackRestrictionPolicyArn
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.
- multitrackInputConfiguration
Object specifying multitrack input configuration. Default: no multitrack input configuration is specified.
- containerFormat
Indicates which content-packaging format is used (MPEG-TS or fMP4). If
multitrackInputConfigurationis specified andenabledistrue, thencontainerFormatis required and must be set toFRAGMENTED_MP4. Otherwise,containerFormatmay be set toTSorFRAGMENTED_MP4. Default:TS.- adConfigurationArn
ARN of the ad configuration associated with the channel.