Open shree-ram opened 8 years ago
What you get when you try CameraSource.getInstance().getCount(); ? The number of sourcec changes when you attach external camera? If yes, only thing you have to do is to pick source like this: CameraSource.getInstance().selectSource(number_of_source);
Thanks for your reply. Nopes, it does not detect as native camera, so the getCount does not change
Do we have to find place of camera initialization. I need it to to use flash. Have you seen it anywhere? CameraSource isn't right place
Camera filr
Camera cam = Camera.open();
Parameters p = cam.getParameters();
p.setFlashMode(Parameters.FLASH_MODE_TORCH);
cam.setParameters(p);
cam.startPreview();
I know how to do that, but I can't find class where there is camera initialization. You can't use camera when it is busy. I'm the same place you will be able to change source
I am able to get video stream from UVC camera connected to Android device on SurfaceView, want to stream this video via OpenwebRTC, please can you guide me.