Server Side Recording - Inconsistent When Called Automatically
Hi,
We have mutiple live streams(games) in our application and one of our requirement is to record the games when they start and end the record after stop.
We have written a servere side Code based on guidelines provided in the forums. Our Sample code looks like this.
Client.prototype.startRecord = function( source, destination )
{
trace("Recording Stream: " + source + " to: " + destination);
this.newStream = Stream.get(destination);
this.newStream.play(source)
this.newStream.record();
};
Client.prototype.stopRecord = function(source, destination)
{
trace("Stopping Recording");
this.newStream = Stream.get(destination);
this.newStream.record(false);
};
We have written a PHP page which receives the Game Start and Game Stop and calls the FMS startRecord and stopRecord functions accordingly.We tested this record manuall by passing the values to PHP page and recording works perfectly.
Our problem arises when we automate this recording. Every minutes we have 10 games that are created and hence the PHP page calls FMS 10 times a minute to startRecord and stopRecord.
Some of the recorded flv are inconsistent and recording is never complete.
Can FMS take such sequential request? We are stuck with this because the recording is partial sometimes.
We are using FMS 4 with Red Hat. Any other information will be provided.
Will be glad to get this recording issue solved.
PS
