Interface HlsMediaStoreSettings.Builder

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

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

    • connectionRetryInterval

      HlsMediaStoreSettings.Builder connectionRetryInterval(Integer connectionRetryInterval)
      Number of seconds to wait before retrying connection to the CDN if the connection is lost.
      Parameters:
      connectionRetryInterval - Number of seconds to wait before retrying connection to the CDN if the connection is lost.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filecacheDuration

      HlsMediaStoreSettings.Builder filecacheDuration(Integer filecacheDuration)
      Size in seconds of file cache for streaming outputs.
      Parameters:
      filecacheDuration - Size in seconds of file cache for streaming outputs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mediaStoreStorageClass

      HlsMediaStoreSettings.Builder mediaStoreStorageClass(String mediaStoreStorageClass)
      When set to temporal, output files are stored in non-persistent memory for faster reading and writing.
      Parameters:
      mediaStoreStorageClass - When set to temporal, output files are stored in non-persistent memory for faster reading and writing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mediaStoreStorageClass

      HlsMediaStoreSettings.Builder mediaStoreStorageClass(HlsMediaStoreStorageClass mediaStoreStorageClass)
      When set to temporal, output files are stored in non-persistent memory for faster reading and writing.
      Parameters:
      mediaStoreStorageClass - When set to temporal, output files are stored in non-persistent memory for faster reading and writing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • numRetries

      HlsMediaStoreSettings.Builder numRetries(Integer numRetries)
      Number of retry attempts that will be made before the Live Event is put into an error state. Applies only if the CDN destination URI begins with "s3" or "mediastore". For other URIs, the value is always 3.
      Parameters:
      numRetries - Number of retry attempts that will be made before the Live Event is put into an error state. Applies only if the CDN destination URI begins with "s3" or "mediastore". For other URIs, the value is always 3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • restartDelay

      HlsMediaStoreSettings.Builder restartDelay(Integer restartDelay)
      If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
      Parameters:
      restartDelay - If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
      Returns:
      Returns a reference to this object so that method calls can be chained together.