Package tvi.webrtc
Class CameraVideoCapturer.CameraStatistics
java.lang.Object
tvi.webrtc.CameraVideoCapturer.CameraStatistics
- Enclosing interface:
- CameraVideoCapturer
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.
-
Constructor Summary
ConstructorDescriptionCameraStatistics
(SurfaceTextureHelper surfaceTextureHelper, CameraVideoCapturer.CameraEventsHandler eventsHandler) -
Method Summary
-
Constructor Details
-
CameraStatistics
public CameraStatistics(SurfaceTextureHelper surfaceTextureHelper, CameraVideoCapturer.CameraEventsHandler eventsHandler)
-
-
Method Details
-
addFrame
public void addFrame() -
release
public void release()
-