live streaming with DVR on 64-bit linux platform
hello, everyone. I deployed FMS 4.0 enterprise edition on my 64-bit linux platform. in the applications folder of FMS, i create a "dvr" subfolder and at the same time create a dvr.asc. the code is as the following :
application.onAppStart = function()
{
trace("app fme started!");
};
application.onConnect = function(p_c)
{
p_c.disconnectClient = function() {
trace("---disconnectClient " + application.clients.length + "---");
application.disconnect(p_c);
}
this.acceptConnection(p_c);
};
application.onPublish = function (p_c, p_stream)
{
trace("onPublish stream: "+p_stream.name);
p_stream.record();
};
application.onUnpublish = function(p_c, p_stream)
{
trace("onUnpublish stream: "+p_stream.name);
p_stream.record(false);
};
i expect the live stream will be recorded on the FMS server , but unfortunately nothing happened .
But if i use my pc ( 32-bit windows xp platform) , everything works well. when i connect to my win_xp pc,
the fms server automatically created a streams\_definst_\myVideo.flv file under the dvr folder.
then the fms server on 64-bit linux cannot create the myVideo.flv file ?
can any one here give me some advice?
