<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><blockquote type="cite">Problem 1: sub-titles streaming.<br><br>When playing the following URL:<br><a href="rtsp://xenomai.org:8554/video-tests/hd-fast.mp4">rtsp://xenomai.org:8554/video-tests/hd-fast.mp4</a><br><br>The playback works nicely, but when enabling a sub-title track, the<br>playback suddenly stops. After inspection of the RTSP dialog, here is<br>what happens. When starting playback, vlc sends a SETUP for every track,<br>then sends a global PLAY. When the user selects a sub-title track, it<br>sends a TEARDOWN for every sub-title track, then a SETUP only for the<br>selected track. At this point live555 (which is what I use for the RTSP<br>server) refuses to setup the track and returns a 404 error, which causes<br>vlc to stop playback.</blockquote></div><div><br></div><div><div><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">Unfortunately - after getting more information from Gilles, and thinking about this some more - I've come to the conclusion that it's VLC's LIVE555-interface code that's in error here, and should be fixed. The basic problem that VLC (again, its LIVE555-interface code) should not be sending a "SETUP" for a track after it's already been torn down. Most RTSP servers will not accept this, because the "TEARDOWN" command (according to the RTSP specification) is supposed to end a session.</span></div><div><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div>So, rather than sending a "TEARDOWN" for all subtitle tracks, and then doing a subsequent "SETUP" for the subtitle track that the user really wants, VLC's LIVE555-interface code should instead send a "TEARDOWN" for all subtitle tracks *except* the one that the user wants (and then not send another "SETUP"). (Note that you can do this using the second form of the "RTSPClient::sendTeardownCommand()" function: the one that takes a "MediaSubsession&" as parameter.)</div></span></div><div><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></div><div><br></div></div></body></html>