FMIS Multipoint Publishing - Edge server unpublishes streams
Hi Guys,
I am facing a strange issue with a pair of FMIS servers set up with Multipoint Publishing.
Configuration is as follows:
Encoder >>>> FMIS1 >>>> FMIS2
When freshly started, I am able to view live streams from both servers, however, periodically, FMIS2 unpublishes the streams as seen in the log below.
When this happens lives streams are accessible from FMIS1 but not FMIS2. In order to resume live streams on FMIS2, FMIS1 must be restarted.
Any help would be greatly appreciated.
Logs:
2010-09-01 14:31:00 9244 (s)2641173 NGA_1 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 FTV_1 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 BBCWN_1 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 CTI_1 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 CNN_1 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 NGA_2 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 BBCWN_2 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 NGC_1 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 FTV_2 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 CTI_2 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 FC_2 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 CTI_3 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 NGA_3 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 CNN_3 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 NGC_2 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 BBCWN_3 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 FTV_3 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 FC_1 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 CNN_2 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 FC_3 is unpublishing -
Configuration:
// Called when the client publishes
application.onPublish = function(client, myStream) {
trace(myStream.name + " is publishing into application " + application.name);
// This is an example of using the multi-point publish feature to republish
// streams to another application instance on the local server.
if (application.name == "CompanyLive/_definst_"){
trace("Republishing the stream " + myStream.name + "into /CompanyLive");
nc = new NetConnection();
nc.connect( "rtmp://192.168.1.13/ComapnyLive" );
ns = new NetStream(nc);
// called when the server NetStream object has a status
ns.onStatus = function(info) {
trace("Stream Status: " + info.code)
if (info.code == "NetStream.Publish.Start") {
trace("The stream is now publishing");
}
}
ns.setBufferTime(2);
ns.attach(myStream);
ns.publish( myStream.name, "live" );
}
}
application.onUnpublish = function( client, myStream ) {
trace(myStream.name + " is unpublishing" );
}
