AnyChat技术支持论坛

标题: 视频通话异常退出 [打印本页]

作者: william2014    时间: 2014-7-9 15:40
标题: 视频通话异常退出
在视频通话完成后退出时crash。以下是异常信息:


SkyServer:180.96.8.11
TcpServer:180.96.4.132:443
LoginUserName:18951655210
TIME=1396450974000
FINGERPRINT=Xiaomi/cancro/cancro:4.3/JLS36C/JXDCNBA11.0:user/release-keys
HARDWARE=qcom
UNKNOWN=unknown
RADIO=unknown
BOARD=MSM8974
versionCode=4007000
PRODUCT=cancro
versionName=4.7.0
DISPLAY=JLS36C
USER=builder
HOST=wcc-miui-ota-bd06.bj
DEVICE=cancro
TAGS=release-keys
MODEL=MI 3W
BOOTLOADER=unknown
CPU_ABI=armeabi-v7a
CPU_ABI2=armeabi
IS_DEBUGGABLE=false
ID=JLS36C
SERIAL=e0bbb1de
MANUFACTURER=Xiaomi
BRAND=Xiaomi
TYPE=user
java.lang.IllegalArgumentException
at android.view.Surface.nativeUnlockCanvasAndPost(Native Method)
at android.view.Surface.unlockCanvasAndPost(Surface.java:256)
at android.view.SurfaceView$4.unlockCanvasAndPost(SurfaceView.java:844)
at com.bairuitech.anychat.VideoRenderer.DrawByteBuffer(Unknown Source)
at com.bairuitech.anychat.AnyChatVideoHelper.ShowVideo(Unknown Source)
at com.bairuitech.anychat.AnyChatCoreSDK.OnVideoDataCallBack(Unknown Source)
at dalvik.system.NativeStart.run(Native Method)

