I try to using live555(a.k.a OpenRTSP) to setup RTSP server and client.
My Client application using live555, ffmpeg and SDL as streaming, decode and playback.
I found it might have deadlock if I try to call SDL_CloseAudio as following situation:
- When RTSP is down.
- When network is broken.
I am exclude it related to any timing issue because it works well if I try to call SDL_CloseAudio when server is not down.
Also, I have tried following API but still not work:
- Try SDL_PauseAudio before close it.
- Try SDL_UnlockAudio before close it.
Any idea for this?