I am curious which protocol VLC uses to realize the trick modes fast forward, fast backward and seek when streaming VOD media.
I am currently developing a remote control which uses RTSP to control unicast streams to a given client.
It seems, that VLC uses RTSP for starting a stream (play), pausing and stop according to RFC 2326 (RTSP) but not for the trick modes.
I carefully watched the traffic between the server (VLC) and the client (VLC) with the use of Wireshark. I can see the requests and responses for play, pause and stop but not for fast forward and fast backward. To me it appears that this modes are kind of magic as I have no indication how it is realized - it seems as if there are no requests, but I know they must be there.
At least I can not control the stream with the "Scale" header field as requested by RFC 2326. Sending a request like
Code: Select all
PLAY rtsp://XXX.XXX.XXX.XX:1500/voodoo RTSP/1.0
Scale: 3
Session: xxxxxxxxxxxx
CSeq: 9
User-Agent: xxxxxxxxx
Code: Select all
RTSP/1.0 200 OK
Server: VLC Server
Content-Length: 0
Cseq: 9
Cache-Control: no-cache
Session: xxxxxxxxxxxx;timeout=5
I don't need a solution that conforms to some RFC, I just need to know how VLC does this.
I hope that somebody can shed some light on this issue and tell me how this is done, or at least point me to the right direction.
Kind regards and thanks.