Access remote camera hosted on raspberry pi devices from Mendix application - Mendix Forum

Access remote camera hosted on raspberry pi devices from Mendix application

2

I would like to access remote camera hosted on raspberry Pi device or it could be webcam from Mendix application (any Browser/ios app/andriod app).

Which widget should I use to stream remote camera, so that I can capture photo or video from Mendix application?

Any connector available for it?

If nothing available ready to use, please guide me to achieve this use case.

asked
2 answers
1

If you already have an URL you might try this from the appstore: https://appstore.home.mendix.com/link/app/2578/Flock-of-Birds/JW-Player

Otherwise it is more a stackoverflow question: https://stackoverflow.com/questions/24675596/show-camera-stream-in-canvas-video-using-phonegap

HTML5 might also be an option: https://www.kirupa.com/html5/accessing_your_webcam_in_html5.htm

Regards,

Ronald

 

answered
0

The streaming is done by the RaspberryCam, so your Mendix app only has to show the streamed footage. The widget “Audio Video Playback” form the appstore does the trick. When you have downloaded this to you Mendix App, add a widget ‘Audio Video Playback Embed’ and add the URL. And you’re set to show the Raspberrycam.

See https://mydemoversion8-sandbox.mxapps.io/p/webcam for a (partial) demo.

answered