Interface TransportStreamProgram.Builder

  • Method Details

    • pcrPid

      The Program Clock Reference (PCR) Packet ID (PID) as it is reported in the Program Association Table.

      Parameters:
      pcrPid - The Program Clock Reference (PCR) Packet ID (PID) as it is reported in the Program Association Table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • programName

      TransportStreamProgram.Builder programName(String programName)

      The program name as it is reported in the Program Association Table.

      Parameters:
      programName - The program name as it is reported in the Program Association Table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • programNumber

      TransportStreamProgram.Builder programNumber(Integer programNumber)

      The program number as it is reported in the Program Association Table.

      Parameters:
      programNumber - The program number as it is reported in the Program Association Table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • programPid

      TransportStreamProgram.Builder programPid(Integer programPid)

      The program Packet ID (PID) as it is reported in the Program Association Table.

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

      The list of elementary transport streams in the program. The list includes video, audio, and data streams.

      Parameters:
      streams - The list of elementary transport streams in the program. The list includes video, audio, and data streams.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streams

      The list of elementary transport streams in the program. The list includes video, audio, and data streams.

      Parameters:
      streams - The list of elementary transport streams in the program. The list includes video, audio, and data streams.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streams

      The list of elementary transport streams in the program. The list includes video, audio, and data streams.

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

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

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