Interface DashIsoEncryptionSettings.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DashIsoEncryptionSettings.Builder,DashIsoEncryptionSettings>, SdkBuilder<DashIsoEncryptionSettings.Builder,DashIsoEncryptionSettings>, SdkPojo
Enclosing class:
DashIsoEncryptionSettings

public static interface DashIsoEncryptionSettings.Builder extends SdkPojo, CopyableBuilder<DashIsoEncryptionSettings.Builder,DashIsoEncryptionSettings>
  • Method Details

    • playbackDeviceCompatibility

      DashIsoEncryptionSettings.Builder playbackDeviceCompatibility(String playbackDeviceCompatibility)
      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.
      Parameters:
      playbackDeviceCompatibility - 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.
      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 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.
      Parameters:
      playbackDeviceCompatibility - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • spekeKeyProvider

      DashIsoEncryptionSettings.Builder 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. 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 the SpekeKeyProvider.Builder avoiding the need to create one manually via SpekeKeyProvider.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to spekeKeyProvider(SpekeKeyProvider).

      Parameters:
      spekeKeyProvider - a consumer that will call methods on SpekeKeyProvider.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: