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

Guillaume POIRIER poirierg at gmail.com
Sat Mar 3 12:04:44 CET 2007


Hi,

On 3/3/07, SiO4, Yong Hwan <sio4 at users.sf.net> wrote:
> please excuse my poor English.
>
> recently, I made a gateway system for RTP multicast stream, and I use
> mplayer for stream preview and run-time monitor. In this way, I found a
> problem
> of mplayer's rtp stream handling style. - mplayer do not allow to share the
> multicast resource with others.
>
>
> I browse recent release and subversion HEAD for related codes, and found
> two related codes. the first, libavformat/udp.c, libavformat's udp implement
> has
> no problem, It can use SO_REUSEADDR by url option (udp://...), and It is not
> my case.
>
> another code is stream/udp.c. problem is here. in function
> udp_open_socket(),
> reuse option is not used. so I made a patch for it, and attach here.
>
>
> If there is no reason for it, please check and apply this patch to
> subversion.

Given the same of your patch, it seems it's against RC1. Could you
please check if it's still necessary to use your patch with current
version of MPlayer (from SVN)?

Guillaume



More information about the MPlayer-dev-eng mailing list