[MPlayer-dev-eng] patch for udp socket reuse for rtp multicast.

Sergey Pinaev dfo at antex.ru
Tue Mar 6 08:28:51 CET 2007


On Tue, 06 Mar 2007 00:42:28 +0100
Nico Sabbi <nicola_sabbi at fastwebnet.it> wrote:

> > why only for multicast? some time later you may want it
> > for broadcast or even unicast =)
> > 
> 
> like this?
> Is it safe to set that flag unconditionally or should it be driven
> by an option?

yes.
safe for multicast/broadcast. for unicast only one copy of programm
will(should) receive packets. in that case second programm will fail
with reason that no data received. imho it is acceptable. maybe
issuing a message like "Another player already playing stream?" would
be helpful.

-- 
mail="Sergey Pinaev <dfo at antex.ru>"
url="http://`echo $mail | sed 's/.* <\(.*\)@\(.*\)>/\1.\2/'`"



More information about the MPlayer-dev-eng mailing list