Class HlsAkamaiSettings

    • Method Detail

      • connectionRetryInterval

        public final Integer connectionRetryInterval()
        Number of seconds to wait before retrying connection to the CDN if the connection is lost.
        Returns:
        Number of seconds to wait before retrying connection to the CDN if the connection is lost.
      • filecacheDuration

        public final Integer filecacheDuration()
        Size in seconds of file cache for streaming outputs.
        Returns:
        Size in seconds of file cache for streaming outputs.
      • httpTransferModeAsString

        public final String httpTransferModeAsString()
        Specify whether or not to use chunked transfer encoding to Akamai. User should contact Akamai to enable this feature.

        If the service returns an enum value that is not available in the current SDK version, httpTransferMode will return HlsAkamaiHttpTransferMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from httpTransferModeAsString().

        Returns:
        Specify whether or not to use chunked transfer encoding to Akamai. User should contact Akamai to enable this feature.
        See Also:
        HlsAkamaiHttpTransferMode
      • numRetries

        public final 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.
        Returns:
        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.
      • restartDelay

        public final Integer restartDelay()
        If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
        Returns:
        If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
      • salt

        public final String salt()
        Salt for authenticated Akamai.
        Returns:
        Salt for authenticated Akamai.
      • token

        public final String token()
        Token parameter for authenticated akamai. If not specified, _gda_ is used.
        Returns:
        Token parameter for authenticated akamai. If not specified, _gda_ is used.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)