Interface DashIsoEncryptionSettings.Builder

  • 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 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

      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: