客户端重启FlashServer的方法

      FMS 2005-9-22 8:25:00
//转载自http://www.flashcom.cn/blog/
admin_nc = new NetConnection();
admin_nc.connect('rtmp://IP:1111/admin','user','passwd');
admin_nc.call('stopServer', new stopServer());
admin_nc.call('startServer', new startServer());
serviceFlag = "stop";
admin_nc.call("stopServer", new stopServer());
if(info.code == "NetConnection.Call.Success" && serviceFlag == "stop")
{
admin_nc.call("startServer", new startServer());
}
标签集:TAGS:
回复Comments() 点击Count()
喜欢就顶一下

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}
深度XP 雨林木风XP WinXP下载 世界之窗 深度系统 雨林木风 Ghost ghost系统盘 XP下载