Interface HlsAkamaiSettings.Builder

    • Method Detail

      • connectionRetryInterval

        HlsAkamaiSettings.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

        HlsAkamaiSettings.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.
      • httpTransferMode

        HlsAkamaiSettings.Builder httpTransferMode​(String httpTransferMode)
        Specify whether or not to use chunked transfer encoding to Akamai. User should contact Akamai to enable this feature.
        Parameters:
        httpTransferMode - Specify whether or not to use chunked transfer encoding to Akamai. User should contact Akamai to enable this feature.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HlsAkamaiHttpTransferMode, HlsAkamaiHttpTransferMode
      • httpTransferMode

        HlsAkamaiSettings.Builder httpTransferMode​(HlsAkamaiHttpTransferMode httpTransferMode)
        Specify whether or not to use chunked transfer encoding to Akamai. User should contact Akamai to enable this feature.
        Parameters:
        httpTransferMode - Specify whether or not to use chunked transfer encoding to Akamai. User should contact Akamai to enable this feature.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HlsAkamaiHttpTransferMode, HlsAkamaiHttpTransferMode
      • numRetries

        HlsAkamaiSettings.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

        HlsAkamaiSettings.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.
      • salt

        HlsAkamaiSettings.Builder salt​(String salt)
        Salt for authenticated Akamai.
        Parameters:
        salt - Salt for authenticated Akamai.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • token

        HlsAkamaiSettings.Builder token​(String token)
        Token parameter for authenticated akamai. If not specified, _gda_ is used.
        Parameters:
        token - Token parameter for authenticated akamai. If not specified, _gda_ is used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.