Skip to main content
Participant
June 29, 2010
Question

Client returns server not found:rtmp://192.168.10.1:/live when accessed from another pc

  • June 29, 2010
  • 1 reply
  • 8464 views

Hi there. Please i have a small LAN of about 8 computers all of which are running windows 7. I have installed FMS and XAMPP webserver on one of the machines. I want to stream live from one PC to all the other PCs on the LAN. I have a webpage with jwplayer embedded in it on my XAMPP webserver that is able to see the live stream when i start it locally. I mean the live stream works fine on the machine with the servers on it. But when i want to view the live stream from another machine in the LAN by accessing the webpage that has the jwpalyer from another machine, The jwplayer returns "server not found:rtmp://192.168.10.1/live" error. I was thinking that maybe a firewall is blocking the 1935 port but i have turned off the firewall of every PC on the LAN. I have unistalled any antivirus program on all the PCs. But i still get the same error when i try to access the live stream from another PC on the LAN.

When i run netstat -a -n|find ":1935" i get  192.168.10.2:49184   192.168.10.1:1935     SYN_SENT and i think the request for the stream is sent but the conection is rejected.

This is the code for the webpage with jwplayer embedded in it. maybe it can help:

<html>
    <head>
        <title>JW FLV Media Player</title>
       
        <script type="text/JavaScript" src="swfobject.js"></script>

<script type='text/javascript'>
function createPlayer()
{
 
    var flashvars = {
            'file':                'see.flv',
            'streamer':            'rtmp://192.168.10.1/live',
            'provider':            'rtmp',
     'autostart':    'true'
    };
    var params = {
           
            'allowfullscreen':     'true',
            'allowscriptaccess':   'always',
            'bgcolor':             '#FFFFFF'
    };
    var attributes = {
            'id':                  'player1',
            'name':                'player1'
    };
    swfobject.embedSWF('player.swf', 'mpl', '300', '250', '9', 'false', flashvars, params, attributes);

}
</script>
      
    <head>
    <body onload="createPlayer();">
            <div id="wrapper">
                <div id="mpl">u need adobe flash player to view this content</div>
            </div>
    </body>
</html>

This page is able to view the stream on my local machine but it wouldn't work on the other machines on the machines. Is it not possible to stream over a LAN or what? OR What am i not doing right. [hmmn! [sighs] this is so frustrating]. help me please.Thanks in advance for your help.

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    June 30, 2010

    It is the server that is blocking the request to port 1935.

    nkaseeAuthor
    Participant
    July 1, 2010

    Thanks man. that is so helpful. But i doesn't solve the problem yet. I'll appreciate it a great deal if you could help me make the server accept requests from the 1935 port... And please tell me whether by server, u mean the FMS or the entire server on which the FMS is installed. I'm guessing it is the latter. Thanks in advance for your help

    Participating Frequently
    July 1, 2010

    The server operating system (or network device between the clients and server) is the issue.  FMS works fine when you playback locally on the server.  The problem is that no outside traffic is able to get to port 1935.  Without knowing the firewall and os configuration there is not much I can do; however you should be able to issue "telnet 192.168.10.1 1935" and obtain a socket connection to fms.