Interface MediaStreamOutputConfiguration.Builder

  • Method Details

    • destinationConfigurations

      MediaStreamOutputConfiguration.Builder destinationConfigurations(Collection<DestinationConfiguration> destinationConfigurations)

      The transport parameters that are associated with each outbound media stream.

      Parameters:
      destinationConfigurations - The transport parameters that are associated with each outbound media stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationConfigurations

      MediaStreamOutputConfiguration.Builder destinationConfigurations(DestinationConfiguration... destinationConfigurations)

      The transport parameters that are associated with each outbound media stream.

      Parameters:
      destinationConfigurations - The transport parameters that are associated with each outbound media stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationConfigurations

      MediaStreamOutputConfiguration.Builder destinationConfigurations(Consumer<DestinationConfiguration.Builder>... destinationConfigurations)

      The transport parameters that are associated with each outbound media stream.

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

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

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

      MediaStreamOutputConfiguration.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:
    • encodingParameters

      MediaStreamOutputConfiguration.Builder encodingParameters(EncodingParameters encodingParameters)

      A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.

      Parameters:
      encodingParameters - A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encodingParameters

      default MediaStreamOutputConfiguration.Builder encodingParameters(Consumer<EncodingParameters.Builder> encodingParameters)

      A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.

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

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

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

      MediaStreamOutputConfiguration.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.