Package 

Class VideoCaptureConfig

    • Method Detail

      • setVideoFrameRate

        @NonNull() VideoCaptureConfig setVideoFrameRate(int videoFrameRate)

        Sets the recording frames per second.

        Parameters:
        videoFrameRate - The requested interval in seconds.
      • setBitRate

        @NonNull() VideoCaptureConfig setBitRate(int bitRate)

        Sets the encoding bit rate.

        Parameters:
        bitRate - The requested bit rate in bits per second.
      • hasBitRate

         boolean hasBitRate()

        Returns true if has been setting this encoding bit rate.

      • getBitRate

         int getBitRate()

        Get the encoding bit rate.

      • setIFrameInterval

        @NonNull() VideoCaptureConfig setIFrameInterval(int interval)

        Sets number of seconds between each key frame in seconds.

        Parameters:
        interval - The requested interval in seconds.
      • getIFrameInterval

         int getIFrameInterval()

        Get number of seconds between each key frame in seconds.

      • setAudioCaptureEnable

        @NonNull() VideoCaptureConfig setAudioCaptureEnable(boolean enable)

        Enable the audio capture or disable the audio capture.

        Parameters:
        enable - true to turn on the audio capture, false to turn it off..
      • getAudioCaptureEnable

         boolean getAudioCaptureEnable()

        Return true if audio capture is enabled, false if audio capture is disabled.

      • setAudioBitRate

        @NonNull() VideoCaptureConfig setAudioBitRate(int bitRate)

        Sets the bit rate of the audio stream.

        Parameters:
        bitRate - The requested bit rate in bits/s.
      • getAudioBitRate

         int getAudioBitRate()

        Get the bit rate of the audio stream.

      • setAudioSampleRate

        @NonNull() VideoCaptureConfig setAudioSampleRate(int sampleRate)

        Sets the sample rate of the audio stream.

        Parameters:
        sampleRate - The requested sample rate in bits/s.
      • setAudioChannelCount

        @NonNull() VideoCaptureConfig setAudioChannelCount(int channelCount)

        Sets the number of audio channels.

        Parameters:
        channelCount - The requested number of audio channels.
      • setAudioMinBufferSize

        @NonNull() VideoCaptureConfig setAudioMinBufferSize(int minBufferSize)

        Sets the audio min buffer size.

        Parameters:
        minBufferSize - The requested audio minimum buffer size, in bytes.