[Live-devel] SDP - trouble separating audio/video tracks

Ross Finlayson finlayson at live555.com
Thu May 16 12:54:46 PDT 2013


As a RTSP client, you can ask to stream just a single track, but *not* by specifying the track in the URL that you give to the RTSP "DESCRIBE" command.    (That URL must be one that represents the entire stream - i.e., in your example: "rtsp://192.168.1.123/mpeg4" )

Instead, the way you specify which track(s) you want is in the URL that you give to the RTSP "SETUP" command.  (The RTSP client will issue one "SETUP" command for each track that it wants.)  The RTSP "SETUP" command will use an URL that specifies each track that you want - i.e., in your example: "rtsp://192.168.1.123/mpeg4/track1"

This will be done automatically by your RTSP client application, if (and only if) it allows you to choose which track(s) you want.  Our "openRTSP" application does this (using the "-a" and/or "-v" options).  VLC (although it's not our application) apparently does as well, as you noted.


> In the VLC toolbar, I can select Video-->VideoTrack-->Disable, to turn off the video, but I need to be able to do this with the rtsp url.

As I noted above, you can't do that.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130516/45a162f0/attachment.html>


More information about the live-devel mailing list