• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Flussonic to FMS relay/re-stream not working!

Explorer ,
Mar 29, 2015 Mar 29, 2015

Copy link to clipboard

Copied

Hi folks,

I am trying to relay/re-stream a stream which is on a Flussonic server, and I'm using this code

{

     nc1 = new NetConnection();

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

     myStream1.onStatus = function(info){

           trace("ns info " + info.code);

     }

     nc1.onStatus = function(info){

  trace("netconn info " + info.code);

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

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

               }

             else  if(info.code == "NetConnection.Connect.Closed" || "NetConnection.Connect.Failed"){

                        nc1.connect("rtmp://flussnoic-server-ip:1935/static/");

                 }

     }

     nc1.connect("rtmp://flussnoic-server-ip:1935/static/");   // no need to specify "_definst_"

}

But I keep getting the following error in admin logs

netconn info NetConnection.Connect.Success

ns info NetStream.Publish.Start

ns info NetStream.Play.Reset

ns info NetStream.Play.Stop

ns info NetStream.Unpublish.Success

netconn info NetConnection.Connect.Closed

Views

841

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Apr 01, 2015 Apr 01, 2015

for anyone looking for an answer...

I found that FMS was not looking for the given stream name "external-stream" rather it was looking for " *flv:external-stream"

was adding *flv: onto the stream name...once the stream name was changed to *flv: in flussonic, it was a cakewalk

Thanks

Votes

Translate

Translate
New Here ,
Apr 01, 2015 Apr 01, 2015

Copy link to clipboard

Copied

Not sure if it will work for you but pushing from Flussonic to FMS 3.5 was a cakewalk.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 01, 2015 Apr 01, 2015

Copy link to clipboard

Copied

LATEST

for anyone looking for an answer...

I found that FMS was not looking for the given stream name "external-stream" rather it was looking for " *flv:external-stream"

was adding *flv: onto the stream name...once the stream name was changed to *flv: in flussonic, it was a cakewalk

Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines