AnyChat技术支持论坛

标题: 三星S4 等机型 报错 视频听不到声音 [打印本页]

作者: 静水流深    时间: 2014-7-17 21:34
标题: 三星S4 等机型 报错 视频听不到声音
[2014-07-17 20:45:19(993)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2014-07-17 20:45:19(994)]        Load libanychatcore.so success!(V5.0 Build Time:Jun 13 2014 12:55:08)
[2014-07-17 20:45:19(994)]        Android OS SDK Version:17, Support ARMv7:2, Support Neon:4
[2014-07-17 20:45:20(011)]        Load libmediautil_v7.so success!(V5.0 Build Time:Jun 13 2014 12:56:23)
[2014-07-17 20:45:20(020)]        Load libmediashow_4.0.so success!(V5.0 Build Time:Jun 13 2014 12:55:42)
[2014-07-17 20:45:20(028)]        Cannot load library: find_library(linker.cpp:890): "/data/app-lib/com.thinkive.mobile.account_ht-1/libmediacore_4.2.so" failed to load previously
[2014-07-17 20:45:20(029)]        Cannot load library: find_library(linker.cpp:890): "libmediacore_4.2.so" failed to load previously
[2014-07-17 20:45:20(029)]        Load libmediacore_4.2.so failed,SDK some functions will fail!(Cannot load library: load_library(linker.cpp:746): library "libmediacore.so" not found)
[2014-07-17 20:45:20(030)]        CPU:1590.88 MIPS, Hardware:UNIVERSAL5410
[2014-07-17 20:45:20(030)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_VADCTRL,0)
[2014-07-17 20:45:20(031)]        Apply video parameter:320x240, bitrate:100000, quality:3, gop:40, fps:10, preset:3, codec:0
[2014-07-17 20:45:20(031)]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2014-07-17 20:45:20(031)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2014-07-17 20:45:20(031)]        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2014-07-17 20:45:25(111)]        Invoke        LogoutServer(userid=-1)        Elapse:10 ms
[2014-07-17 20:45:25(113)]        Invoke        BRAC_Connect(khvideo.htsec.com,8906)=0
[2014-07-17 20:45:25(114)]        Invoke        LoginServer(username=user3101235)
[2014-07-17 20:45:25(115)]        Invoke        UserCameraControl(userid=-1,bOpen=1)
[2014-07-17 20:45:25(115)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2014-07-17 20:45:25(116)]        Invoke        EnterRoom(roomid=4101235)
[2014-07-17 20:45:25(222)]        CheckClientSocketLink         Connect(ip=180.166.179.194,port=8906)
[2014-07-17 20:45:25(450)]        Server version: V4.9(Build Time:2014-05-03 18:32:10, Server OS:Linux)
[2014-07-17 20:45:25(566)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2014-07-17 20:45:25(846)]        Message        OnLoginSystem(userid=3101235,errorcode=0,username=user3101235), msg deliver worked(0)
[2014-07-17 20:45:25(876)]        Load libmediautil_v7.so success!(V5.0 Build Time:Jun 13 2014 12:56:23)
[2014-07-17 20:45:25(903)]        Load libmediashow_4.0.so success!(V5.0 Build Time:Jun 13 2014 12:55:42)
[2014-07-17 20:45:25(929)]        Cannot load library: find_library(linker.cpp:890): "/data/app-lib/com.thinkive.mobile.account_ht-1/libmediacore_4.2.so" failed to load previously
[2014-07-17 20:45:25(930)]        Cannot load library: find_library(linker.cpp:890): "libmediacore_4.2.so" failed to load previously
[2014-07-17 20:45:25(931)]        Load libmediacore_4.2.so failed,SDK some functions will fail!(Cannot load library: load_library(linker.cpp:746): library "libmediacore.so" not found)
[2014-07-17 20:45:26(020)]        Connection to streaming media server successfully!(udp delay:43ms)
[2014-07-17 20:45:26(207)]        Message        OnEnterRoom(roomid=4101235,errorcode=0,siteindex=1)
[2014-07-17 20:45:26(208)]        Message        OnReceiveOnlineUser(count=2,roomid=4101235)
[2014-07-17 20:45:26(209)]        On Remote UserCameraControl(dwUserId:4009517, bOpen:1)
[2014-07-17 20:45:26(211)]        On Remote UserSpeakControl(dwUserId:4009517, bOpen:1)
[2014-07-17 20:45:26(224)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_VADCTRL,0)
[2014-07-17 20:45:26(225)]        Apply video parameter:320x240, bitrate:100000, quality:3, gop:40, fps:10, preset:3, codec:0
[2014-07-17 20:45:26(521)]        Invoke        UserCameraControl(userid=4009517,bOpen=1)
[2014-07-17 20:45:26(521)]        Invoke        UserSpeakControl(userid=4009517,bOpen=1)
[2014-07-17 20:45:26(524)]        Invoke        UserCameraControl(userid=-1,bOpen=1)
[2014-07-17 20:45:26(524)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2014-07-17 20:45:26(545)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2014-07-17 20:45:26(546)]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2014-07-17 20:45:26(772)]        userid(4009517) video decode delay:4ms
[2014-07-17 20:45:26(824)]        video init finish:320x240, NV21, fps:25
[2014-07-17 20:45:27(246)]        video codec init:codec:1, 10fps, 320x240, bitrate:100000, quality:3, preset:3, gop:40, handle:4
[2014-07-17 20:45:58(522)]        Invoke        UserCameraControl(userid=4009517,bOpen=0)
[2014-07-17 20:45:58(525)]        Invoke        UserSpeakControl(userid=4009517,bOpen=0)
[2014-07-17 20:45:58(528)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2014-07-17 20:45:58(528)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2014-07-17 20:46:03(136)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_VADCTRL,0)
[2014-07-17 20:46:03(137)]        Apply video parameter:320x240, bitrate:100000, quality:3, gop:40, fps:10, preset:3, codec:0
[2014-07-17 20:46:03(138)]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2014-07-17 20:46:03(138)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2014-07-17 20:46:03(138)]        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2014-07-17 20:46:05(146)]        Invoke        LeaveRoom(roomid=-1)        Elapse:101 ms
[2014-07-17 20:46:05(155)]        Invoke        LogoutServer(userid=3101235)        Elapse:111 ms
[2014-07-17 20:46:05(157)]        Invoke        BRAC_Connect(khvideo.htsec.com,8906)=0
[2014-07-17 20:46:05(158)]        Invoke        LoginServer(username=user3101235)
[2014-07-17 20:46:05(158)]        Invoke        UserCameraControl(userid=-1,bOpen=1)
[2014-07-17 20:46:05(158)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2014-07-17 20:46:05(159)]        Invoke        EnterRoom(roomid=4101235)
[2014-07-17 20:46:05(267)]        CheckClientSocketLink         Connect(ip=180.166.179.194,port=8906)
[2014-07-17 20:46:05(482)]        Server version: V4.9(Build Time:2014-05-03 18:32:10, Server OS:Linux)
[2014-07-17 20:46:05(596)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2014-07-17 20:46:05(873)]        Message        OnLoginSystem(userid=3101235,errorcode=0,username=user3101235), msg deliver worked(0)
[2014-07-17 20:46:05(903)]        Load libmediautil_v7.so success!(V5.0 Build Time:Jun 13 2014 12:56:23)
[2014-07-17 20:46:05(930)]        Load libmediashow_4.0.so success!(V5.0 Build Time:Jun 13 2014 12:55:42)
[2014-07-17 20:46:05(961)]        Cannot load library: find_library(linker.cpp:890): "/data/app-lib/com.thinkive.mobile.account_ht-1/libmediacore_4.2.so" failed to load previously
[2014-07-17 20:46:05(963)]        Cannot load library: find_library(linker.cpp:890): "libmediacore_4.2.so" failed to load previously
[2014-07-17 20:46:05(963)]        Load libmediacore_4.2.so failed,SDK some functions will fail!(Cannot load library: load_library(linker.cpp:746): library "libmediacore.so" not found)
[2014-07-17 20:46:06(057)]        Connection to streaming media server successfully!(udp delay:46ms)
[2014-07-17 20:46:06(242)]        Message        OnEnterRoom(roomid=4101235,errorcode=0,siteindex=1)
[2014-07-17 20:46:06(243)]        Message        OnReceiveOnlineUser(count=2,roomid=4101235)
[2014-07-17 20:46:06(253)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_VADCTRL,0)
[2014-07-17 20:46:06(254)]        Apply video parameter:320x240, bitrate:100000, quality:3, gop:40, fps:10, preset:3, codec:0
[2014-07-17 20:46:06(386)]        On Remote UserCameraControl(dwUserId:4009517, bOpen:1)
[2014-07-17 20:46:06(530)]        On Remote UserSpeakControl(dwUserId:4009517, bOpen:1)
[2014-07-17 20:46:06(554)]        Invoke        UserCameraControl(userid=4009517,bOpen=1)
[2014-07-17 20:46:06(555)]        Invoke        UserSpeakControl(userid=4009517,bOpen=1)
[2014-07-17 20:46:06(557)]        Invoke        UserCameraControl(userid=-1,bOpen=1)
[2014-07-17 20:46:06(558)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2014-07-17 20:46:06(860)]        video init finish:320x240, NV21, fps:25
[2014-07-17 20:46:06(890)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2014-07-17 20:46:06(891)]        Audio codec init, handle:2, 11, 1, 16000, 16, 15850
[2014-07-17 20:46:07(630)]        userid(4009517) video decode delay:6ms
[2014-07-17 20:46:35(616)]        video codec init:codec:1, 10fps, 320x240, bitrate:100000, quality:3, preset:3, gop:40, handle:4
[2014-07-17 20:46:40(461)]        Invoke        LeaveRoom(roomid=-1)        Elapse:108 ms
[2014-07-17 20:46:40(468)]        Invoke        LogoutServer(userid=3101235)        Elapse:7 ms
[2014-07-17 20:46:40(486)]        Invoke        BRAC_Release        Elapse:17 ms



