[Live-devel] ip 0.0.0.0 in rtps url

Henrik Nilsson henrik.nilsson.3777 at student.uu.se
Tue Mar 29 17:18:13 PST 2005


We are a group of students who are building a robot with a live mpeg4 
feed and we have some problems to get the live test servers to run on 
the robot.

Our robot is built on a PC104+ 1,2GHz with a slimmed slackware 
installation which gets its ip etc over dhcp.

When we run test*Server the rstp URL we are given tells us to connect to 
ip 0.0.0.0? If we check ifconfig everything looks allright, connecting 
over ssh to the ip from ifconfig works fine too.

What can be the problem that makes the test servers think the ip of our 
robot is 0.0.0.0 and how can we fix this?

This is what ifconfig tells us:

ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:6C:3A:00:A3
       inet addr:192.168.2.101  Bcast:192.168.0.255  Mask:255.255.255.0
       UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
       RX packets:1027 errors:0 dropped:0 overruns:0 frame:0
       TX packets:7863 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:1000
       RX bytes:102889 (100.4 Kb)  TX bytes:8994252 (8.5 Mb)
       Interrupt:11 Base address:0x3200

lo        Link encap:Local Loopback
       inet addr:127.0.0.1  Mask:255.0.0.0
       UP LOOPBACK RUNNING  MTU:16436  Metric:1
       RX packets:0 errors:0 dropped:0 overruns:0 frame:0
       TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:0
       RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

This is what testOnDemandRTSPServer tells us:

./testOnDemandRTSPServer

"mpeg4ESVideoTest" stream, from the file "test.m4v"
Play this stream using the URL "rtsp://0.0.0.0:8554/mpeg4ESVideoTest"

"mpeg1or2AudioVideoTest" stream, from the file "test.mpg"
Play this stream using the URL "rtsp://0.0.0.0:8554/mpeg1or2AudioVideoTest"

"mpeg1or2ESVideoTest" stream, from the file "testv.mpg"
Play this stream using the URL "rtsp://0.0.0.0:8554/mpeg1or2ESVideoTest"

"mp3AudioTest" stream, from the file "test.mp3"
Play this stream using the URL "rtsp://0.0.0.0:8554/mp3AudioTest"

"wavAudioTest" stream, from the file "test.wav"
Play this stream using the URL "rtsp://0.0.0.0:8554/wavAudioTest"

"amrAudioTest" stream, from the file "test.amr"
Play this stream using the URL "rtsp://0.0.0.0:8554/amrAudioTest"

"vobTest" stream, from the file "test.vob"
Play this stream using the URL "rtsp://0.0.0.0:8554/vobTest"

"mpeg2TransportStreamTest" stream, from the file "test.ts"
Play this stream using the URL 
"rtsp://0.0.0.0:8554/mpeg2TransportStreamTest"

/*
And when we connect to the server 
(rtsp://192.168.2.101:8554/mpeg4ESVideoTest) the server starts to print 
out lines like this....
*/

Unable to determine our source address: setsockopt(IP_ADD_MEMBERSHIP) 
error: No such device
Unable to determine our source address: setsockopt(IP_ADD_MEMBERSHIP) 
error: No such device
Unable to determine our source address: setsockopt(IP_ADD_MEMBERSHIP) 
error: No such device

/Henrik


More information about the live-devel mailing list