Interface MultiplexM2tsSettings.Builder

  • Method Details

    • absentInputAudioBehavior

      MultiplexM2tsSettings.Builder absentInputAudioBehavior(String absentInputAudioBehavior)
      When set to drop, output audio streams will be removed from the program if the selected input audio stream is removed from the input. This allows the output audio configuration to dynamically change based on input configuration. If this is set to encodeSilence, all output audio streams will output encoded silence when not connected to an active input stream.
      Parameters:
      absentInputAudioBehavior - When set to drop, output audio streams will be removed from the program if the selected input audio stream is removed from the input. This allows the output audio configuration to dynamically change based on input configuration. If this is set to encodeSilence, all output audio streams will output encoded silence when not connected to an active input stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • absentInputAudioBehavior

      MultiplexM2tsSettings.Builder absentInputAudioBehavior(M2tsAbsentInputAudioBehavior absentInputAudioBehavior)
      When set to drop, output audio streams will be removed from the program if the selected input audio stream is removed from the input. This allows the output audio configuration to dynamically change based on input configuration. If this is set to encodeSilence, all output audio streams will output encoded silence when not connected to an active input stream.
      Parameters:
      absentInputAudioBehavior - When set to drop, output audio streams will be removed from the program if the selected input audio stream is removed from the input. This allows the output audio configuration to dynamically change based on input configuration. If this is set to encodeSilence, all output audio streams will output encoded silence when not connected to an active input stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • arib

      When set to enabled, uses ARIB-compliant field muxing and removes video descriptor.
      Parameters:
      arib - When set to enabled, uses ARIB-compliant field muxing and removes video descriptor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • arib

      When set to enabled, uses ARIB-compliant field muxing and removes video descriptor.
      Parameters:
      arib - When set to enabled, uses ARIB-compliant field muxing and removes video descriptor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • audioBufferModel

      MultiplexM2tsSettings.Builder audioBufferModel(String audioBufferModel)
      When set to dvb, uses DVB buffer model for Dolby Digital audio. When set to atsc, the ATSC model is used.
      Parameters:
      audioBufferModel - When set to dvb, uses DVB buffer model for Dolby Digital audio. When set to atsc, the ATSC model is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • audioBufferModel

      MultiplexM2tsSettings.Builder audioBufferModel(M2tsAudioBufferModel audioBufferModel)
      When set to dvb, uses DVB buffer model for Dolby Digital audio. When set to atsc, the ATSC model is used.
      Parameters:
      audioBufferModel - When set to dvb, uses DVB buffer model for Dolby Digital audio. When set to atsc, the ATSC model is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • audioFramesPerPes

      MultiplexM2tsSettings.Builder audioFramesPerPes(Integer audioFramesPerPes)
      The number of audio frames to insert for each PES packet.
      Parameters:
      audioFramesPerPes - The number of audio frames to insert for each PES packet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • audioStreamType

      MultiplexM2tsSettings.Builder audioStreamType(String audioStreamType)
      When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3. When set to dvb, uses stream type = 0x06.
      Parameters:
      audioStreamType - When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3. When set to dvb, uses stream type = 0x06.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • audioStreamType

      MultiplexM2tsSettings.Builder audioStreamType(M2tsAudioStreamType audioStreamType)
      When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3. When set to dvb, uses stream type = 0x06.
      Parameters:
      audioStreamType - When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3. When set to dvb, uses stream type = 0x06.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ccDescriptor

      MultiplexM2tsSettings.Builder ccDescriptor(String ccDescriptor)
      When set to enabled, generates captionServiceDescriptor in PMT.
      Parameters:
      ccDescriptor - When set to enabled, generates captionServiceDescriptor in PMT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ccDescriptor

      MultiplexM2tsSettings.Builder ccDescriptor(M2tsCcDescriptor ccDescriptor)
      When set to enabled, generates captionServiceDescriptor in PMT.
      Parameters:
      ccDescriptor - When set to enabled, generates captionServiceDescriptor in PMT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ebif

      If set to passthrough, passes any EBIF data from the input source to this output.
      Parameters:
      ebif - If set to passthrough, passes any EBIF data from the input source to this output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ebif

      If set to passthrough, passes any EBIF data from the input source to this output.
      Parameters:
      ebif - If set to passthrough, passes any EBIF data from the input source to this output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • esRateInPes

      MultiplexM2tsSettings.Builder esRateInPes(String esRateInPes)
      Include or exclude the ES Rate field in the PES header.
      Parameters:
      esRateInPes - Include or exclude the ES Rate field in the PES header.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • esRateInPes

      Include or exclude the ES Rate field in the PES header.
      Parameters:
      esRateInPes - Include or exclude the ES Rate field in the PES header.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • klv

      If set to passthrough, passes any KLV data from the input source to this output.
      Parameters:
      klv - If set to passthrough, passes any KLV data from the input source to this output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • klv

      If set to passthrough, passes any KLV data from the input source to this output.
      Parameters:
      klv - If set to passthrough, passes any KLV data from the input source to this output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nielsenId3Behavior

      MultiplexM2tsSettings.Builder nielsenId3Behavior(String 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nielsenId3Behavior

      MultiplexM2tsSettings.Builder nielsenId3Behavior(M2tsNielsenId3Behavior 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pcrControl

      MultiplexM2tsSettings.Builder pcrControl(String 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pcrPeriod

      MultiplexM2tsSettings.Builder pcrPeriod(Integer pcrPeriod)
      Maximum time in milliseconds between Program Clock Reference (PCRs) inserted into the transport stream.
      Parameters:
      pcrPeriod - Maximum time in milliseconds between Program Clock Reference (PCRs) inserted into the transport stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scte35Control

      MultiplexM2tsSettings.Builder scte35Control(String scte35Control)
      Optionally pass SCTE-35 signals from the input source to this output.
      Parameters:
      scte35Control - Optionally pass SCTE-35 signals from the input source to this output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scte35Control

      MultiplexM2tsSettings.Builder scte35Control(M2tsScte35Control scte35Control)
      Optionally pass SCTE-35 signals from the input source to this output.
      Parameters:
      scte35Control - Optionally pass SCTE-35 signals from the input source to this output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scte35PrerollPullupMilliseconds

      MultiplexM2tsSettings.Builder scte35PrerollPullupMilliseconds(Double scte35PrerollPullupMilliseconds)
      Defines the amount SCTE-35 preroll will be increased (in milliseconds) on the output. Preroll is the amount of time between the presence of a SCTE-35 indication in a transport stream and the PTS of the video frame it references. Zero means don't add pullup (it doesn't mean set the preroll to zero). Negative pullup is not supported, which means that you can't make the preroll shorter. Be aware that latency in the output will increase by the pullup amount.
      Parameters:
      scte35PrerollPullupMilliseconds - Defines the amount SCTE-35 preroll will be increased (in milliseconds) on the output. Preroll is the amount of time between the presence of a SCTE-35 indication in a transport stream and the PTS of the video frame it references. Zero means don't add pullup (it doesn't mean set the preroll to zero). Negative pullup is not supported, which means that you can't make the preroll shorter. Be aware that latency in the output will increase by the pullup amount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.