作者: 静水流深    时间: 2014-7-17 21:35
另外强制加载动态库直接闪退 (Android )
作者: 静水流深    时间: 2014-7-17 21:56
我感觉这个说法有点靠谱
http://stackoverflow.com/questio ... libdl-so-2/23115339

请予以解决下
作者: admin    时间: 2014-7-17 23:10
您好,上面的日志信息是运行我们的标准Demo输出的吗?
作者: admin    时间: 2014-7-18 10:32
您好,问题的关键在于libmediacore.so库没有加载成功:
Cannot load library: load_library(linker.cpp:746): library "libmediacore.so" not found
,请尝试运行我们的标准示例程序,看是否可以加载成功!
作者: admin    时间: 2014-7-18 10:34
静水流深 发表于 2014-7-17 21:35
另外强制加载动态库直接闪退 (Android )

您好,请提供一下闪退时的logcat输出,我们帮您分析一下可能的原因,谢谢。
作者: admin    时间: 2014-7-18 13:37
您好,请尝试修改AnyChatCoreSDK.java,增加如下两行代码:
  1. static {
  2.             System.loadLibrary("audio_preprocessing");
  3.             System.loadLibrary("mediacore");
  4.             System.loadLibrary("anychatcore");
  5.     }
复制代码
看修改之后是否可以成功加载libmediacore.so加文件?




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