AnyChat技术支持论坛

标题: 打开本地摄像头时,偶尔会发生程序崩溃 [打印本页]

作者: william2014    时间: 2014-8-15 14:42
标题: 打开本地摄像头时,偶尔会发生程序崩溃
在anychat视频时,在打开本地摄像头时,有时会发生程序崩溃的情况,留下了点记录如下:
2014-08-15 14:31:39.980 EnterpriseSM[520:9f03] Message OnConnect(bSuccess:1, errorcode=0)
2014-08-15 14:31:39.986 EnterpriseSMr[520:707] Invoke LoginServer(username=user19251)
2014-08-15 14:31:40.511 EnterpriseSM[520:9f03] Message OnLoginSystem(userid=19251,errorcode=0,username=user19251), msg deliver worked(0)
2014-08-15 14:31:40.515 EnterpriseSM[520:9f03] Load libmediautil.so success!(V4.9 Build Time:May  7 2014 09:38:32)
2014-08-15 14:31:40.518 EnterpriseSM[520:9f03] Load libmediashow.so success!(V4.9 Build Time:May  7 2014 09:38:28)
2014-08-15 14:31:40.524 EnterpriseSM[520:9f03] Load libmediacore.so success!(V4.9 Build Time:May  7 2014 09:38:25)
2014-08-15 14:31:40.532 EnterpriseSM[520:707] Invoke BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=0)
2014-08-15 14:31:40.535 EnterpriseSM[520:707] Apply video parameter:352x288, bitrate:150000, quality:3, gop:24, fps:10, preset:2, codec:0
2014-08-15 14:31:40.539 EnterpriseSM[520:707] Invoke EnterRoom(144)
2014-08-15 14:31:40.576 EnterpriseSM[520:9f03] Connection to streaming media server successfully!(udp delay:23ms)
2014-08-15 14:31:40.791 EnterpriseSM[520:9f03] Message OnEnterRoom(roomid=144,errorcode=0,siteindex=0)
2014-08-15 14:31:40.986 EnterpriseSM[520:9f03] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2014-08-15 14:31:40.992 EnterpriseSM[520:9f03] Message OnReceiveOnlineUser(count=1,roomid=144)
2014-08-15 14:31:41.002 EnterpriseSM[520:707] Invoke UserSpeakControl(userid=-1,bOpen=1)
2014-08-15 14:31:41.005 EnterpriseSM[520:707] Audio record control:1, result:-1
2014-08-15 14:31:41.007 EnterpriseSMr[520:707] Invoke BRAC_SetVideoPos(dwUserId:-1, hWnd:0x1b1beaa0, l:0, t:0, r:0, b:0)
2014-08-15 14:31:41.011 EnterpriseSM[520:707] Invoke UserCameraControl(userid=-1,bOpen=1)
2014-08-15 14:31:41.018 EnterpriseSM[520:707] Invoke UserSpeakControl(userid=-1,bOpen=1)
2014-08-15 14:31:41.033 EnterpriseSM[520:ff13] Default Audio Capture Driver()
2014-08-15 14:31:41.037 EnterpriseSM[520:ff13] Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2014-08-15 14:31:41.041 EnterpriseSM[520:707] Invoke BRAC_SetVideoPos(dwUserId:-1, hWnd:0x1b1beaa0, l:0, t:0, r:0, b:0)
2014-08-15 14:31:41.046 EnterpriseSM[520:ff13] Audio codec init, handle:41, 11, 1, 16000, 16, 15850
2014-08-15 14:31:41.048 EnterpriseSM[520:707] Invoke UserCameraControl(userid=-1,bOpen=1)
2014-08-15 14:31:41.152 EnterpriseSM[520:9f03] Message OnUserEnterRoom(userid=144,nickname=emp144,siteindex=1)
2014-08-15 14:31:41.166 EnterpriseSM[520:707] Invoke UserSpeakControl(userid=144,bOpen=1)
2014-08-15 14:31:41.169 EnterpriseSM[520:707] Invoke BRAC_SetVideoPos(dwUserId:144, hWnd:0x1b1c3d10, l:25, t:43, r:269, b:222)
2014-08-15 14:31:41.172 EnterpriseSM[520:707] Invoke UserCameraControl(userid=144,bOpen=1)
2014-08-15 14:31:41.175 EnterpriseSM[520:707] Invoke UserSpeakControl(userid=-1,bOpen=1)
2014-08-15 14:31:41.291 EnterpriseSM[520:10143] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
2014-08-15 14:31:41.719 EnterpriseSM[520:9f03] On Remote UserCameraControl(dwUserId:144, bOpen:1)
2014-08-15 14:31:41.745 EnterpriseSM[520:9f03] On Remote UserSpeakControl(dwUserId:144, bOpen:1)
2014-08-15 14:31:42.366 EnterpriseSM[520:9f03] Message OnUserLeaveRoom(userid=144,siteindex=1)
2014-08-15 14:31:50.298 EnterpriseSM[520:ff13] video init finish: 0x0, 0fps, fmt:-1, ret:10001
2014-08-15 14:31:50.301 EnterpriseSM[520:ff13] ****Open Local Video Fail,ErrorCode:10001
2014-08-15 14:31:50.303 EnterpriseSM[520:707] Invoke BRAC_SetVideoPos(dwUserId:-1, hWnd:0x1b1beaa0, l:0, t:0, r:0, b:0)
2014-08-15 14:31:50.306 EnterpriseSM[520:707] Invoke UserCameraControl(userid=-1,bOpen=1)
2014-08-15 14:31:50.322 EnterpriseSM[520:707] *** -[iOSVideoOutput retain]: message sent to deallocated instance 0x1c43ebf0
(lldb)
(lldb)


作者: 佰锐技术-高萌    时间: 2014-8-15 15:49
您好,建议您那边升级到最新版本。最后的错误代码研发人员周例会开完以后会给您回复。
作者: william2014    时间: 2014-8-15 16:16
佰锐技术-高萌 发表于 2014-8-15 15:49
您好,建议您那边升级到最新版本。最后的错误代码研发人员周例会开完以后会给您回复。

用的就是最新版本,但是一直打印提示是4.9,其实用的是5.0版本。
作者: 佰锐技术-高萌    时间: 2014-8-15 16:18
您好,那是没有更新成功,10001代表没有找到设备,或是设备被占用
作者: admin    时间: 2014-8-18 17:45
Load libmediautil.so success!(V4.9 Build Time:May  7 2014 09:38:32)

您好,建议重新下载AnyChat for iOS SDK,更新所有的.a库文件,谢谢。




欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/) Powered by Discuz! X3