Disconnected camera or disconnected network

53 views
Skip to first unread message

Manuel Cañero

unread,
Sep 23, 2014, 11:38:12 AM9/23/14
to myproje...@googlegroups.com
Hi, I've been using flash-videoio for a while with no problems it works nice but, I want to know if there's any way to detect if the user disconnected his camera or  the user has lost network connection.
I've seen in the  VideoIO API there's some properties like camera and cameraFPS but I've tried to use them but when I disconnect my camera the property camera still on true and the fps doesnt falls to 0.

¿Can anyone give me some tips for this?


Thank for your response. Cheers

Steve McIntyre

unread,
Sep 23, 2014, 2:09:08 PM9/23/14
to myproje...@googlegroups.com
Hi Manuel,

You could try checking for the "bandwidth" property on the video that you're running the "play" stream in to see if you have incoming data.

Hope this helps,
Steve

Manuel Cañero

unread,
Sep 24, 2014, 5:41:49 AM9/24/14
to myproje...@googlegroups.com
Hi Steve,

 Thanks for your quick response. Unfortunately using bandwidth doesn't works very well for me, because I want to detect while recording if I'm still having network connection and my camera is plugged, using bandwith while recording sounds fine but If I unplug my camera the bandwidth start to fall down to 0 but it pass around few secs before reach 0 (in chrome) but in firefox it seems to do not fall to 0 even less than 6000, I could try to use it and put a limit of bandwidth but I don't know if there's a better way to do that.

I also try to use the "camera" property but once initialized if I unplugged the camera it still being true

Cheers

Manuel Cañero

unread,
Oct 6, 2014, 8:12:58 AM10/6/14
to myproje...@googlegroups.com


I tried with the property called 'Bandwidth' and sometimes works great but I've still seen videos which starts with this image 



Does anyone has the same problem? How can I fix this?


Cheers

Bernhard Niebsch

unread,
Oct 29, 2014, 12:05:29 PM10/29/14
to myproje...@googlegroups.com
Hi Manuel,

A colleague of mine had the same problem. There is a third party camera software, called "YouCam", installed on your machine. It was loading for ages, but eventually it worked... most of the times. In the cases, where YouCam didn't load the camera, a refresh helped.

We solved it by deinstalling the the third party camera software :) The camera works with the standard drivers from Windows.


Hope this helps,
Bernhard
Reply all
Reply to author
Forward
0 new messages