Hi,
The SAT>IP support is broken with both "satip://" and "rtsp://".
I do some sniffing in the network using DVBviewer and VideoLAN to isalte the problem. My server is a hardware SAT>IP DVB-S2 server.
Here some results (simplifying):
- DVBviewer (working):
Code: Select all
> OPTIONS rtsp://192.168.3.40:554/ RTSP/1.0
< ok
> SETUP rtsp://192.168.3.40:554/?src=1&freq=12012...
< ok
> PLAY rtsp://192.168.3.40:554/stream=86?addpids=0,17,16 RTSP/1.0
< ok
> TEARDOWN rtsp://192.168.3.40:554/stream=86 RTSP/1.0
< ok
- VideoLAN with "rtsp://" (error):
Code: Select all
> OPTIONS rtsp://192.168.3.40:554/?src=1&freq=12012...
< ok
> DESCRIBE rtsp://192.168.3.40:554/?src=1&freq=12012...
< ok
> SETUP stream=11369/stream=11373 RTSP/1.0
< bad request
> SETUP stream=11369/stream=11373 RTSP/1.0
< bad request
... (repeated around 20~30 times!)
> SETUP rtsp://192.168.3.40:554/?src=1&freq=12012...
< bad request
> OPTIONS rtsp://192.168.3.40:554 RTSP/1.0
< ok
> OPTIONS rtsp://192.168.3.40:554/?src=1&freq=12012...
< ok
> DESCRIBE rtsp://192.168.3.40:554/?src=1&freq=12012...
< ok
> SETUP stream=11369/stream=11373 RTSP/1.0
< bad request
- VideoLAN with "satip://" (error):
Code: Select all
> SETUP rtsp://192.168.3.40:554/?src=1&freq=12012...
> SETUP rtsp://192.168.3.40:554/?src=1&freq=12012...
> SETUP rtsp://192.168.3.40:554/?src=1&freq=12012...
... (no responses and repeate >100times!)
Conclusions:
- The correct order of RTSP commands for use a SAT>IP server is:
1) OPTIONS (without parameters).
2) SETUP (with the full URI of the resource).
3) PLAY (with the stream value done by the server).
4) TEARDOWN (with the corresponding stream).
- The current implementation in VLC for the "satip://" protocol is incomplete and unusable.
- The current implementation in VLC for the "rtsp://" protocol with a SAT>IP server can be fixed if:
1) With the first OPTIONS isn't sended any parameter.
2) Don't send any DESCRIBE command prior to start to play.
3) The SETUP command needs to pass the full URI and not the stream (the stream is a response of active one from the server in response of the previous DESCRIBE command).
4) After complete the SETUP, send the PLAY command with the stream number received.
I feel with this information the developers can fix the support for SAT>IP devices.