Running RTSP server, but no audio #1017
-
1th, thank you for your impeccable work. it is jaw dropping!
this is the output loge:
i use VLC with this line: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
I could never get any decent sampling rates using RTSP. If you want to play the audio on some android or ios devices you will need an app. Unfortunately there are not many apps that use a open source, documented protocol. I recently found VBAN and added the support for this protocol today. Some examples can be found here Unfortunately multicast is not providing any good results in my environment, but with unicast I can go up to 44100 samples/second and stereo w/o problems. |
Beta Was this translation helpful? Give feedback.
-
I am not sure what you mean with speed: if it is a minimal latency (=delay/lag), then the server/browser solution looses because of the big buffers used by the browser. If it's a high sample rate, then a solution using a codec would be preferred because of the limited network bandwidth. The ADC uses DMA, so you can get very high sampling rates (e.g. 48000 samples/second) w/o any problems and you can minimize the lag by decreasing the I2S buffer_size and/or buffer_count |
Beta Was this translation helpful? Give feedback.
-
That's nonsense: what makes you think I would do something like this on an ESP32 ? Would you eventually volunteer to provide an implementation for the new API that comes with the latest IDF release? |
Beta Was this translation helpful? Give feedback.
-
Oh, I am not angry. The thing is with Arduino ESP 3.0.0 which is alpha now, the old analog API which is based on I2S will not work any more and we need to switch to the new one! |
Beta Was this translation helpful? Give feedback.
I could never get any decent sampling rates using RTSP.
If you want to play the audio on some android or ios devices you will need an app. Unfortunately there are not many apps that use a open source, documented protocol.
I recently found VBAN and added the support for this protocol today.
Some examples can be found here
Unfortunately multicast is not providing any good results in my environment, but with unicast I can go up to 44100 samples/second and stereo w/o problems.