Skip to content

RTSP - VLC should wait to sent "SETUP" request until after it hears back from "DESCRIBE" request

I'm using Gstreamer to create a server that uses a RTSP stream to stream video to a VLC client. I discovered a VLC bug related to this.

Using wireshark I discovered that VLC will send a "DESCRIBE" HTTP request, followed immediately by a "SETUP" HTTP request. It should wait for "RTSP/1.0 200 OK" after DESCRIBE, then modify SETUP because of what it gets back from DESCRIBE request.

Instead, sometimes the SETUP request will get called before getting the DESCRIBE response and instead of DESCRIBE modifying the SETUP request, it will get confused and modify all following calls.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information