-
Notifications
You must be signed in to change notification settings - Fork 601
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
2-way audio (webrtc) for TAPO stops working after a short while #547
Comments
Done a bit more debugging. It seems as if only the first video+audio+microphone connection to the camera is working after the tapo producer is started. So if I close the video+audio+microphone window, but keeps the video+audio window running, the next time I open the video+audio+microphone window, the microphone (from browser to camera) will not work. (Unless I reopen before the stream is cancelled) Still if I close all windows and wait until the producer is closed, it will work again. I also found this TODO in the code, that might be related :) pkg/tapo/client.go:118 "/ TODO: fix closing connection" Any help will be highly appreciated :) And let me know, if I can do anything to help |
Can check in two weeks |
Did you get a chance to check it? Let me know if I can help. |
This source in the process of rewriting |
It was rewritten in the latest master version |
Absolutely great, thanks Alex I have tested in the docker container - and will test on the pi-server in a few days. |
I will try to run it on a Linux server with Docker instead and get back with the result. Thanks. |
Works much better on Docker :) Thanks. |
I am seeing this exact same problem, and logged an issue with the Frigate guys as I noticed this there, blakeblackshear/frigate#14066 Whats the best way to debug this issue @Eastravel / @AlexxIT |
@leaskovski If two way works at first, but when reopening it doesn't work - it's better to open a separate issue |
The audio stream to the camera stops working after some time (1 minute or so).
So it seems like the producer stops functioning correctly (2-way audio) after the stream without microphone has been open for some time.
I have used the webrtc.html builtin page.
log.txt
Log enclosed.
The text was updated successfully, but these errors were encountered: