LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   RTSP problem with Darwin Streaming Server (https://www.linuxquestions.org/questions/linux-software-2/rtsp-problem-with-darwin-streaming-server-804526/)

paidbythehour 04-27-2010 09:52 AM

RTSP problem with Darwin Streaming Server
 
Hi there,

I am running Darwin Steaming Server (6.0.3-2) on CentOS 5.4, and I'm having a problem with RTSP requests only being answered on one network interface. For example:

eth0: 123.123.123.123 (public net)
eth1: 10.10.10.10 (local net)

Darwin is up and running on system A. I am using system B to test Darwin, by accessing it's administration page (port 1220). I can get to the administration page by using either the eth0 or eth1 IP addresses. So far so good.

But when I access a test file (sample.mp3) via RTSP, I can only get the stream if I use the IP associated with the eth0 address. If I try and access the file using the eth1 address, Quicktime gives me an error saying "-3285 Dissconnected"

Does anyone know what I'm missing here? In my config file, I was able to confirm that RTSP is answering requests on port 554, but I didn't see anything that would restrict it to a single network interface.

Here's a summary of the above:

http://123.123.123.123:1220 (works)
http://10.10.10.10:1220 (works)
rtsp://123.123.123.123/sample.mp3 (works)
rtsp://10.10.10.10/sample.mp3 (Does not work!)

Thanks in advance.

smoker 04-28-2010 04:09 AM

Does this help ?
http://patrickgibson.com/news/andsuch/000113.php

Also check your firewall is open to 554 on eth1

paidbythehour 04-28-2010 08:29 AM

Thanks for the link smoker, I finally got this working.

For reference, here is configuration option in streamingserver.xml:

<PREF NAME="bind_ip_addr" >0</PREF>

The value 0 means the streaming server should bind to all IP's on the server, which wasn't happening for me. So I replaced the value with the IP I want:

<PREF NAME="bind_ip_addr" >10.10.10.10</PREF>

And it worked! I'm not sure why the default value wouldn't work (not running a firewall) but this is good enough for me.

Thanks again.


All times are GMT -5. The time now is 12:58 AM.