Reputation: 356
I am going to develop a general application for mobile which will be used for video chatting.Therefore I need to access mobile camera and mic. Is there any functionality in javascript or jQuery by which I will be able to do that. Note: as it is a general function, so it should be able to access the camera of any mobile device.
Upvotes: 0
Views: 1324
Reputation:
You can use PhoneGap functionality which uses JavaScript, it's platform independent. You can use the method navigator.device.capture.captureVideo
of PhoneGap.
Upvotes: 3
Reputation: 5920
For a solution that actually just "works" and allows you to utilize the device's hardware properly, you'll need to code for native apps specific to the platform you're targeting. (ex. -> iOS, Android, etc.)
Upvotes: 0
Reputation: 382444
There is WebRTC.
But today, even if it aims at being the standard, it doesn't work on all browsers.
I don't think you'll find a standard (non flash or plugin based) and ready library enabling you to use the camera.
Upvotes: 0