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

Multipoint publishing Stream Stop issue

New Here ,
Jun 11, 2013 Jun 11, 2013

Copy link to clipboard

Copied

Hi,

     I am creating a application in which I am using Multipoint Publishing between the servers. I am using four Flash Media Servers for streaming. But after some time the stream stops publishing between the server appoximately after  5-7 minutes. All servers are developement servers.

Please reply if anyone know the solution.

warm regards.

Views

2.2K

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
Guest
Jun 11, 2013 Jun 11, 2013

Copy link to clipboard

Copied

Hi Arvind,

If you're using Adobe Media Server starter (without license) then recording will stop after 10 min and error will be logged in your core logs. If you want to continue recording for longer than 10 minutes you'll have to buy a serial key.

Hope this helps.

Thanks,

Apurva

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
New Here ,
Jun 11, 2013 Jun 11, 2013

Copy link to clipboard

Copied

Thanks Apurva for quick reply,

                              But when I use only two FMS servers for Multipoint publishing and both are starter servers then there is no such issue. Please explain little bit more if u can.

Regards

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
New Here ,
Jun 11, 2013 Jun 11, 2013

Copy link to clipboard

Copied

Hi,

   I forgot to mention that I am using only RTMP connection.

regards.

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
New Here ,
Jul 07, 2014 Jul 07, 2014

Copy link to clipboard

Copied

I too am having this issue with AMS 5 professional. Any idea how to keep the republished streams alive for the entire length of the streaming event?

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
New Here ,
Sep 26, 2014 Sep 26, 2014

Copy link to clipboard

Copied

You can try this code, it works like a charm

application.i = 0;

application.nc = new Array();

application.ns = new Array();

...

application.onPublish = function(client, myStream) {

  trace(">>>> starting onPublish");

  if (application.name == "<APPNAME>/_definst_"){

  application.nc[index] = new NetConnection();

  application.nc[index].connect("<URL>");

  application.ns[index] = new NetStream(application.nc[index]);

  application.ns[index].onStatus = function(info) {

  if (info.code == "NetStream.Publish.Start") {

  trace("The stream is now publishing");

  }

  }

  application.ns[index].setBufferTime(2);

  var isAttached = application.ns[index].attach(myStream);

  if (isAttached) {

  application.ns[index].publish(myStream.name, "live");

  } else {

  trace(myStream.name + " is not attached");

  }

  application.i = application.i + 1;

  }

  trace(">>>> ending onPublish");

}

...

application.onUnpublish = function( client, myStream ) {

  var streamName = myStream.name;

  for (j = 0; j<application.i; j++) {

  application.ns.publish(false);

  application.ns.attach(false);

  application.nc.close();

  }

  application.i = 0;

}

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
Community Beginner ,
Dec 05, 2014 Dec 05, 2014

Copy link to clipboard

Copied

I can also replicate this issue in AMS 5.0.6 both dev and licensed. The threshold seems to be about 1.5 to 5 minutes of multistream republishing. I don't see any errors in the core logs relating to limits, but I do see this issue:

2014-12-05 13:51:18 8652 (e)2581279 Assert failed in .\core\FcLiveStream.cpp line 4303 -
2014-12-05 13:52:46 8652 (i)2581247 Core (8652) disconnected from edge. -

I'd love to know if this is something server code related before I rework my republishing app.

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
New Here ,
Dec 08, 2014 Dec 08, 2014

Copy link to clipboard

Copied

LATEST

Please, could you post your application source code?

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