
commonMain.aws.sdk.kotlin.services.mediaconvert.model.DashIsoPlaybackDeviceCompatibility.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* This setting can improve the compatibility of your output with video players on obsolete devices. It applies only to DASH H.264 outputs with DRM encryption. Choose Unencrypted SEI only to correct problems with playback on older devices. Otherwise, keep the default setting CENC v1. If you choose Unencrypted SEI, for that output, the service will exclude the access unit delimiter and will leave the SEI NAL units unencrypted.
*/
public sealed class DashIsoPlaybackDeviceCompatibility {
public abstract val value: kotlin.String
public object CencV1 : aws.sdk.kotlin.services.mediaconvert.model.DashIsoPlaybackDeviceCompatibility() {
override val value: kotlin.String = "CENC_V1"
override fun toString(): kotlin.String = "CencV1"
}
public object UnencryptedSei : aws.sdk.kotlin.services.mediaconvert.model.DashIsoPlaybackDeviceCompatibility() {
override val value: kotlin.String = "UNENCRYPTED_SEI"
override fun toString(): kotlin.String = "UnencryptedSei"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DashIsoPlaybackDeviceCompatibility() {
override fun toString(): kotlin.String = "SdkUnknown($value)"
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.mediaconvert.model.DashIsoPlaybackDeviceCompatibility = when (value) {
"CENC_V1" -> CencV1
"UNENCRYPTED_SEI" -> UnencryptedSei
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
CencV1,
UnencryptedSei,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy