Class HlsInputSettings

    • Method Detail

      • bandwidth

        public final Integer bandwidth()
        When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches this value will be chosen, otherwise the highest bandwidth stream in the m3u8 will be chosen. The bitrate is specified in bits per second, as in an HLS manifest.
        Returns:
        When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches this value will be chosen, otherwise the highest bandwidth stream in the m3u8 will be chosen. The bitrate is specified in bits per second, as in an HLS manifest.
      • bufferSegments

        public final Integer bufferSegments()
        When specified, reading of the HLS input will begin this many buffer segments from the end (most recently written segment). When not specified, the HLS input will begin with the first segment specified in the m3u8.
        Returns:
        When specified, reading of the HLS input will begin this many buffer segments from the end (most recently written segment). When not specified, the HLS input will begin with the first segment specified in the m3u8.
      • retries

        public final Integer retries()
        The number of consecutive times that attempts to read a manifest or segment must fail before the input is considered unavailable.
        Returns:
        The number of consecutive times that attempts to read a manifest or segment must fail before the input is considered unavailable.
      • retryInterval

        public final Integer retryInterval()
        The number of seconds between retries when an attempt to read a manifest or segment fails.
        Returns:
        The number of seconds between retries when an attempt to read a manifest or segment fails.
      • scte35Source

        public final HlsScte35SourceType scte35Source()
        Identifies the source for the SCTE-35 messages that MediaLive will ingest. Messages can be ingested from the content segments (in the stream) or from tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information in the source that is not selected.

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

        Returns:
        Identifies the source for the SCTE-35 messages that MediaLive will ingest. Messages can be ingested from the content segments (in the stream) or from tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information in the source that is not selected.
        See Also:
        HlsScte35SourceType
      • scte35SourceAsString

        public final String scte35SourceAsString()
        Identifies the source for the SCTE-35 messages that MediaLive will ingest. Messages can be ingested from the content segments (in the stream) or from tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information in the source that is not selected.

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

        Returns:
        Identifies the source for the SCTE-35 messages that MediaLive will ingest. Messages can be ingested from the content segments (in the stream) or from tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information in the source that is not selected.
        See Also:
        HlsScte35SourceType
      • 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)