CameraStatistics

open class CameraStatistics

Helper class to log framerate and detect if the camera freezes. It will run periodic callbacks on the SurfaceTextureHelper thread passed in the ctor, and should only be operated from that thread.

Constructors

Link copied to clipboard
constructor(surfaceTextureHelper: SurfaceTextureHelper, eventsHandler: CameraVideoCapturer.CameraEventsHandler)

Functions

Link copied to clipboard
open fun addFrame()
Link copied to clipboard
open fun release()