Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I avoid losing connection to the video source? #6

Open
vertebot opened this issue Oct 9, 2018 · 2 comments
Open

How can I avoid losing connection to the video source? #6

vertebot opened this issue Oct 9, 2018 · 2 comments

Comments

@vertebot
Copy link

vertebot commented Oct 9, 2018

Hello

I'm using HebiCam to acquire video from RAK5206 wifi camera modules. I have 5 cameras connected to 5 different laptops running Matlab 2018a/Windows 10. Acquisition works fine most of the time (thank you for the excellent work) but every 2-5 min or so I get this error: 'Connection to video source was lost. Acquisition stopped.'. When this happens I have to stop my acquisition GUI and create a new HebiCam object (the Windows wifi connection to the camera remains intact however).

How can I avoid these disconnects? What's causing them? All wifi camera modules are <3m from their host laptop at all times. The wifi protocol is 802.11g/2.4 GHz. I've tried to increase the HebiCam timeout to 5 s but it doesn't seem to make any difference. Is there any other parameter in HebiCam that I should try to adjust? I'm happy to sacrifice frame rate and image quality.

Thank you

@ennerf
Copy link
Contributor

ennerf commented Oct 9, 2018

That should only happen if the frame grabber wasn't able to read an image within the timeout period.

How did you verify that the connection to the camera stays intact? Do you have a second connection to the camera that displays images without issues or stutters?

@vertebot
Copy link
Author

vertebot commented Oct 9, 2018

Thank you for the quick response. Does the frame grabber try multiple times to get an image, or does it go to the error right away?

Re the wifi connection: I just meant that the wifi icon in the system tray doesn't change to 'not connected' (as it does for example if the wifi camera loses power). However, I am able to stream video for long periods without interruption in Visview for Windows (an app based on VLC Player library).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants