IP Cam example

350 views
Skip to first unread message

jusaf

unread,
Mar 14, 2016, 9:52:13 AM3/14/16
to kurento
Hi,

I was having a look at the IP Cam example and although it doesn't throw any errors, the video simply doesn't load.
Trying to open the video source (http://files.kurento.org/video/puerta-del-sol.ts) directly in the browser shows:

This site cant be reached

files.kurento.orgs server DNS address could not be found.

ERR_NAME_NOT_RESOLVED

Is this demo outaded or am i doing something wrong?
Is there another URL i can try to test this out?

Thanks

Ivan Gracia

unread,
Mar 14, 2016, 9:56:45 AM3/14/16
to Kurento Public
The correct location of that video is http://files.kurento.org/video/filter/puerta-del-sol.ts

Ivan Gracia



--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

jusaf

unread,
Mar 14, 2016, 10:03:40 AM3/14/16
to kurento
Great, that works!

How would i connect to a stream that requires authentication (username/password)?

I suppose i should be able to pass the username and password when creating the endpoint here:

pipeline.create("PlayerEndpoint", {uri: address.value}, function(error, player){}

what is the proper syntax? 

Ivan Gracia

unread,
Mar 14, 2016, 10:16:43 AM3/14/16
to Kurento Public
I must confess I've never tried that myself. I'd assume it should be rtsp://jusaf:mypassword@[camera-address]

Ivan Gracia


jusaf

unread,
Mar 14, 2016, 10:56:17 AM3/14/16
to kurento
Yep that works, thanks!

jusaf

unread,
Mar 14, 2016, 9:53:19 PM3/14/16
to kurento
I have another question regarding the IP cam example.
I am concerned about security, since the URL and username/password of the IP are directly visible in the JS code in the client, would it be possible that instead the client would send a connection request for the IP cam to for example a nodejs app and this app would validate the user and if everything ok creates the pipleline between the user and the IP cam?

If yes, how would something like that be done?

Ivan Gracia

unread,
Mar 15, 2016, 3:35:06 AM3/15/16
to kurento

Check any of the nodejs tutorials, and you'll see how it can be done the way you are proposing.

viveksharm...@gmail.com

unread,
Apr 18, 2016, 4:42:20 AM4/18/16
to kurento
Hi,
i am also referring https://github.com/lulop-k/kurento-rtsp2webrtc example and the source url i am setting is : http://files.kurento.org/video/filter/puerta-del-sol.ts
but the video is not loading. following messages are coming in console:
constraints: {"mandatory":{"OfferToReceiveAudio":true,"OfferToReceiveVideo":true},"optional":[{"DtlsSrtpKeyAgreement":true}]}
Created SDP offer
Local description set
reconnect to server
reconnect to server
reconnect to server

Kindlu Help!

Thanks

jusaf

unread,
Apr 19, 2016, 5:39:27 PM4/19/16
to kurento
Those "reconnect to server" messages show that kurento is not available anymore (probably crashed).

Vivek Sharma

unread,
Apr 20, 2016, 1:11:27 AM4/20/16
to kurento
For given example i.e. kurento-rtsp2webrtc,  http://files.kurento.org/video/filter/puerta-del-sol.ts is the place where KMS is hosted ? then how can i stream?
Is there any other link available or any other way to test it?

Regards,
Vivek
Reply all
Reply to author
Forward
0 new messages