-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starting FlashLight #10
Comments
This is very tricky to implement at the moment, as the camera object is hidden quite deep in the jni layer in the GStreamer plugin https://github.com/EricssonResearch/openwebrtc-gst-plugins/blob/e09bfa127e59cd76b2bb0571258aadcdcce966e6/sys/androidvideo/video-source/jni/android_video_capture_device.c#L2326 There might be some good way to expose the object, but nothing is implemented at the moment. |
Might it be simpler to use existing Android APIs to control the flash rather than exposing it through all the layers? |
Not possible, you need to have a reference to the camera object to be able to start the flashlight. |
Thanx for your answer, I think it's not worth it for know for me to go such deep to make it work. But thank you for information where to look it for :) |
Hi, I have problem to find where is initialisation of the camera in SDK. I need to start a flashlight and I can't figured out where to find it. I need camera variable to make it so.
The text was updated successfully, but these errors were encountered: