[Live-devel] IP_ADD_MEMBERSHIP error in test programs
Stas Desyatnlkov
stas at mer.co.il
Tue Nov 21 00:52:06 PST 2006
Change ReceivingInterfaceAddr variable to point to the Ethernet adapter
you trying to use for multicast.
_____
From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Victor Kozhuhov
Sent: Tuesday, November 21, 2006 12:13 AM
To: live-devel at ns.live555.com
Subject: [Live-devel] IP_ADD_MEMBERSHIP error in test programs
Hello,
I am building a multicast-enabled RTSP server based on liveMedia
library.
Following all instructions (FAQ, archives and sample programs) I have to
use PassiveServerMediaSubsession.
No problem with this, except that I can not open a socket for multicast
- it always fails joining multicast group.
I tried to build and run the testWAVAudioStreamer.cpp sample, and here
is the output:
Audio source parameters:
44100 Hz, 16 bits-per-sample, 1 channels => 705600
bits-per-second
Converting to network byte order for streaming
03:49:05 Groupsock(2964: 232.85.88.236, 2222, 255): failed to join
group: setsockopt(IP_ADD_MEMBERSHIP) error: Unknown error
03:49:05 Groupsock(2788: 232.85.88.236, 2223, 255): failed to join
group: setsockopt(IP_ADD_MEMBERSHIP) error: Unknown error
Play this stream using the URL "rtsp://192.168.0.1:8554/testStream"
Beginning streaming...
...done streaming
Press any key to continue
socket(...) is OK, bind(...) also. Seems that something is wrong the
call to setsockopt(IP_ADD_MEMBERSHIP).
I compared the call flow with MS SDK sample - looks the same, but MS
sample works just great.
Any ideas?
My environment: Win2000 SP 4, VC6.0, PlatformSDK 2002
Thank you in advance,
Victor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20061121/4572b12c/attachment-0001.html
More information about the live-devel
mailing list