Skip to main content
Participating Frequently
April 19, 2010
Question

Set up FMS on my site. (rtmp://...)

  • April 19, 2010
  • 3 replies
  • 2406 views

Hi,

I tried some applications like vod and live with localhost.

Now I'm trying to use some applications on my site. It's the first thing you need to do, but apparently it's so basic that I can't find information about it.

Can someone explain me how to change the "localhost" to a webserver? In other words, how do I set up an application like vod on my site?

Thomas__

    This topic has been closed for replies.

    3 replies

    Participating Frequently
    April 21, 2010

    Hi,

    That was my problem. Didn't know you just need to paste in your IP.

    Now, I tried to set up vod, but I'm the only one who can see the video.

    I connected my pc to my modem directly, without router.

    rtmp://213.118.154.***/vod/sample.flv.

    I tried with two applications. Why I'm the only one who can connect as the ip isn't at localhost?

    Participating Frequently
    April 22, 2010

    I did not get your issue clearly again. But again I am assuming that you are the only one who is able to connect and other people who are connected from some other machine are not able to connect. Is that true, if that's the case i believe its firewall issue, you need to open up ports on which FMS is configured to listen , namely 1935,80,443.

    Participating Frequently
    April 23, 2010

    Second issue passed! It worked! (disabled firewall).

    Now, there's still a problem =/

    It worked directly through modem but now,

    I'm working with a D-Link router.

    I added ports 1935,80,443 in port forwarding but nobody can see the movie.

    Probably firewall of my router, I checked it and the ports are also allowed in the firewall settings.

    Participating Frequently
    April 20, 2010

    Hi!

    Yes that's what I mean, sorry for the difficult explanation.

    So,

    1. I upload vod application to my site.

    2. I start FMS on my pc.

    Now, my question:

    How can www.mydomain.com/vodtest.swf connect to my pc? In vodtest.as I found this:

    my_cb.addItem("rtmp://localhost/vod/sample.flv");

    In what do I need to change this? "rtmp://my.ip/vod/sample.flv"?

    Participating Frequently
    April 21, 2010

    I suppose this your own custom VOD application. And looking at code which you have given, that's the only thing i can see that you need to change.

    my_cb.addItem("rtmp://yourMachineIP/vod/sample.flv");  //where yourMachineIP is IP address of your machine

    Participating Frequently
    April 20, 2010

    To be frank, i did not get your question clearly. Are you saying you want progressive download using FMS? or Are you saying you want to host your FMS and let people connect to it via webserver.

    let me assume its second case :

    I think you can do following:

    1. Create Client-side application like .swf movies or air applications which you will connect to FMS and stream desired media.

    2. Host this applications on web server.

    So now anyone who wants to play any stream, will first hit you client hosted url like http://webserveraddress:port/myApp.html

    This will load your client application.Your client application would have logic to connect to your FMS and then play desired stream.

    Client application would connect to FMS and then play your requested stream.

    Now let me know if what i am talking is not what you are looking for.