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

Reply via email to