[Live-devel] Failed to join group: Invalid IP Address

Ashfaque ashfaque at iwavesystems.com
Tue May 15 06:59:38 PDT 2012


Hi Ross, 

We are using the Live555 on embedded system with the device acting as an Soft Access Point (Server). No external LAN need to be connected to it.

Following is the print on ifconfig on the device:

uap0      Link encap:Ethernet  HWaddr 00:22:58:77:80:62
              inet addr:192.168.25.2  Bcast:192.168.25.255  Mask:255.255.255.0
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:49982 errors:0 dropped:0 overruns:0 frame:0
              TX packets:49641 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:3191690 (3.0 MiB)  TX bytes:2680334 (2.5 MiB)

The client is an iPad application with the Wifi connected to above device access point. We need to stream a video captured from the above device to iPad. 
The Test reference used was testH264VideoStreamer. The streaming happens successfully when the device is connected to the LAN but when it is configured as an Access point and similar static IP address is assigned to the iPad the connection is not being established.

It shows following error messages:

00:07:36 Groupsock(8: 232.202.29.84, 18888, 255): failed to join group: setsockopt(IP_ADD_MEMBERSHIP) error: No such device

Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0

00:07:36 Groupsock(9: 232.202.29.84, 18889, 255): failed to join group: setsockopt(IP_ADD_MEMBERSHIP) error: No such device

Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0

Beginning streaming...

RTPStreamer::play()----

Play this stream using the URL "rtsp://0.0.0.0:8554/testStream"

As IP address is getting printed as 0, feels like groupSock interface is not able to get the device IP Address. What is the necessary change or the configuration needed so that Access point IP Address is used for streaming. The basic socket function which is failing is setsockopt.

Please provide necessary input to get the streaming with a access point device.

Thanks & Regards,
Ashfaque
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120515/45b86bc9/attachment.html>


More information about the live-devel mailing list