Hi, Thanks for using WebRTC feature on Crosswalk. Currently, Camera device can be used by only one application (one process), it can't be shared at the same time, I think it is resulted from Camera driver.
Now, Crosswalk app and Chrome are two different applications, running in two different processes. So when Crosswalk is capturing the camera, Chrome can't get the real camera content. About extension, are you using chrome package app? As far as I know, getUserMedia can be accessed in packaged app. Regards, Li Yin From: Crosswalk-help [mailto:[email protected]] On Behalf Of Frédéric Luart Sent: Wednesday, April 02, 2014 11:16 PM To: [email protected] Subject: [Crosswalk-help] access to camera during WebRTC call Hello, I have build an android app that use WebRTC to established a call on crosswalk. It works very well without any issues. I am now trying to access to camera for instance to modify Zoom during call. For that I have developed a custom extension to access the camera and set the zoom level : if (camera == null){ camera = Camera.open(); } Parameters p = camera.getParameters(); int currentZoom = p.getZoom(); p.setZoom(currentZoom + 1); camera.setParameters(p); The issue that I have (I think) is that the camera is already used by Chromium and so when I access the camera, the video is freezed. Is there a way to access to the camera device/process used by Chromium in an extension ? Thanks in advance Fred
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
