daniel4646 发表于 2016-1-25 10:52:03

anychat 录制过程中抓拍。

现在我需要在录制录像的同事随机 抓拍几张。可是调用BRAC_SnapShot 后视频画面不显示了。请问应该怎么做?

佰锐科技-李永星 发表于 2016-1-25 11:19:19

您好,请把日志发上来,我们分析一下。

daniel4646 发表于 2016-1-25 11:25:59

我刚看了。日子啥错都没有啊。
全是
        Try connect to anychatcoreserver(127.0.0.1:8907)...
        Successfully connect to the anychatcoreserver(127.0.0.1:8907)!
        Lost the connection to the server(errorcode:100, param:10), ready to reconnect...
        Try connect to anychatcoreserver(127.0.0.1:8907)...
        Successfully connect to the anychatcoreserver(127.0.0.1:8907)!

这是贴上代码吧。
var nret2 = BRAC_StreamRecordCtrl(mSelfUserId, 1, flags, 0);   // 开始录制
                var times = 0, timeSTR = '', secon = '', minus = '';
                RECOED_TIMEOUT_HAND = setInterval(function() {
                        times ++;
                 if (times == 4 || times == 2 || times == 6 ){
                                BRAC_SnapShot(mSelfUserId,0, 0);
                        }
}, 1000);

佰锐科技-李永星 发表于 2016-1-25 12:03:03

daniel4646 发表于 2016-1-25 11:25
我刚看了。日子啥错都没有啊。
全是
        Try connect to anychatcoreserver(127 ...

在web插件目录下面,有.log文件,你有没有试过跟踪调试?
页: [1]
查看完整版本: anychat 录制过程中抓拍。