[Fiware-robotics] Kurento KAS + webpages

Colombatto Davide davide.colombatto at telecomitalia.it
Tue May 12 15:20:14 CEST 2015


Hi Iñigo,

when I did my test I used the KAS implemented in NodeJS (kurento-one2many-call of the tutorials) with little modifications (i.e. some of these modifications are that you advised to Luis).
I attach my configuration in the email and you can find the KAS code at https://jolnas.myqnapcloud.com/owncloud/public.php?service=files&t=af75683e9342a003c73db4bc9d904592 (password is "robotics"): to use it you have to change in the server.js the ws_uri with your KMS_public_ip (FIWARE-Lab has deleted that I used).

HTML web-pages
KAS also works as "Host-Server" which exposes the web-pages required for the WebRTC Clients (e.g. Google Chrome browsers):

·         Kurento-master (which will send the video) uses the web-page index.html (accessible at "http://KAS_public_ip:port")

·         Kurento-viewers (which will see the video) use the web-page viewer.html (accessible at "http://KAS_public_ip:port/viewer.html)
N.B. these web-pages are simply created splitting the originally unique page (index.html) of the tutorial (kurento-one2many-call) in order to have two different web-pages: one for the Kurento-master and the other for the Kurento-viewers.

Robot side -Master
A .sh ROS node is used to start the WebRTC Client for the Kurento-master (Google Chrome browser) to the web-page index.html:
google-chrome "http://KAS_public_ip:port" --use-fake-ui-for-media-stream

PC side - Viewers
As said above, the viewers can view the video with a Google Chrome browser at the http://KAS_public_ip:port/viewer.html

Robustness issues

1.       Using this solution I see that sometimes (e.g. when you start many Kurento-viewers or you wrongly try to start more than one Kurento-master) the KAS crashes

2.       On my Windows7-PCs work only the solution that use Firefox browsers (working as Master or Viewer)

Davide
Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.

[rispetta l'ambiente]Rispetta l'ambiente. Non stampare questa mail se non è necessario.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-robotics/attachments/20150512/a6a410a7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Kurento.pptx
Type: application/vnd.openxmlformats-officedocument.presentationml.presentation
Size: 37916 bytes
Desc: Kurento.pptx
URL: <https://lists.fiware.org/private/fiware-robotics/attachments/20150512/a6a410a7/attachment.pptx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo Ambiente_foglia2.jpg
Type: image/jpeg
Size: 677 bytes
Desc: logo Ambiente_foglia2.jpg
URL: <https://lists.fiware.org/private/fiware-robotics/attachments/20150512/a6a410a7/attachment.jpg>


More information about the Fiware-robotics mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy