Open karansihcl opened 2 months ago
Thanks for pointing this out.
The current CameraSensor implementation does not support VideoRequest
s right now so I'll add code to properly handle this exception. However this CameraSensor implementation is just a sample implementation and we encourage you to set up your own Sensor interface's implementation for whichever Sensor you want to work with. More details in the Sensor interface kdoc.
You can write your own CameraSensor implementation and register it with the Sensing library using api registerSensorFactory
.
Then use generic apis of SensorManager to capture using your sensor implementation.
Camera sensor throwing exception every time, when starting sensor manager for VideoRequest.
Also output generated by sensor manager for video recording contain multiple images. But expected output is a single video file in place of images.
Exception logs:
Initialisation code: