Interface InputSettings.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InputSettings.Builder,InputSettings>, SdkBuilder<InputSettings.Builder,InputSettings>, SdkPojo
Enclosing class:
InputSettings

public static interface InputSettings.Builder extends SdkPojo, CopyableBuilder<InputSettings.Builder,InputSettings>
  • Method Details

    • audioSelectors

      InputSettings.Builder audioSelectors(Collection<AudioSelector> audioSelectors)
      Used to select the audio stream to decode for inputs that have multiple available.
      Parameters:
      audioSelectors - Used to select the audio stream to decode for inputs that have multiple available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • audioSelectors

      InputSettings.Builder audioSelectors(AudioSelector... audioSelectors)
      Used to select the audio stream to decode for inputs that have multiple available.
      Parameters:
      audioSelectors - Used to select the audio stream to decode for inputs that have multiple available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • audioSelectors

      InputSettings.Builder audioSelectors(Consumer<AudioSelector.Builder>... audioSelectors)
      Used to select the audio stream to decode for inputs that have multiple available. This is a convenience method that creates an instance of the AudioSelector.Builder avoiding the need to create one manually via AudioSelector.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to audioSelectors(List<AudioSelector>).

      Parameters:
      audioSelectors - a consumer that will call methods on AudioSelector.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • captionSelectors

      InputSettings.Builder captionSelectors(Collection<CaptionSelector> captionSelectors)
      Used to select the caption input to use for inputs that have multiple available.
      Parameters:
      captionSelectors - Used to select the caption input to use for inputs that have multiple available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • captionSelectors

      InputSettings.Builder captionSelectors(CaptionSelector... captionSelectors)
      Used to select the caption input to use for inputs that have multiple available.
      Parameters:
      captionSelectors - Used to select the caption input to use for inputs that have multiple available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • captionSelectors

      InputSettings.Builder captionSelectors(Consumer<CaptionSelector.Builder>... captionSelectors)
      Used to select the caption input to use for inputs that have multiple available. This is a convenience method that creates an instance of the CaptionSelector.Builder avoiding the need to create one manually via CaptionSelector.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to captionSelectors(List<CaptionSelector>).

      Parameters:
      captionSelectors - a consumer that will call methods on CaptionSelector.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deblockFilter

      InputSettings.Builder deblockFilter(String deblockFilter)
      Enable or disable the deblock filter when filtering.
      Parameters:
      deblockFilter - Enable or disable the deblock filter when filtering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deblockFilter

      InputSettings.Builder deblockFilter(InputDeblockFilter deblockFilter)
      Enable or disable the deblock filter when filtering.
      Parameters:
      deblockFilter - Enable or disable the deblock filter when filtering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • denoiseFilter

      InputSettings.Builder denoiseFilter(String denoiseFilter)
      Enable or disable the denoise filter when filtering.
      Parameters:
      denoiseFilter - Enable or disable the denoise filter when filtering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • denoiseFilter

      InputSettings.Builder denoiseFilter(InputDenoiseFilter denoiseFilter)
      Enable or disable the denoise filter when filtering.
      Parameters:
      denoiseFilter - Enable or disable the denoise filter when filtering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • filterStrength

      InputSettings.Builder filterStrength(Integer filterStrength)
      Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest).
      Parameters:
      filterStrength - Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputFilter

      InputSettings.Builder inputFilter(String inputFilter)
      Turns on the filter for this input. MPEG-2 inputs have the deblocking filter enabled by default. 1) auto - filtering will be applied depending on input type/quality 2) disabled - no filtering will be applied to the input 3) forced - filtering will be applied regardless of input type
      Parameters:
      inputFilter - Turns on the filter for this input. MPEG-2 inputs have the deblocking filter enabled by default. 1) auto - filtering will be applied depending on input type/quality 2) disabled - no filtering will be applied to the input 3) forced - filtering will be applied regardless of input type
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputFilter

      InputSettings.Builder inputFilter(InputFilter inputFilter)
      Turns on the filter for this input. MPEG-2 inputs have the deblocking filter enabled by default. 1) auto - filtering will be applied depending on input type/quality 2) disabled - no filtering will be applied to the input 3) forced - filtering will be applied regardless of input type
      Parameters:
      inputFilter - Turns on the filter for this input. MPEG-2 inputs have the deblocking filter enabled by default. 1) auto - filtering will be applied depending on input type/quality 2) disabled - no filtering will be applied to the input 3) forced - filtering will be applied regardless of input type
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • networkInputSettings

      InputSettings.Builder networkInputSettings(NetworkInputSettings networkInputSettings)
      Input settings.
      Parameters:
      networkInputSettings - Input settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInputSettings

      default InputSettings.Builder networkInputSettings(Consumer<NetworkInputSettings.Builder> networkInputSettings)
      Input settings. This is a convenience method that creates an instance of the NetworkInputSettings.Builder avoiding the need to create one manually via NetworkInputSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to networkInputSettings(NetworkInputSettings).

      Parameters:
      networkInputSettings - a consumer that will call methods on NetworkInputSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scte35Pid

      InputSettings.Builder scte35Pid(Integer scte35Pid)
      PID from which to read SCTE-35 messages. If left undefined, EML will select the first SCTE-35 PID found in the input.
      Parameters:
      scte35Pid - PID from which to read SCTE-35 messages. If left undefined, EML will select the first SCTE-35 PID found in the input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • smpte2038DataPreference

      InputSettings.Builder smpte2038DataPreference(String smpte2038DataPreference)
      Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input. Applicable data types are captions, timecode, AFD, and SCTE-104 messages. - PREFER: Extract from SMPTE-2038 if present in this input, otherwise extract from another source (if any). - IGNORE: Never extract any ancillary data from SMPTE-2038.
      Parameters:
      smpte2038DataPreference - Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input. Applicable data types are captions, timecode, AFD, and SCTE-104 messages. - PREFER: Extract from SMPTE-2038 if present in this input, otherwise extract from another source (if any). - IGNORE: Never extract any ancillary data from SMPTE-2038.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • smpte2038DataPreference

      InputSettings.Builder smpte2038DataPreference(Smpte2038DataPreference smpte2038DataPreference)
      Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input. Applicable data types are captions, timecode, AFD, and SCTE-104 messages. - PREFER: Extract from SMPTE-2038 if present in this input, otherwise extract from another source (if any). - IGNORE: Never extract any ancillary data from SMPTE-2038.
      Parameters:
      smpte2038DataPreference - Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input. Applicable data types are captions, timecode, AFD, and SCTE-104 messages. - PREFER: Extract from SMPTE-2038 if present in this input, otherwise extract from another source (if any). - IGNORE: Never extract any ancillary data from SMPTE-2038.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceEndBehavior

      InputSettings.Builder sourceEndBehavior(String sourceEndBehavior)
      Loop input if it is a file. This allows a file input to be streamed indefinitely.
      Parameters:
      sourceEndBehavior - Loop input if it is a file. This allows a file input to be streamed indefinitely.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceEndBehavior

      InputSettings.Builder sourceEndBehavior(InputSourceEndBehavior sourceEndBehavior)
      Loop input if it is a file. This allows a file input to be streamed indefinitely.
      Parameters:
      sourceEndBehavior - Loop input if it is a file. This allows a file input to be streamed indefinitely.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • videoSelector

      InputSettings.Builder videoSelector(VideoSelector videoSelector)
      Informs which video elementary stream to decode for input types that have multiple available.
      Parameters:
      videoSelector - Informs which video elementary stream to decode for input types that have multiple available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • videoSelector

      default InputSettings.Builder videoSelector(Consumer<VideoSelector.Builder> videoSelector)
      Informs which video elementary stream to decode for input types that have multiple available. This is a convenience method that creates an instance of the VideoSelector.Builder avoiding the need to create one manually via VideoSelector.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to videoSelector(VideoSelector).

      Parameters:
      videoSelector - a consumer that will call methods on VideoSelector.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: