Problem with the communication-generator-rtsp example #812
-
Hi - I'm trying to get the an RTSP server going, and I thought I'd start with the communication-generator-rtsp example. The only thing I changed in the code was the SSID and password. I'm using a pretty generic ESP32 dev board from Amazon. As soon as I upload the sketch, the first output in the serial monitor is... Then there is a core dump, the module reboots, and the same thing happens again. I was able to run streams-generator-serial example successfully. Any suggestions on how to address this? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
After some more investigation, it looks like it is the instantiation of the AudioStreamer that triggers the crashes.
If I comment that out (and the instantiation of the rtsp object, and the subsequent startup of the rtsp server), the sketch runs successfully. If I then uncomment out just that line, the crashes start happening. Any suggestions greatly appreciated. |
Beta Was this translation helpful? Give feedback.
-
I did some more investigation, and discovered that the RTSP server in communication-generator-rtsp will start up if I create a serial stream.
I don't do anything with that serial stream - just instantiate it. No config, no "begin", no copying - just the instantiation. That seems super weird. |
Beta Was this translation helpful? Give feedback.
I just made a test and I could not reproduce your issue. However I noticed that this example does not generate a consistent sound any more.
Double check that you have an actual version in the Board Manager. The current version is 2.0.8!
I assume that you installed the latest versions of my libraries...