[Live-devel] Questions about live555 media server

Ross Finlayson finlayson at live555.com
Sat Nov 27 22:32:38 PST 2010


>When I run the media server, it says it is unable to
>determine my ip address:
>
>------------------------------------------
>$ live555MediaServer
>LIVE555 Media Server
>     version 0.42 (LIVE555 Streaming Media library version 2010.04.09).
>Play streams from this server using the URL
>rtsp://0.0.0.0:8554/<filename>
>where <filename> is a file present in the current directory.
>Each file's type is inferred from its name suffix:
>     ".aac" => an AAC Audio (ADTS format) file
>     ".amr" => an AMR Audio file
>     ".m4e" => a MPEG-4 Video Elementary Stream file
>     ".dv" => a DV Video file
>     ".mp3" => a MPEG-1 or 2 Audio file
>     ".mpg" => a MPEG-1 or 2 Program Stream (audio+video) file
>     ".ts" => a MPEG Transport Stream file
>         (a ".tsx" index file - if present - provides server 'trick 
>play' support)
>     ".wav" => a WAV Audio file
>See http://www.live555.com/mediaServer/ for additional documentation.
>Unable to determine our source address: This computer has an invalid 
>IP address: 0x0
>Unable to determine our source address: This computer has an invalid 
>IP address: 0x0
>Unable to determine our source address: This computer has an invalid 
>IP address: 0x0
>----------------------------
>
>That is indeed strange.

Not really.  The code uses multicast to (try to) figure out the 
host's IP address.  This error is usually caused by not having IP 
multicast configured properly on your system.

Make sure that you have a route for 224.0.0/4


>Can it not use at least 127.0.0.1 ?

Yes, you could - but if you're a server, you really want an IP 
address that other computers can reach.


>Also, when I try to play a file:
>$ ffplay 
>'rtsp://127.0.0.1:8554/f/tmp1/01-Invocation_(Sri_Rudram_Lagunyasam).wav'
>
>the playback is so horribly slow, with long silence between each 2 
>seconds of sound,

The problem may be with "ffplay", not with our server.  However, 
"ffplay" is not our software, so if you have any questions about 
"ffplay", you'll need to ask them on another mailing list.

I suggest that you try using VLC <http://www.videolan.org/vlc/> as a 
client instead.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list