Skip to main content
February 28, 2010
Question

Does FMS can accept rtmp stream from other server?

  • February 28, 2010
  • 1 reply
  • 6074 views

HIfriends:

Finally I decide to post this request since few days later I still can’t get any solution within search in the forum or even by Google…hope someone can kindly give me some direction…

I am planning to stream TV channels using FMS because customers prefer much better picture quality, actually as far as I know FMS can only accept live streaming by FMLE, this can cause serious problem that I must use video capture card to convert video signal form DVB-S receivers. You can imagine how poor quality the picture would be after capture card ? FMLE can only support devices including capture card, camera, analog TV tuner , but not DVB-S cards. So, I use VLC to directly get MPEG-TS stream from my DVB-S receivers, after H264/AAC encoding, re-stream to WOWZA, hence I can get RTMP stream output . OK, finally I have to instruct FMS to accept this RTMP stream and publish to my customers (use flash player built-in set top-box ).

Flowchart like this:

                                    DVB-S card-------VLC------WOWZA------FMS------Set-top box            

   Right now I have successfully got rtmp output from WOW, and play in Flash player finely.

The picture is so perfect without A/D conversion, that’s why I need! But problem is my set-top box using third part P2P platform and can only co-work with FMS, so I need to instruct FMS to accept the rtmp stream which coming form WOW, then publish…(Co-work with P2P platform)

So, does FMS can accept rtmp stream from other server? Friends, need your help!

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    March 1, 2010

    Hi,

    To answer your question straight, I think it should be possible to do that though i have not personally tried it or know anyone trying it out. But ifs it legitimate RTMP packets coming from Wowza , i think it should work.

    But before going full fledge with this solution , i think you can post on FMLE forum to see if they can help or provide solution for your encoding and publishing aspect so that you can directly used FMLE publishing to FMS.

    I somehow is not taking link of FMLE user forums ,as its somehow redirecting to FMS user forums. I will see if i can get help from FMLE team and post it myself here or will let you know when link is working.

    March 1, 2010

    Thanks, SE_:

                 You are the first one, for give me direction in the world relative to this request.

    March 3, 2010

    Server-side code you posted might not work great , so can you try below code:

    var nc;

    var myStream;

    application.onAppStart = function(){

         nc = new NetConnection();

         myStream = Stream.get("foo");     // "foo" is name of stream which would be relaying "livestream"

         nc.onStatus = function(info){

                   if(info.code == "NetConnection.Connect.Success"){

                        myStream.play("livestream",-1,-1,true,nc);      //"livestream" is name of stream which is getting published at remote server, -1 for live stream

                   }

         }

         nc.connect("rtmp://www.remotertmpserver.com:1935/live");   // no need to specify "_definst_"

    }

    Can you try this and let me know if this works


    HI, SE:

            It's working!! Great man, great forum...

            How can I express my earnest thanks for you except a simple word "Thank you"?

            I tested all night yesterday, fantastic!

            HI,Fmeuser:

            Rendering best picture quality is the ultimate goal of channel-stream.thanks for inputs.

    Best wishes.