作者: william2014    时间: 2014-7-9 15:42
[2014-07-09 15:09:33(999)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2014-07-09 15:09:33(999)]        Load libanychatcore.so success!(V4.9 Build Time:Mar  4 2014 08:22:47)
[2014-07-09 15:09:34(000)]        Android OS SDK Version:18, Support ARMv7:2, Support Neon:4
[2014-07-09 15:09:34(035)]        Load libmediautil_v7.so success!(V4.9 Build Time:Mar  4 2014 02:44:38)
[2014-07-09 15:09:34(041)]        Load libmediashow_4.0.so failed,video display functions will fail!(dlopen failed: cannot locate symbol "_ZN7android7Surface7isValidEv" referenced by "libmediashow_4.0.so"...)
[2014-07-09 15:09:34(050)]        dlopen failed: cannot locate symbol "_ZN7android6Camera17setPreviewDisplayERKNS_2spINS_7SurfaceEEE" referenced by "libmediacore_4.2.so"...
[2014-07-09 15:09:34(052)]        Load libmediacore.so success!(V4.9 Build Time:Mar  4 2014 02:44:00)
[2014-07-09 15:09:34(056)]        CPU:38.40 MIPS, Hardware:Qualcomm MSM 8974 (Flattened Device Tree)
[2014-07-09 15:09:34(057)]        Apply video parameter:320x240, bitrate:150000, quality:3, gop:40, fps:10, preset:3, codec:0
[2014-07-09 15:09:34(058)]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2014-07-09 15:09:34(058)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2014-07-09 15:09:34(058)]        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2014-07-09 15:10:16(236)]        Invoke        BRAC_Connect(220.168.17.217,8906)=0
[2014-07-09 15:10:16(237)]        Invoke        LoginServer(username=user12759)
[2014-07-09 15:10:16(269)]        CheckClientSocketLink         Connect(ip=220.168.17.217,port=8906)
[2014-07-09 15:10:16(622)]        Server version: V4.9(Build Time:2014-03-09 11:46:41, Server OS:Windows)
[2014-07-09 15:10:16(667)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2014-07-09 15:10:17(725)]        Message        OnLoginSystem(userid=12759,errorcode=0,username=user12759), msg deliver worked(0)
[2014-07-09 15:10:17(783)]        Load libmediashow_4.0.so failed,video display functions will fail!(dlopen failed: cannot locate symbol "_ZN7android7Surface7isValidEv" referenced by "libmediashow_4.0.so"...)
[2014-07-09 15:10:17(789)]        Invoke        EnterRoom(roomid=137)
[2014-07-09 15:10:17(874)]        Connection to streaming media server successfully!(udp delay:45ms)
[2014-07-09 15:10:18(341)]        Message        OnEnterRoom(roomid=137,errorcode=0,siteindex=1)
[2014-07-09 15:10:18(345)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2014-07-09 15:10:18(348)]        Message        OnReceiveOnlineUser(count=2,roomid=137)
[2014-07-09 15:10:18(351)]        On Remote UserCameraControl(dwUserId:137, bOpen:1)
[2014-07-09 15:10:18(540)]        Invoke        UserCameraControl(userid=137,bOpen=1)
[2014-07-09 15:10:18(540)]        Invoke        UserSpeakControl(userid=137,bOpen=1)
[2014-07-09 15:10:18(541)]        On Remote UserSpeakControl(dwUserId:137, bOpen:1)
[2014-07-09 15:10:18(542)]        Invoke        UserCameraControl(userid=-1,bOpen=1)
[2014-07-09 15:10:18(543)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2014-07-09 15:10:18(565)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2014-07-09 15:10:18(566)]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2014-07-09 15:10:18(668)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2014-07-09 15:10:18(828)]        userid(137) video decode delay:3ms
[2014-07-09 15:10:18(970)]        video init finish:320x240, NV21, fps:25
[2014-07-09 15:10:19(113)]        video codec init:codec:1, 10fps, 320x240, bitrate:150000, quality:3, preset:3, gop:40, handle:4
[2014-07-09 15:15:36(904)]        Message        OnUserLeaveRoom(userid=137,siteindex=0)
[2014-07-09 15:15:36(923)]        Invoke        UserCameraControl(userid=137,bOpen=0)
[2014-07-09 15:15:36(923)]        Invoke        UserSpeakControl(userid=137,bOpen=0)
[2014-07-09 15:15:38(477)]        Invoke        UserCameraControl(userid=137,bOpen=0)
[2014-07-09 15:15:38(477)]        Invoke        UserSpeakControl(userid=137,bOpen=0)
[2014-07-09 15:15:38(477)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2014-07-09 15:15:38(478)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2014-07-09 15:15:38(570)]        Invoke        LeaveRoom(roomid=-1)        Elapse:101 ms
[2014-07-09 15:15:38(573)]        Invoke        LogoutServer(userid=12759)        Elapse:2 ms
[2014-07-09 15:15:38(643)]        Invoke        BRAC_Release        Elapse:69 ms

作者: admin    时间: 2014-7-9 15:44
Load libanychatcore.so success!(V4.9 Build Time:Mar  4 2014 08:22:47)

您好,建议升级到最新的版本,需要同时升级.Java源代码和.so库。
作者: william2014    时间: 2014-7-9 15:49
2个星期前才升到最新版本的  
C:\Users\xfu.john\Desktop\111.bmp
作者: william2014    时间: 2014-7-9 15:51
2个星期前才升到最新版本的   
AnyChatCoreSDK_Android_r4086
作者: 廖斌    时间: 2014-7-9 16:05
william2014 发表于 2014-7-9 15:51
2个星期前才升到最新版本的   
AnyChatCoreSDK_Android_r4086

运行标准的demo有问题吗?
作者: admin    时间: 2014-7-14 12:06
[2014-07-09 15:15:38(570)]        Invoke        LeaveRoom(roomid=-1)        Elapse:101 ms
[2014-07-09 15:15:38(573)]        Invoke        LogoutServer(userid=12759)        Elapse:2 ms
[2014-07-09 15:15:38(643)]        Invoke        BRAC_Release        Elapse:69 ms

您的LeaveRoom、Logout、Release三个方法在同一时间调用,能否不放在同一个时间点调用,比如先调用LeaveRoom,关闭一个Activity,然后再在其它的Activity中调用Logout、Release?




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