<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=koi8-r">
<META content="MSHTML 6.00.2800.1561" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am building a multicast-enabled RTSP server based
on liveMedia library.</FONT></DIV>
<DIV><FONT face=Arial size=2>Following all instructions (FAQ, archives and
sample programs) I have to use PassiveServerMediaSubsession. </FONT></DIV>
<DIV><FONT face=Arial size=2>No problem with this, except that I can not open a
socket for multicast - it always fails joining multicast group.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I tried to build and run
the testWAVAudioStreamer.cpp sample, and here is the output:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Audio source
parameters:<BR> 44100 Hz, 16
bits-per-sample, 1 channels => 705600 bits-per-second<BR>Converting to
network byte order for streaming<BR>03:49:05 Groupsock(2964: 232.85.88.236,
2222, 255): failed to join group: setsockopt(IP_ADD_MEMBERSHIP) error: Unknown
error<BR>03:49:05 Groupsock(2788: 232.85.88.236, 2223, 255): failed to join
group: setsockopt(IP_ADD_MEMBERSHIP) error: Unknown error<BR>Play this stream
using the URL "rtsp://192.168.0.1:8554/testStream"<BR>Beginning
streaming...<BR>...done streaming<BR>Press any key to continue</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2>socket(...) is OK, bind(...) also. Seems that
something is wrong the call to
setsockopt(IP_ADD_MEMBERSHIP).</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2>I compared the call flow with MS SDK sample -
looks the same, but MS sample works just great.</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2>Any ideas?</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2>My environment: Win2000 SP 4, VC6.0,
PlatformSDK 2002</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2>Thank you in advance, </FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2>Victor.</FONT></DIV></FONT></BODY></HTML>