Page 1 of 1

solution for broken "miface" param for libvlc 2.0 on Windows

Posted: 04 May 2012 14:22
by r21514
"miface" parameter in VLC 2.0 on Windows seems to be broken.
So, before playing udp://@ through libvlc you need to create udp socket on correct network interface yourself.
Bind it, add membership to mcast group and then make libvlc play.
While playback you do nothing with socket.
After stop event of libvlc you drop membership and close the socket.

It's that simple.