Interface VideoConfiguration.Builder

  • Method Details

    • avcProfile

      VideoConfiguration.Builder avcProfile(String avcProfile)

      (Deprecated) Indicates to the decoder the requirements for decoding the stream. For definitions of the valid values, see the H.264 specification. This is populated only when VideoConfiguration is part of the deprecated IngestConfiguration; otherwise, this is an empty string.

      Parameters:
      avcProfile - (Deprecated) Indicates to the decoder the requirements for decoding the stream. For definitions of the valid values, see the H.264 specification. This is populated only when VideoConfiguration is part of the deprecated IngestConfiguration; otherwise, this is an empty string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • avcLevel

      VideoConfiguration.Builder avcLevel(String avcLevel)

      (Deprecated) Indicates the degree of required decoder performance for a profile. Normally this is set automatically by the encoder. For details, see the H.264 specification. This is populated only when VideoConfiguration is part of the deprecated IngestConfiguration; otherwise, this is an empty string.

      Parameters:
      avcLevel - (Deprecated) Indicates the degree of required decoder performance for a profile. Normally this is set automatically by the encoder. For details, see the H.264 specification. This is populated only when VideoConfiguration is part of the deprecated IngestConfiguration; otherwise, this is an empty string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codec

      Codec used for the video encoding.

      Parameters:
      codec - Codec used for the video encoding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encoder

      Software or hardware used to encode the video.

      Parameters:
      encoder - Software or hardware used to encode the video.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetBitrate

      VideoConfiguration.Builder targetBitrate(Long targetBitrate)

      The expected ingest bitrate (bits per second). This is configured in the encoder.

      Parameters:
      targetBitrate - The expected ingest bitrate (bits per second). This is configured in the encoder.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetFramerate

      VideoConfiguration.Builder targetFramerate(Long targetFramerate)

      The expected ingest framerate. This is configured in the encoder.

      Parameters:
      targetFramerate - The expected ingest framerate. This is configured in the encoder.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • videoHeight

      VideoConfiguration.Builder videoHeight(Long videoHeight)

      Video-resolution height in pixels.

      Parameters:
      videoHeight - Video-resolution height in pixels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • videoWidth

      VideoConfiguration.Builder videoWidth(Long videoWidth)

      Video-resolution width in pixels.

      Parameters:
      videoWidth - Video-resolution width in pixels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • level

      Indicates the degree of required decoder performance for a profile. Normally this is set automatically by the encoder. When an AVC codec is used, this field has the same value as avcLevel.

      Parameters:
      level - Indicates the degree of required decoder performance for a profile. Normally this is set automatically by the encoder. When an AVC codec is used, this field has the same value as avcLevel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • track

      Name of the video track. If multitrack is not enabled, this is Track0 (the sole track).

      Parameters:
      track - Name of the video track. If multitrack is not enabled, this is Track0 (the sole track).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profile

      Indicates to the decoder the requirements for decoding the stream. When an AVC codec is used, this field has the same value as avcProfile.

      Parameters:
      profile - Indicates to the decoder the requirements for decoding the stream. When an AVC codec is used, this field has the same value as avcProfile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.