What is a reliable way to keep FMS from broadcasting streams when recording to disk fails?
Howdy,
We're running FMS 4.5.3 on a Linux box.
We've got a video conferencing system that streams out video as well records it to .flv files. Both operations, as you can imagine, are critical.
Today, I discovered that a number of videos were properly streamed out to individuals but were not saved on disk. I can't quite explain what happened, though I do know that I found instances of:
The FLV segment cache is full
in core.00.log. From what I can tell, this issue relates to recording of streams, but not broadcasting them.
Is there a strategy I can use to insure under no circumstances do we broadcast a stream without recording it? I'd much rather have the whole process fail then find out after the fact that recording has failed.
Some further details about our process:
On the server side, I'm using default FMS behavior. Our "application" consists of nothing more than a directory (say "foo") in the applications directory. In that directory is an Application.xml that contains:
<?xml version='1.0'?>
<Application>
<StreamManager>
<Live>
<AssumeAbsoluteTime>true</AssumeAbsoluteTime>
<Queue enabled="true">
<AggregateMessages enabled="false"/>
</Queue>
</Live>
</StreamManager>
</Application>
there's also a main.asc file, but it's empty (as in 0 bytes length).
On the client side, I'm using a small two custom flash applications.
The first is a publisher. It opens up a NetConnection to http://myserver.com/foo. I use this NetConnection to instantiate a NetStream to which I invoke publish("somename.flv", "append").
The second is a player. It opens up a NetConnection to http://myserver.com/foo. I use this NetConnection to instatiate a NetStream to which I invoke play("somename.flv").
Any suggestions?
Thanks in advance!
-Ben
