Interface DashIsoEncryptionSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DashIsoEncryptionSettings.Builder,,DashIsoEncryptionSettings> SdkBuilder<DashIsoEncryptionSettings.Builder,,DashIsoEncryptionSettings> SdkPojo
- Enclosing class:
DashIsoEncryptionSettings
@Mutable
@NotThreadSafe
public static interface DashIsoEncryptionSettings.Builder
extends SdkPojo, CopyableBuilder<DashIsoEncryptionSettings.Builder,DashIsoEncryptionSettings>
-
Method Summary
Modifier and TypeMethodDescriptionplaybackDeviceCompatibility(String playbackDeviceCompatibility) This setting can improve the compatibility of your output with video players on obsolete devices.playbackDeviceCompatibility(DashIsoPlaybackDeviceCompatibility playbackDeviceCompatibility) This setting can improve the compatibility of your output with video players on obsolete devices.spekeKeyProvider(Consumer<SpekeKeyProvider.Builder> spekeKeyProvider) If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider.spekeKeyProvider(SpekeKeyProvider spekeKeyProvider) If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
playbackDeviceCompatibility
This setting can improve the compatibility of your output with video players on obsolete devices. It applies only to DASH outputs with DRM encryption. Choose Unencrypted SEI only to correct problems with playback on older H.264 devices. Choose CENC v1 unencrypted headers to leave NAL unit headers and slice headers unencrypted for H.265 outputs, improving compatibility with strict HEVC decoders. Otherwise, keep the default setting CENC v1.- Parameters:
playbackDeviceCompatibility- This setting can improve the compatibility of your output with video players on obsolete devices. It applies only to DASH outputs with DRM encryption. Choose Unencrypted SEI only to correct problems with playback on older H.264 devices. Choose CENC v1 unencrypted headers to leave NAL unit headers and slice headers unencrypted for H.265 outputs, improving compatibility with strict HEVC decoders. Otherwise, keep the default setting CENC v1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
playbackDeviceCompatibility
DashIsoEncryptionSettings.Builder playbackDeviceCompatibility(DashIsoPlaybackDeviceCompatibility playbackDeviceCompatibility) This setting can improve the compatibility of your output with video players on obsolete devices. It applies only to DASH outputs with DRM encryption. Choose Unencrypted SEI only to correct problems with playback on older H.264 devices. Choose CENC v1 unencrypted headers to leave NAL unit headers and slice headers unencrypted for H.265 outputs, improving compatibility with strict HEVC decoders. Otherwise, keep the default setting CENC v1.- Parameters:
playbackDeviceCompatibility- This setting can improve the compatibility of your output with video players on obsolete devices. It applies only to DASH outputs with DRM encryption. Choose Unencrypted SEI only to correct problems with playback on older H.264 devices. Choose CENC v1 unencrypted headers to leave NAL unit headers and slice headers unencrypted for H.265 outputs, improving compatibility with strict HEVC decoders. Otherwise, keep the default setting CENC v1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
spekeKeyProvider
If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.- Parameters:
spekeKeyProvider- If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spekeKeyProvider
default DashIsoEncryptionSettings.Builder spekeKeyProvider(Consumer<SpekeKeyProvider.Builder> spekeKeyProvider) If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead. This is a convenience method that creates an instance of theSpekeKeyProvider.Builderavoiding the need to create one manually viaSpekeKeyProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospekeKeyProvider(SpekeKeyProvider).- Parameters:
spekeKeyProvider- a consumer that will call methods onSpekeKeyProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-