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

Dropping/stuttering Connections permanently #37

Open
Pietschnitzel opened this issue Aug 2, 2024 · 4 comments
Open

Dropping/stuttering Connections permanently #37

Pietschnitzel opened this issue Aug 2, 2024 · 4 comments

Comments

@Pietschnitzel
Copy link

Hi yall,
first of all, really nice programm youve built, works great mostly.
But im having a pretty major issue, that being that the camera connection often drops or stutters.
i am running the command
python3 a9_naxclow.py -l -v -o live.avi

this is the -v output shows when the stream starts to stutter
image

amd this is the last output that shows when it crashes
image

to make sure its not my PC(running Ubuntu 22.04LTS) i also tested in on a Chromebook(running Debian 12), both have the same issue.
also tested it with the V720 app on Android where it runs fine(except when switching from IR to normal and vice versa)

(if the info is needed it has a BK7252UQN48 IC with firmware rev. 202405071414)

greets

@Pietschnitzel Pietschnitzel changed the title Dropping Connections permanently Dropping/stuttering Connections permanently Aug 2, 2024
@intx82
Copy link
Owner

intx82 commented Aug 3, 2024

It's nice that it still works with a newer version :)
I am not sure that in near future i will fix it, if you will find how to fix this (i mean provide some MR), i'll check it and merge.

If i correctly remember, the camera can send not full packet. For example, if this is an end of the frame, but for such purposes there was a flag. And after camera waits some packet to continue, if not it closes the connection. Need to check FSM in original disassembled sources.

@Pietschnitzel
Copy link
Author

hi again, totally didnt forget to reply

maybe it would be more beneficial/easier to just immediately reestablish a connection rather than trying to stitch together packets

i would try to make a fix, but unfortunately i have but i have basically 0 experience with networking things beyond the basics of setting up a server/client with code borrowed from the internet

greets
(i am again so sorry for not replying but thats just unfortunately how i am)

@intx82
Copy link
Owner

intx82 commented Oct 30, 2024

I saw such troubles with my cameras, but doesn't have a time to fix it.
Share please some logs. If you found where the issue is happens, or even provide a fix, I will be appreciated.

@Jonty16117
Copy link

I am too facing the same issue, the live video suddenly stops working! can we have a fix please 😢 ?

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

3 participants