Interface VideoConfiguration.Builder

    • Method Detail

      • avcLevel

        VideoConfiguration.Builder avcLevel​(String avcLevel)

        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.

        Parameters:
        avcLevel - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • avcProfile

        VideoConfiguration.Builder avcProfile​(String avcProfile)

        Indicates to the decoder the requirements for decoding the stream. For definitions of the valid values, see the H.264 specification.

        Parameters:
        avcProfile - Indicates to the decoder the requirements for decoding the stream. For definitions of the valid values, see the H.264 specification.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • codec

        VideoConfiguration.Builder codec​(String 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

        VideoConfiguration.Builder encoder​(String 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.