[Live-devel] GroupsockHelper.cpp ReceivingInterfaceAddr
zhonggp at chinabizone.com
Mon Nov 1 15:42:48 PST 2004
Have you solved your problem with multi-ethernet interfaces?
I am in the same trouble now.
I attempted to stream audio(mp3) in unicast way with "testOnDemandRTSPServer" in a Linux system with two ethernet interfaces:
I used VLC as a client to receive the stream ,and the URL was "rtsp://188.8.131.52:7070/mp3AudioTest".But it seemed VLC received nothing all the time --no audio and no message. However, the server was streaming all the time, and it still sent BYE when I closed VLC.
I thought it might be the problem with the ethert interface sequence.So ,I exchanged them. then restart it.
(with same URL prompt)
However, nothing happened, it was still the same result.
It puzzles me much,any suggenstion? Thanks in advance.
----- Original Message -----
From: "Arnold Liu" <asliu23 at yahoo.com>
To: "LIVE.COM Streaming Media - development & use" <live-devel at ns.live.com>
Sent: Tuesday, October 26, 2004 8:05 AM
Subject: Re: [Live-devel] GroupsockHelper.cpp ReceivingInterfaceAddr
> I can also get the streamer to stream out audio on
> different interfaces by changing the default gateway
> with "route" with no changes to the code. This is
> probably the solution that I'll use for the time
> --- Arnold Liu <asliu23 at yahoo.com> wrote:
> > Greetings All,
> > I have a Linux system with multiple ethernet
> > interfaces, and was attempting to configure the
> > "liveMedia" test program "testWAVAudioStreamer" to
> > use
> > something other than the default eth0 (which works
> > fine by the way).
> > I attempted to hack the two variables in
> > "GroupsockHelper.cpp" - SendingInterfaceAddr, and
> > ReceivingInterfaceAddr to force the use of a
> > particular interface. Here is what I've seen :
> > eth0 : 172.16.2.174
> > eth1 : 192.168.1.1
> > If Sending = INADDR_ANY, receiving = INADDR_ANY,
> > this
> > works, and packets go out to eth0
> > If Sending = eth0, Receiving = INADDR_ANY, this
> > works,
> > and packets go out to eth0
> > If Sending = eth0, Receiving = eth0, this does _not_
> > work, "OurSourceAddressForMulticast()" times out
> > waiting for the dummy packet.
> > If Sending = eth1, Receiving = INADDR_ANY, this also
> > times out waiting for the dummy packet.
> > If Sending = eth1, Receiving = eth1, this also times
> > out waiting for the dummy packet.
> > Was curious if anyone else has had any experience
> > using this library on different interfaces?
> > Regards,
> > Arnold
> > _______________________________________________
> > live-devel mailing list
> > live-devel at lists.live.com
> > http://lists.live.com/mailman/listinfo/live-devel
> live-devel mailing list
> live-devel at lists.live.com
More information about the live-devel