Interface MediaStreamSourceConfiguration.Builder

  • Method Details

    • encodingName

      MediaStreamSourceConfiguration.Builder encodingName(String encodingName)

      The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

      Parameters:
      encodingName - The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encodingName

      The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.

      Parameters:
      encodingName - The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputConfigurations

      MediaStreamSourceConfiguration.Builder inputConfigurations(Collection<InputConfiguration> inputConfigurations)

      The media streams that you want to associate with the source.

      Parameters:
      inputConfigurations - The media streams that you want to associate with the source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputConfigurations

      MediaStreamSourceConfiguration.Builder inputConfigurations(InputConfiguration... inputConfigurations)

      The media streams that you want to associate with the source.

      Parameters:
      inputConfigurations - The media streams that you want to associate with the source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputConfigurations

      MediaStreamSourceConfiguration.Builder inputConfigurations(Consumer<InputConfiguration.Builder>... inputConfigurations)

      The media streams that you want to associate with the source.

      This is a convenience method that creates an instance of the InputConfiguration.Builder avoiding the need to create one manually via InputConfiguration.builder().

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

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

      MediaStreamSourceConfiguration.Builder mediaStreamName(String mediaStreamName)

      A name that helps you distinguish one media stream from another.

      Parameters:
      mediaStreamName - A name that helps you distinguish one media stream from another.
      Returns:
      Returns a reference to this object so that method calls can be chained together.