All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.mediaconvert.model.DashIsoGroupAudioChannelConfigSchemeIdUri.kt Maven / Gradle / Ivy

There is a newer version: 1.3.99
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.mediaconvert.model

import kotlin.collections.List

/**
 * Use this setting only when your audio codec is a Dolby one (AC3, EAC3, or Atmos) and your downstream workflow requires that your DASH manifest use the Dolby channel configuration tag, rather than the MPEG one. For example, you might need to use this to make dynamic ad insertion work. Specify which audio channel configuration scheme ID URI MediaConvert writes in your DASH manifest. Keep the default value, MPEG channel configuration (MPEG_CHANNEL_CONFIGURATION), to have MediaConvert write this: urn:mpeg:mpegB:cicp:ChannelConfiguration. Choose Dolby channel configuration (DOLBY_CHANNEL_CONFIGURATION) to have MediaConvert write this instead: tag:dolby.com,2014:dash:audio_channel_configuration:2011.
 */
public sealed class DashIsoGroupAudioChannelConfigSchemeIdUri {

    public abstract val value: kotlin.String

    public object DolbyChannelConfiguration : aws.sdk.kotlin.services.mediaconvert.model.DashIsoGroupAudioChannelConfigSchemeIdUri() {
        override val value: kotlin.String = "DOLBY_CHANNEL_CONFIGURATION"
        override fun toString(): kotlin.String = value
    }

    public object MpegChannelConfiguration : aws.sdk.kotlin.services.mediaconvert.model.DashIsoGroupAudioChannelConfigSchemeIdUri() {
        override val value: kotlin.String = "MPEG_CHANNEL_CONFIGURATION"
        override fun toString(): kotlin.String = value
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DashIsoGroupAudioChannelConfigSchemeIdUri() {
        override fun toString(): kotlin.String = value
    }

    public companion object {
        /**
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
         */
        public fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.mediaconvert.model.DashIsoGroupAudioChannelConfigSchemeIdUri = when(str) {
            "DOLBY_CHANNEL_CONFIGURATION" -> DolbyChannelConfiguration
            "MPEG_CHANNEL_CONFIGURATION" -> MpegChannelConfiguration
            else -> SdkUnknown(str)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = listOf(
            DolbyChannelConfiguration,
            MpegChannelConfiguration
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy