Play RTSP Stream in VLC Player

I am trying to create a simple rtsp streaming server in java. The server can correctly transfer the video to a custom written player.

The problem I have is that I cannot play the same stream in the vlc media player. When I start the vlc media player and enter the stream information, the following request made by vlc is displayed on my server:

OPTIONS rtsp://192.168.2.8:8210/movie.3gp RTSP/1.0
CSeq: 1
User-Agent: VLC media player (LIVE555 Streaming Media v2010.01.07)

In response, I send the following to the vlc player:

RTSP/1.0 200 OK
Supported:  play.basic, con.persistent
CSeq: 1
Server:  Android mini RTSP Server
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE

After that, the vlc media player sends me null token, but I expect a token DESCRIBEor SETUP.

Any idea why vlc is sending me null token? Is there something I don't see in the response to the vlc request?

+3
source share
1 answer

rfc. http://www.ietf.org/rfc/rfc2326.txt

Supported: and Server:.

0