Class VideoConfiguration

    • Method Detail

      • avcLevel

        public final 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.

        Returns:
        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.
      • avcProfile

        public final String avcProfile()

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

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

        public final String codec()

        Codec used for the video encoding.

        Returns:
        Codec used for the video encoding.
      • encoder

        public final String encoder()

        Software or hardware used to encode the video.

        Returns:
        Software or hardware used to encode the video.
      • level

        public final String 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:
        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.
      • profile

        public final String 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:
        Indicates to the decoder the requirements for decoding the stream. When an AVC codec is used, this field has the same value as avcProfile.
      • targetBitrate

        public final Long targetBitrate()

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

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

        public final Long targetFramerate()

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

        Returns:
        The expected ingest framerate. This is configured in the encoder.
      • track

        public final String track()

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

        Returns:
        Name of the video track. If multitrack is not enabled, this is track0 (the sole track).
      • videoHeight

        public final Long videoHeight()

        Video-resolution height in pixels.

        Returns:
        Video-resolution height in pixels.
      • videoWidth

        public final Long videoWidth()

        Video-resolution width in pixels.

        Returns:
        Video-resolution width in pixels.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)