Interface TransportStream.Builder

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

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

    • channels

      TransportStream.Builder channels(Integer channels)
      The number of channels in the audio stream.
      Parameters:
      channels - The number of channels in the audio stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codec

      The codec used by the stream.
      Parameters:
      codec - The codec used by the stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameRate

      TransportStream.Builder frameRate(String frameRate)
      The frame rate used by the video stream.
      Parameters:
      frameRate - The frame rate used by the video stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameResolution

      TransportStream.Builder frameResolution(FrameResolution frameResolution)
      Sets the value of the FrameResolution property for this object.
      Parameters:
      frameResolution - The new value for the FrameResolution property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameResolution

      default TransportStream.Builder frameResolution(Consumer<FrameResolution.Builder> frameResolution)
      Sets the value of the FrameResolution property for this object. This is a convenience method that creates an instance of the FrameResolution.Builder avoiding the need to create one manually via FrameResolution.builder().

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

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

      The Packet ID (PID) as it is reported in the Program Map Table.
      Parameters:
      pid - The Packet ID (PID) as it is reported in the Program Map Table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sampleRate

      TransportStream.Builder sampleRate(Integer sampleRate)
      The sample rate used by the audio stream.
      Parameters:
      sampleRate - The sample rate used by the audio stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sampleSize

      TransportStream.Builder sampleSize(Integer sampleSize)
      The sample bit size used by the audio stream.
      Parameters:
      sampleSize - The sample bit size used by the audio stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamType

      TransportStream.Builder streamType(String streamType)
      The Stream Type as it is reported in the Program Map Table.
      Parameters:
      streamType - The Stream Type as it is reported in the Program Map Table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.