Interface VideoProperties.Builder

  • Method Details

    • bitDepth

      VideoProperties.Builder bitDepth(Integer bitDepth)
      The bit depth of the video track.
      Parameters:
      bitDepth - The bit depth of the video track.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bitRate

      VideoProperties.Builder bitRate(Long bitRate)
      The bit rate of the video track, in bits per second.
      Parameters:
      bitRate - The bit rate of the video track, in bits per second.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • colorPrimaries

      VideoProperties.Builder colorPrimaries(String colorPrimaries)
      The color space color primaries of the video track.
      Parameters:
      colorPrimaries - The color space color primaries of the video track.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • colorPrimaries

      VideoProperties.Builder colorPrimaries(ColorPrimaries colorPrimaries)
      The color space color primaries of the video track.
      Parameters:
      colorPrimaries - The color space color primaries of the video track.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • frameRate

      VideoProperties.Builder frameRate(FrameRate frameRate)
      The frame rate of the video or audio track.
      Parameters:
      frameRate - The frame rate of the video or audio track.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameRate

      default VideoProperties.Builder frameRate(Consumer<FrameRate.Builder> frameRate)
      The frame rate of the video or audio track. This is a convenience method that creates an instance of the FrameRate.Builder avoiding the need to create one manually via FrameRate.builder().

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

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

      The height of the video track, in pixels.
      Parameters:
      height - The height of the video track, in pixels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matrixCoefficients

      VideoProperties.Builder matrixCoefficients(String matrixCoefficients)
      The color space matrix coefficients of the video track.
      Parameters:
      matrixCoefficients - The color space matrix coefficients of the video track.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • matrixCoefficients

      VideoProperties.Builder matrixCoefficients(MatrixCoefficients matrixCoefficients)
      The color space matrix coefficients of the video track.
      Parameters:
      matrixCoefficients - The color space matrix coefficients of the video track.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • transferCharacteristics

      VideoProperties.Builder transferCharacteristics(String transferCharacteristics)
      The color space transfer characteristics of the video track.
      Parameters:
      transferCharacteristics - The color space transfer characteristics of the video track.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • transferCharacteristics

      VideoProperties.Builder transferCharacteristics(TransferCharacteristics transferCharacteristics)
      The color space transfer characteristics of the video track.
      Parameters:
      transferCharacteristics - The color space transfer characteristics of the video track.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • width

      The width of the video track, in pixels.
      Parameters:
      width - The width of the video track, in pixels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.