Interface AudioPid.Builder

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

@Mutable @NotThreadSafe public static interface AudioPid.Builder extends SdkPojo, CopyableBuilder<AudioPid.Builder,AudioPid>
  • Method Details

    • dolbyEDecode

      AudioPid.Builder dolbyEDecode(AudioDolbyEDecode dolbyEDecode)
      Configure decoding options for Dolby E streams - these should be Dolby E frames carried in PCM streams tagged with SMPTE-337. When using the 'pids' array, if this field is not specified and Dolby E content is present, the decoder will extract the specified program. To maintain legacy behavior (allPrograms), explicitly set programSelection to "allChannels".
      Parameters:
      dolbyEDecode - Configure decoding options for Dolby E streams - these should be Dolby E frames carried in PCM streams tagged with SMPTE-337. When using the 'pids' array, if this field is not specified and Dolby E content is present, the decoder will extract the specified program. To maintain legacy behavior (allPrograms), explicitly set programSelection to "allChannels".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dolbyEDecode

      default AudioPid.Builder dolbyEDecode(Consumer<AudioDolbyEDecode.Builder> dolbyEDecode)
      Configure decoding options for Dolby E streams - these should be Dolby E frames carried in PCM streams tagged with SMPTE-337. When using the 'pids' array, if this field is not specified and Dolby E content is present, the decoder will extract the specified program. To maintain legacy behavior (allPrograms), explicitly set programSelection to "allChannels". This is a convenience method that creates an instance of the AudioDolbyEDecode.Builder avoiding the need to create one manually via AudioDolbyEDecode.builder().

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

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

      PID value from within a source.
      Parameters:
      pid - PID value from within a source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • premixSettings

      AudioPid.Builder premixSettings(AudioPreMixerSettings premixSettings)
      Optional audio pre-mixer settings for this PID. When specified, allows per-PID audio processing including channel remixing, gain adjustment, and loudness normalization before interleaving.
      Parameters:
      premixSettings - Optional audio pre-mixer settings for this PID. When specified, allows per-PID audio processing including channel remixing, gain adjustment, and loudness normalization before interleaving.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • premixSettings

      default AudioPid.Builder premixSettings(Consumer<AudioPreMixerSettings.Builder> premixSettings)
      Optional audio pre-mixer settings for this PID. When specified, allows per-PID audio processing including channel remixing, gain adjustment, and loudness normalization before interleaving. This is a convenience method that creates an instance of the AudioPreMixerSettings.Builder avoiding the need to create one manually via AudioPreMixerSettings.builder().

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

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