Class M3u8Settings

    • Method Detail

      • audioFramesPerPes

        public final Integer audioFramesPerPes()
        The number of audio frames to insert for each PES packet.
        Returns:
        The number of audio frames to insert for each PES packet.
      • audioPids

        public final String audioPids()
        Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation. Can be entered as decimal or hexadecimal values.
        Returns:
        Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation. Can be entered as decimal or hexadecimal values.
      • ecmPid

        public final String ecmPid()
        This parameter is unused and deprecated.
        Returns:
        This parameter is unused and deprecated.
      • nielsenId3Behavior

        public final M3u8NielsenId3Behavior nielsenId3Behavior()
        If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.

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

        Returns:
        If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
        See Also:
        M3u8NielsenId3Behavior
      • nielsenId3BehaviorAsString

        public final String nielsenId3BehaviorAsString()
        If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.

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

        Returns:
        If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
        See Also:
        M3u8NielsenId3Behavior
      • patInterval

        public final Integer patInterval()
        The number of milliseconds between instances of this table in the output transport stream. A value of \"0\" writes out the PMT once per segment file.
        Returns:
        The number of milliseconds between instances of this table in the output transport stream. A value of \"0\" writes out the PMT once per segment file.
      • pcrControl

        public final M3u8PcrControl pcrControl()
        When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.

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

        Returns:
        When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.
        See Also:
        M3u8PcrControl
      • pcrControlAsString

        public final String pcrControlAsString()
        When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.

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

        Returns:
        When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.
        See Also:
        M3u8PcrControl
      • pcrPeriod

        public final Integer pcrPeriod()
        Maximum time in milliseconds between Program Clock References (PCRs) inserted into the transport stream.
        Returns:
        Maximum time in milliseconds between Program Clock References (PCRs) inserted into the transport stream.
      • pcrPid

        public final String pcrPid()
        Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream. When no value is given, the encoder will assign the same value as the Video PID. Can be entered as a decimal or hexadecimal value.
        Returns:
        Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream. When no value is given, the encoder will assign the same value as the Video PID. Can be entered as a decimal or hexadecimal value.
      • pmtInterval

        public final Integer pmtInterval()
        The number of milliseconds between instances of this table in the output transport stream. A value of \"0\" writes out the PMT once per segment file.
        Returns:
        The number of milliseconds between instances of this table in the output transport stream. A value of \"0\" writes out the PMT once per segment file.
      • pmtPid

        public final String pmtPid()
        Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream. Can be entered as a decimal or hexadecimal value.
        Returns:
        Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream. Can be entered as a decimal or hexadecimal value.
      • programNum

        public final Integer programNum()
        The value of the program number field in the Program Map Table.
        Returns:
        The value of the program number field in the Program Map Table.
      • scte35BehaviorAsString

        public final String scte35BehaviorAsString()
        If set to passthrough, passes any SCTE-35 signals from the input source to this output.

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

        Returns:
        If set to passthrough, passes any SCTE-35 signals from the input source to this output.
        See Also:
        M3u8Scte35Behavior
      • scte35Pid

        public final String scte35Pid()
        Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can be entered as a decimal or hexadecimal value.
        Returns:
        Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can be entered as a decimal or hexadecimal value.
      • timedMetadataPid

        public final String timedMetadataPid()
        Packet Identifier (PID) of the timed metadata stream in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
        Returns:
        Packet Identifier (PID) of the timed metadata stream in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
      • transportStreamId

        public final Integer transportStreamId()
        The value of the transport stream ID field in the Program Map Table.
        Returns:
        The value of the transport stream ID field in the Program Map Table.
      • videoPid

        public final String videoPid()
        Packet Identifier (PID) of the elementary video stream in the transport stream. Can be entered as a decimal or hexadecimal value.
        Returns:
        Packet Identifier (PID) of the elementary video stream in the transport stream. Can be entered as a decimal or hexadecimal value.
      • klvBehaviorAsString

        public final String klvBehaviorAsString()
        If set to passthrough, passes any KLV data from the input source to this output.

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

        Returns:
        If set to passthrough, passes any KLV data from the input source to this output.
        See Also:
        M3u8KlvBehavior
      • klvDataPids

        public final String klvDataPids()
        Packet Identifier (PID) for input source KLV data to this output. Multiple values are accepted, and can be entered in ranges and/or by comma separation. Can be entered as decimal or hexadecimal values. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).
        Returns:
        Packet Identifier (PID) for input source KLV data to this output. Multiple values are accepted, and can be entered in ranges and/or by comma separation. Can be entered as decimal or hexadecimal values. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).
      • 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)