Crowsnest webrtc stream stays on after site is closed on android (chrome & firefox)

So, I have been scratching my head for couple weeks now as I noticed that camera stream is not killed if web browser is closed on my android phone (Nothing Phone(1)). On Firefox the stream is killed if I close the tab and then close the browser, but if I close the browser before killing the tab, the stream stays on and when the browser is opened again, a new stream is created. On chrome a new stream is always created. Only way I have been able to kill these ghost streams is by rebooting the raspberry on which I am running the ratos. In the traffic graph from my firewall you see clear jumps in bandwidth each representing closing and opening the browser. The one where the usage drops is from firefox by closing the tab as the stream gets killed that way. What could be the cause of this and how to fix it?
No description
2 Replies
miklschmidt
miklschmidt2mo ago
I would ask in the crowsnest channel on the Mainsail discord as this is all unmodified third party software
Ben
Ben2mo ago
Not exactly solved, but the root cause is a bug in camera-streamer used in crowsnest: https://github.com/mainsail-crew/crowsnest/issues/135 Haven't tried to change out of webrtc but changing to mjpeg-streamer should fix this.
GitHub
Camera Streamer UDP Ghost Stream · Issue #135 · mainsail-crew/crows...
What happened Camera Streamer currently has an isse, where a stream keeps running after it has been closed. This can overwhelm older Hardware quite quickly. In my case even causing me to no longer ...
Want results from more Discord servers?
Add your server