Package tvi.webrtc
Class CameraVideoCapturer.CameraStatistics
- java.lang.Object
-
- tvi.webrtc.CameraVideoCapturer.CameraStatistics
-
- Enclosing interface:
- CameraVideoCapturer
public static class CameraVideoCapturer.CameraStatistics extends java.lang.ObjectHelper 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
Constructors Constructor Description CameraStatistics(SurfaceTextureHelper surfaceTextureHelper, CameraVideoCapturer.CameraEventsHandler eventsHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFrame()voidrelease()
-
-
-
Constructor Detail
-
CameraStatistics
public CameraStatistics(SurfaceTextureHelper surfaceTextureHelper, CameraVideoCapturer.CameraEventsHandler eventsHandler)
-
-