saki4510t / UVCCamera

library and sample to access to UVC web camera on non-rooted Android device
2.96k stars 1.19k forks source link

Is there a way to obtain permanent permission for a particular camera? #650

Open Sinket opened 2 years ago

Sinket commented 2 years ago

I'd like to be able to run camera stream from Android service. i.e. user grants permission for a specific camera while the app is in foreground and then when the app is closed a) a service is started which continues processing or b) the service is running which waits for a camera to be attached to the device and once connected, the camera starts w/o need to ask/grant permissions?

ahmad96hijazi commented 2 years ago

I'd like to be able to run camera stream from Android service. i.e. user grants permission for a specific camera while the app is in foreground and then when the app is closed a) a service is started which continues processing or b) the service is running which waits for a camera to be attached to the device and once connected, the camera starts w/o need to ask/grant permissions?

I am facing the same issue