[MPlayer-dev-eng] Re: [PATCH] for optional RTP/RTCP streaming over TCP

Bertrand Baudet bertrand_baudet at yahoo.com
Wed Oct 9 01:49:51 CEST 2002


On Wednesday 09 October 2002 04:36 am, Ross Finlayson wrote:
> >Anyway, works well for me with your example, I just wondering if it's
> > possible to have a timeout on the udp connection if no udp packets come
> > back , do a tearsdown and reinitiate the connection using TCP
>
> Implementing that would be a bit messy, because by the time we get a UDP
> timeout, a lot of state has already been set up, and to retry the streaming
> using TCP, it would have to get torn down and rebuilt from scratch.  This
> would make the code significantly more complex.
>
> Something much simpler, which I'll probably add at some point, will be to
> print a warning message if we get a UDP timeout, telling the user that no
> UDP packets have been received, and noting that he can try rerunning
> mplayer with the TCP streaming option.



More information about the MPlayer-dev-eng mailing list