[vlc] RTSP client in vlc 2.1

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Sat Dec 14 18:35:07 CET 2013


On 12/14/2013 06:13 PM, Jean-Baptiste Kempf wrote:
> On 14 Dec, Gilles Chanteperdrix wrote :
>> On 12/14/2013 06:08 PM, Ross Finlayson wrote:
>>>>> 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.)
>>>>
>>>> I had thought about that, but this will not work either, what
>>>> happens if the user wants to change the sub-title track later? You
>>>> have the SETUP after TEARDOWN issue again.
>>>
>>> OK, so instead - how about not sending any "TEARDOWN"s at all (for
>>> any of the subtitle tracks)?  VLC will still receive all of the
>>> subtitle tracks (which shouldn't be a problem, because they're
>>> generally low-bitrate), but render only the one that the user's
>>> interested in.
>>
>> Yes, that is what vlc 2.0 used to do, and it worked.
> 
> Unless you share a patch, I doubt it will get fixed.
> 

So, we tell you: "your client violates the RTSP RFC", and your answer is
"we do not care"?

Quite frankly, given the mass of code in vlc, you would have to at least
provide us with some pointers for not motivating me to write my own dumb
RTSP video viewer.

-- 
                                                                Gilles.



More information about the vlc mailing list