Interface MediaStreamSourceConfiguration.Builder

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

public static interface MediaStreamSourceConfiguration.Builder extends SdkPojo, CopyableBuilder<MediaStreamSourceConfiguration.Builder,MediaStreamSourceConfiguration>
  • 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 transport parameters that are associated with an incoming media stream.
      Parameters:
      inputConfigurations - The transport parameters that are associated with an incoming media stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputConfigurations

      MediaStreamSourceConfiguration.Builder inputConfigurations(InputConfiguration... inputConfigurations)
      The transport parameters that are associated with an incoming media stream.
      Parameters:
      inputConfigurations - The transport parameters that are associated with an incoming media stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputConfigurations

      MediaStreamSourceConfiguration.Builder inputConfigurations(Consumer<InputConfiguration.Builder>... inputConfigurations)
      The transport parameters that are associated with an incoming media stream. 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)
      The name of the media stream.
      Parameters:
      mediaStreamName - The name of the media stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.