Items with no label
3335 Discussions

Any way to enable webpage functionality without JavaScript?

JHenr5
Novice
1,678 Views

Now that there is no support for JavaScript and the web run-time is removed, is there any way to access the RealSense capabilities from a webpage? I am trying to incorporate online video content with user interactions.

Thanks

0 Kudos
6 Replies
idata
Employee
292 Views

Hi Gohorns,

 

 

Thanks for contacting us!

 

 

We would like to let you know that we are investigating a little bit more regarding your question and as soon as we have useful information we'll let you know.

 

 

We'll appreciate your patience during the meantime.

 

 

Regards,

 

-Yermi A.

 

0 Kudos
MartyG
Honored Contributor III
292 Views

Using RealSense online was difficult even before the JavaScript web runtime was removed. In my own RealSense project in the Unity game creation engine, I use Unity's UNet networking system for the online functionality. That's only useful though for communication between different instances of a Unity application, whereas you want your application to run in the browser.

Unity does have a web player, allowing Unity applications to run in the browser via a plugin.

https://unity3d.com/webplayer Unity - Web Player Download

However, last time I investigated this a couple of years ago, I couldn't get it to work. The suspected reason was that the security functions in browsers didn't want to let the camera's DLL library files run in a browser as a plugin, as it was regarded as being a security risk. So without those, the camera couldn't activate when the application was run in the browser. I don't know if this situation has changed since then.

0 Kudos
idata
Employee
292 Views

Hi Gohorns,

 

 

Thanks for your patience. It cannot be done with the RealSense SDK and DCM but it can be done with Librealsense. The web based sample source code at http://github.com/IntelRealSense/realsense_samples http://github.com/IntelRealSense/realsense_samples shows how to marshall video from a single server using librealsense, to multiple web apps running in multiple local or remote processes.

 

 

Hope you find this information useful.

 

 

Regards,

 

-Yermi A.

 

JHenr5
Novice
292 Views

This is a great resource. However, it looks like this project is Linux specific. Is there a Windows version that you know of?

0 Kudos
idata
Employee
292 Views

Hi Gohorns,

 

 

You could try installing Librealsense in Windows, please take a look at https://github.com/IntelRealSense/librealsense# compatible-platforms Intel® RealSense™ Cross Platform API, and try to use those web based samples. Keep in mind that those samples are based on the ZR300 camera.

 

 

Regards,

 

-Yermi A.

 

0 Kudos
JHenr5
Novice
292 Views

Great info. This is exactly what I needed.

0 Kudos
Reply