Seems to tell VLC to play from "/stream=0", instead of specified stream
I have an RTSP server and sometimes it works and VLC can stream from it, sometimes VLC can't.
Doing some poking around with Wireshark, I discovered that what often happens is that VLC sends a SETUP command to my specified URL: "rtsp://127.0.0.1:8554/test".
The SETUP commands returns with an SDP of:
v=0
o=- 711968724873177346 1 IN IP4 127.0.0.1
s=Session streamed with GStreamer
i=rtsp-server
t=0 0
a=tool:GStreamer
a=type:broadcast
a=control:*
a=range:npt=0-
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4d0029;sprop-parameter-sets=Z00AKeKQKDPz4C3AQEBpB4kRUA==,aO48gA==
a=control:stream=0
a=ts-refclk:local
a=mediaclk:sender
What is particularly interesting from that code is "a=control:stream=0" This tells VLC that it should stream from the URL "/stream=0".. exactly what VLC tries to do.
Am I setting somewhere weird in my settings? Will dive into code but let me know if you see something.