Updates a channel's configuration¶
Description¶
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.
Usage¶
ivs_update_channel(arn, name, latencyMode, type, authorized,
recordingConfigurationArn, insecureIngest, preset,
playbackRestrictionPolicyArn, multitrackInputConfiguration,
containerFormat, adConfigurationArn)
Arguments¶
-
arn[required] ARN of the channel to be updated.
-
nameChannel name.
-
latencyModeChannel latency mode. Use
NORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers. -
typeChannel 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. -
authorizedWhether the channel is private (enabled for playback authorization).
-
recordingConfigurationArnRecording-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.
-
insecureIngestWhether the channel allows insecure RTMP and SRT ingest. Default:
false. -
presetOptional 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 (""). -
playbackRestrictionPolicyArnPlayback-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.
-
multitrackInputConfigurationObject specifying multitrack input configuration. Default: no multitrack input configuration is specified.
-
containerFormatIndicates 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. -
adConfigurationArnARN of the ad configuration associated with the channel.
Value¶
A list with the following syntax:
list(
channel = list(
arn = "string",
name = "string",
latencyMode = "NORMAL"|"LOW",
type = "BASIC"|"STANDARD"|"ADVANCED_SD"|"ADVANCED_HD",
recordingConfigurationArn = "string",
ingestEndpoint = "string",
playbackUrl = "string",
authorized = TRUE|FALSE,
tags = list(
"string"
),
insecureIngest = TRUE|FALSE,
preset = "HIGHER_BANDWIDTH_DELIVERY"|"CONSTRAINED_BANDWIDTH_DELIVERY",
srt = list(
endpoint = "string",
passphrase = "string"
),
playbackRestrictionPolicyArn = "string",
multitrackInputConfiguration = list(
enabled = TRUE|FALSE,
policy = "ALLOW"|"REQUIRE",
maximumResolution = "SD"|"HD"|"FULL_HD"
),
containerFormat = "TS"|"FRAGMENTED_MP4",
adConfigurationArn = "string"
)
)
Request syntax¶
svc$update_channel(
arn = "string",
name = "string",
latencyMode = "NORMAL"|"LOW",
type = "BASIC"|"STANDARD"|"ADVANCED_SD"|"ADVANCED_HD",
authorized = TRUE|FALSE,
recordingConfigurationArn = "string",
insecureIngest = TRUE|FALSE,
preset = "HIGHER_BANDWIDTH_DELIVERY"|"CONSTRAINED_BANDWIDTH_DELIVERY",
playbackRestrictionPolicyArn = "string",
multitrackInputConfiguration = list(
enabled = TRUE|FALSE,
policy = "ALLOW"|"REQUIRE",
maximumResolution = "SD"|"HD"|"FULL_HD"
),
containerFormat = "TS"|"FRAGMENTED_MP4",
adConfigurationArn = "string"
)