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

Streams hang when using ffmpeg #1483

Open
ra2ge opened this issue Nov 27, 2024 · 3 comments
Open

Streams hang when using ffmpeg #1483

ra2ge opened this issue Nov 27, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@ra2ge
Copy link

ra2ge commented Nov 27, 2024

Hello,

I have experienced hangs in the streams when using ffmpeg. Once the hang has occurred, it is not possible to view the output stream anymore until go2rtc is restarted.

I think the problem occurs when the client disconnects, because in the stream info of the hanged stream the producers still have data even though that there are no clients. There's no error in the logs, but I have noticed that the "[streams] stop reconnect url=..." log doesn't appear for the stream that hangs when the user disconnects.

I have been testing this with a grid of cameras. This doesn't happen in version 1.9.2. The problem occurs in version 1.9.3 and above.

@Dulaithol
Copy link

I ran into the same problem when running ffmpeg v5 on the lastest version of go2rtc. Upgrading to v7 has mostly fixed it. I had the issue happen once since but stable for almost a week now.

@AlexxIT AlexxIT added the bug Something isn't working label Nov 29, 2024
@AlexxIT AlexxIT self-assigned this Nov 29, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Nov 29, 2024

I think this is a known issue and there are similar issues to it.

@hazcod
Copy link

hazcod commented Dec 6, 2024

Not sure if related, but running on hasOS, latest go2rtp I see this when doing HomeKit proxying after e.g. 8 seconds:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants