[vlc-devel] [PATCH] live555: fix the subtitles issue

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Mon Dec 30 14:40:30 CET 2013


On 12/30/2013 02:37 PM, Rémi Denis-Courmont wrote:
> Le lundi 30 décembre 2013, 12:55:12 Gilles Chanteperdrix a écrit :
>>> I'm not sure what you mean by 'time out' in this case, but, no.
> 
> OK, my mistake.
> 
>> Well, in the case of NAT, it does, the router closes the port after not
>> receiving packets for some time (around 30s in my case), so that when
>> unpausing a paused stream, vlc does not receive anything.
> 
> You _cannot_ use RTSP with unicast UDP behind a NAT (unless the NAT has an 
> RTSP ALG). Period.

No, it can be made to work. I know how, I already explained it on this list.

> 
>> I have submitted a patch to live555 to resend dummy packets when unpausing
>> a stream, in order to reopen the ports, but I have no idea of what it
>> became ;-)
> 
> This is silly. There is no way to determine what the outer source port will 
> be. And even if you knew what the port was, say with a cone NAT and a STUN 
> server, if the NAT flow timed out, there is no warranty that the port will be 
> the same as before pause.
> 
> If you are behind a NAT (without ALG), use Interleaved TCP.
> 

TCP sucks for streaming close to the DSL line bandwidth limit. As soon
as you loose one packet, you are dead.

-- 
                                                                Gilles.



More information about the vlc-devel mailing list