r/BirdNET_Analyzer • • Jul 01 '26

Error starting live stream with RTSP mic

https://github.com/Sukecz/esp32-birdnet-mic

Using this repo ^, I built an ESP32 mic that will forever live outside and stream audio on my home network.
I have a birdnet-go docker container running on my home server which is able to consistently identify birds based on their calls and songs, I can play back clips just fine. But whenever I attempt to listen to the live audio stream, I get an error, no context, no stack trace or logs. Just shows an error pop up and disappears. I glanced at the logs in **/config but didnt see anything meaningful. Also peepd the logs for the container without much success.

I am able to stream live using VLC so its not an issue with the mic.

I've set max clients on the mic to 3 just in case there was an issue with that.

What might be the issue?

5 Upvotes

9 comments sorted by

1

u/psychedelic_tech Jul 01 '26

2

u/Maxwell_hau5_caffy Jul 03 '26

opened an issue, the dev already is working a fix.

1

u/grannie-dot-com Jul 02 '26

this build looks awesome btw!!

2

u/Maxwell_hau5_caffy Jul 03 '26

Thanks! I ended up putting a cut up piece of a drink koozie in there to help with the increased reverb/echo after putting the front door on there.
I was going to eventually post the STL for others to use if they decide to make their own

1

u/somedudefromsj Sep 28 '26

I commented on your GitHub issue. I also had issues with getting my ESP32 + SPH0645 working in BirdNet-Go; it would say could not connect to stream, and I had no problems with VLC. Anyhow, I checked the stream using ffprobe and it said the transport was not matching: essentially sending over UDP when it was supposed to be TCP. I changed the transport setting in the BirdNet audio source UI and it connected first time.

Oddly enough after switching TCP -> UDP -> TCP, it connected every time. Possibly a UI bug, but I thought I'd share my experience.

1

u/Maxwell_hau5_caffy Oct 08 '26

I tried that but my RTSP stream never updated after switching between TCP/UDP. It was just stuck on TCP

There was another issue that I had originally opened. was closed as it was presumed fixed, and then when i tried to re-open it, i never saw a response. So i tried to open a new ticket but it doesnt seem to be gaining any traction. I would love to listen to my RTSP stream live but I havent been able to. Maybe its bc of my somewhat unique configuration i guess?