A
A
Alexander Mylchenko2015-05-20 10:32:01
Video broadcast
Alexander Mylchenko, 2015-05-20 10:32:01

Why does the FMS server forcibly terminate the recording of the stream to a file?

The script on Adobe Media Server receives a video stream and starts writing it to a file (.mpeg4), in a similar
way:

Client.prototype.RecordStart = function() {
    trace("RecordStart");
    var ns = Stream.get("mp4:test:f4v"); 
    if (ns) { 
        ns.record("append", -1, -1);
        ns.play("livestream",-1,-1,false); 
    } 
}

Client.prototype.RecordStop = function()
{
    trace("RecordStop");
    var ns = Stream.get("mp4:test.f4v");
    ns.record(false);
    ns.play(false);
    ns.flush();
}

ns.record("append", -1, -1) - for about 30 - 50 minutes without any messages or events, stops recording the stream to a file , but the stream continues to be broadcast to the server without connection problems.
At the same time, the size of the recorded file no longer changes, in some cases you have to append it, but at this moment the server begins to somehow prevent this. As a result, the file may have a size of about 200Mb or 700Mb ... or any other, arbitrary (depending on the content of the stream).
At the same time, the server has a lot of free disk space, and the server itself is loaded with only a couple of connections.
Has anyone encountered a similar problem?
PS Version of Adobe Media Server v5 (x64). The problem exists on both Win8.1 (x64) and Ubuntu Server Edition (x64)
PSS In FMS Console you can see the following:
oi60.tinypic.com/i78q6q.jpg
i78q6q.jpg
oi57.tinypic.com/k2yeu0.jpg
k2yeu0.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dan Ivanov, 2015-05-20
@ptchol

Maybe you don't have a license? Either it expired, or was not applied for some reason.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question