小米手机有个悬浮窗的开关,在应用-权限设置里面,楼主可以看看有没有打开。 |
sss 发表于 2016-6-27 14:48 我还有一个问题啊,这个小米5的手机在摄像头和录音权限没有开启的情况下,打开视频的时候为什么没有提示去开启摄像头和录音的权限呢?其他手机都有提示 |
佰锐科技-邵光清 发表于 2016-6-27 12:35 升级后解决问题了,谢谢你啦~ |
您好,Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: /data/app/com.xinxunw-1/lib/arm/libmediautil_v7.so: has text relocations) 是Android OS SDK Version:23的问题,请升级到最新的版本,可以解决这个问题:AnyChat版本升级步骤指南 另外,如果是普通的音视频通话,不必调用VideoCallControl的;如果需要【视频呼叫】功能才需要调用VideoCallControl,可以参考callcenter这个demo; |
佰锐科技-梁国桦 发表于 2016-6-27 09:30 不是的,是hello anychat的demo在小米5上是OK的,我的项目在小米5上不行,在小米2上是OK的,小米5的Android版本是6.0MRA58K,日志文件在下面的回复中。 |
本帖最后由 sss 于 2016-6-27 12:00 编辑 佰锐科技-温俊俊 发表于 2016-6-27 09:33 [2016-06-27 11:36:04(287)] ---------------------------AnyChat Platform Core SDK Client Log--------------------------- [2016-06-27 11:36:04(288)] Load libanychatcore.so success!(V5.3 Build Time:Aug 10 2015 05:31:49) [2016-06-27 11:36:04(288)] Android OS SDK Version:23, Support ARMv7:2, Support Neon:4 [2016-06-27 11:36:04(324)] Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: /data/app/com.xinxunw-1/lib/arm/libmediautil_v7.so: has text relocations) [2016-06-27 11:36:04(346)] Load libmediashow.so success!(V5.3 Build Time:Aug 10 2015 05:32:42) [2016-06-27 11:36:04(363)] Load libmediacore.so success!(V5.3 Build Time:Aug 10 2015 05:32:44) [2016-06-27 11:36:04(365)] MI 5(Xiaomi) msm8996 6.0 [2016-06-27 11:36:04(366)] Invoke Connect(**********,****)=0 [2016-06-27 11:36:04(418)] CheckClientSocketLink Connect(ip=************,port=****) [2016-06-27 11:36:04(449)] Server version: V5.3(Build Time:2015-08-07 20:29:06, Server OSinux) [2016-06-27 11:36:04(490)] Message OnConnect(bSuccess:1, errorcode=0) [2016-06-27 11:36:04(497)] Invoke LoginServer(username=咯嘛) [2016-06-27 11:36:04(790)] Message OnLoginSystem(userid=3042,errorcode=0,username=咯嘛), msg deliver worked(0) [2016-06-27 11:36:04(845)] Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: /data/app/com.xinxunw-1/lib/arm/libmediautil_v7.so: has text relocations) [2016-06-27 11:36:04(846)] Server running time: 0 days, 0 hours, 6 minutes, license mode:1 [2016-06-27 11:36:04(848)] Invoke EnterRoom(roomid=244) [2016-06-27 11:36:04(857)] Connection to streaming media server successfully!(udp delay:5ms) [2016-06-27 11:36:04(991)] Message OnEnterRoom(roomid=244,errorcode=0,siteindex=1) [2016-06-27 11:36:04(994)] Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver [2016-06-27 11:36:04(996)] Message OnReceiveOnlineUser(count=2,roomid=244) [2016-06-27 11:36:05(054)] Invoke VideoCallControl(EventType:1, UserId:3048, ErrorCode:0, dwFlags:0, dwParam:0, UserStr=0 [2016-06-27 11:36:05(153)] Message OnVideoCallEvent(EventType:2, UserId:3048, ErrorCode:0, dwFlags:0x0, dwParam:0 [2016-06-27 11:36:05(360)] Apply video parameter:720x1280, bitrate:800kbps, quality:4, gop:100, fps:25, preset:5, codec:1 [2016-06-27 11:36:05(361)] Invoke SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1) [2016-06-27 11:36:05(361)] Invoke SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1) [2016-06-27 11:36:05(361)] Invoke SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0) [2016-06-27 11:36:05(363)] Invoke UserCameraControl(userid=3048, bOpen=1, stream=0) [2016-06-27 11:36:05(363)] Invoke UserSpeakControl(userid=3048,bOpen=1) [2016-06-27 11:36:05(368)] Invoke UserCameraControl(userid=-1, bOpen=1, stream=0) [2016-06-27 11:36:05(368)] Invoke UserSpeakControl(userid=-1,bOpen=1) [2016-06-27 11:36:05(421)] Message OnP2PConnectState(userid=3048, state=2) [2016-06-27 11:36:05(505)] APPLOG Camera Preview size: 1920 x 1080 [2016-06-27 11:36:05(506)] APPLOG Camera Preview size: 1440 x 1080 [2016-06-27 11:36:05(506)] APPLOG Camera Preview size: 1280 x 960 [2016-06-27 11:36:05(507)] APPLOG Camera Preview size: 1280 x 720 [2016-06-27 11:36:05(507)] APPLOG Camera Preview size: 864 x 480 [2016-06-27 11:36:05(508)] APPLOG Camera Preview size: 800 x 480 [2016-06-27 11:36:05(508)] APPLOG Camera Preview size: 768 x 432 [2016-06-27 11:36:05(509)] APPLOG Camera Preview size: 720 x 480 [2016-06-27 11:36:05(509)] APPLOG Camera Preview size: 640 x 640 [2016-06-27 11:36:05(510)] APPLOG Camera Preview size: 640 x 480 [2016-06-27 11:36:05(510)] APPLOG Camera Preview size: 640 x 360 [2016-06-27 11:36:05(510)] APPLOG Camera Preview size: 576 x 432 [2016-06-27 11:36:05(511)] APPLOG Camera Preview size: 480 x 360 [2016-06-27 11:36:05(511)] APPLOG Camera Preview size: 480 x 320 [2016-06-27 11:36:05(512)] APPLOG Camera Preview size: 384 x 288 [2016-06-27 11:36:05(512)] APPLOG Camera Preview size: 352 x 288 [2016-06-27 11:36:05(513)] APPLOG Camera Preview size: 320 x 240 [2016-06-27 11:36:05(513)] APPLOG Camera Preview size: 240 x 160 [2016-06-27 11:36:05(514)] APPLOG Camera Preview size: 176 x 144 [2016-06-27 11:36:05(514)] APPLOG Camera FrameRate: 7000 , 30000 [2016-06-27 11:36:05(515)] APPLOG Camera FrameRate: 30000 , 30000 [2016-06-27 11:36:05(574)] Message OnP2PConnectState(userid=3048, state=3) [2016-06-27 11:36:05(597)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1) [2016-06-27 11:36:05(598)] Invoke SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0) [2016-06-27 11:36:05(600)] video init finish:320x240, NV21, fps:30, codecid:1 [2016-06-27 11:36:05(608)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1) [2016-06-27 11:36:05(612)] Invoke SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0) [2016-06-27 11:36:05(612)] video init finish:320x240, NV21, fps:30, codecid:1 [2016-06-27 11:36:05(621)] Invoke SetInputAudioFormat(1, 16000, 16, flags:0) [2016-06-27 11:36:05(622)] Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0 [2016-06-27 11:36:05(622)] Audio codec init, handle:-1, 11, 1, 16000, 16, 15850 [2016-06-27 11:36:05(725)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1 [2016-06-27 11:36:05(726)] Convert YUV420P Failed! [2016-06-27 11:36:05(802)] On Remote UserSpeakControl(dwUserId:3048, bOpen:1) [2016-06-27 11:36:05(898)] On Remote UserCameraControl(dwUserId:3048, bOpen:1) [2016-06-27 11:36:12(165)] Invoke UserCameraControl(userid=3048, bOpen=0, stream=0) [2016-06-27 11:36:12(167)] Invoke UserSpeakControl(userid=3048,bOpen=0) [2016-06-27 11:36:12(172)] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0) [2016-06-27 11:36:12(175)] Invoke UserSpeakControl(userid=-1,bOpen=0) [2016-06-27 11:36:12(228)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0) [2016-06-27 11:36:12(314)] Invoke UserCameraControl(userid=3048, bOpen=0, stream=0) [2016-06-27 11:36:12(318)] Invoke UserSpeakControl(userid=3048,bOpen=0) [2016-06-27 11:36:12(320)] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0) [2016-06-27 11:36:12(321)] Invoke UserSpeakControl(userid=-1,bOpen=0) [2016-06-27 11:36:12(333)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0) [2016-06-27 11:36:12(689)] Invoke LeaveRoom(roomid=-1) Elapse:100 ms [2016-06-27 11:36:12(703)] Invoke LogoutServer(userid=3042) Elapse:13 ms |
本帖最后由 sss 于 2016-6-27 11:59 编辑 佰锐科技-邵光清 发表于 2016-6-27 09:56 [2016-06-27 11:36:04(287)] ---------------------------AnyChat Platform Core SDK Client Log--------------------------- [2016-06-27 11:36:04(288)] Load libanychatcore.so success!(V5.3 Build Time:Aug 10 2015 05:31:49) [2016-06-27 11:36:04(288)] Android OS SDK Version:23, Support ARMv7:2, Support Neon:4 [2016-06-27 11:36:04(324)] Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: /data/app/com.xinxunw-1/lib/arm/libmediautil_v7.so: has text relocations) [2016-06-27 11:36:04(346)] Load libmediashow.so success!(V5.3 Build Time:Aug 10 2015 05:32:42) [2016-06-27 11:36:04(363)] Load libmediacore.so success!(V5.3 Build Time:Aug 10 2015 05:32:44) [2016-06-27 11:36:04(365)] MI 5(Xiaomi) msm8996 6.0 [2016-06-27 11:36:04(366)] Invoke Connect(************,****)=0 [2016-06-27 11:36:04(418)] CheckClientSocketLink Connect(ip=***********,port=****) [2016-06-27 11:36:04(449)] Server version: V5.3(Build Time:2015-08-07 20:29:06, Server OSinux) [2016-06-27 11:36:04(490)] Message OnConnect(bSuccess:1, errorcode=0) [2016-06-27 11:36:04(497)] Invoke LoginServer(username=咯嘛) [2016-06-27 11:36:04(790)] Message OnLoginSystem(userid=3042,errorcode=0,username=咯嘛), msg deliver worked(0) [2016-06-27 11:36:04(845)] Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: /data/app/com.xinxunw-1/lib/arm/libmediautil_v7.so: has text relocations) [2016-06-27 11:36:04(846)] Server running time: 0 days, 0 hours, 6 minutes, license mode:1 [2016-06-27 11:36:04(848)] Invoke EnterRoom(roomid=244) [2016-06-27 11:36:04(857)] Connection to streaming media server successfully!(udp delay:5ms) [2016-06-27 11:36:04(991)] Message OnEnterRoom(roomid=244,errorcode=0,siteindex=1) [2016-06-27 11:36:04(994)] Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver [2016-06-27 11:36:04(996)] Message OnReceiveOnlineUser(count=2,roomid=244) [2016-06-27 11:36:05(054)] Invoke VideoCallControl(EventType:1, UserId:3048, ErrorCode:0, dwFlags:0, dwParam:0, UserStr=0 [2016-06-27 11:36:05(153)] Message OnVideoCallEvent(EventType:2, UserId:3048, ErrorCode:0, dwFlags:0x0, dwParam:0 [2016-06-27 11:36:05(360)] Apply video parameter:720x1280, bitrate:800kbps, quality:4, gop:100, fps:25, preset:5, codec:1 [2016-06-27 11:36:05(361)] Invoke SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1) [2016-06-27 11:36:05(361)] Invoke SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1) [2016-06-27 11:36:05(361)] Invoke SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0) [2016-06-27 11:36:05(363)] Invoke UserCameraControl(userid=3048, bOpen=1, stream=0) [2016-06-27 11:36:05(363)] Invoke UserSpeakControl(userid=3048,bOpen=1) [2016-06-27 11:36:05(368)] Invoke UserCameraControl(userid=-1, bOpen=1, stream=0) [2016-06-27 11:36:05(368)] Invoke UserSpeakControl(userid=-1,bOpen=1) [2016-06-27 11:36:05(421)] Message OnP2PConnectState(userid=3048, state=2) [2016-06-27 11:36:05(505)] APPLOG Camera Preview size: 1920 x 1080 [2016-06-27 11:36:05(506)] APPLOG Camera Preview size: 1440 x 1080 [2016-06-27 11:36:05(506)] APPLOG Camera Preview size: 1280 x 960 [2016-06-27 11:36:05(507)] APPLOG Camera Preview size: 1280 x 720 [2016-06-27 11:36:05(507)] APPLOG Camera Preview size: 864 x 480 [2016-06-27 11:36:05(508)] APPLOG Camera Preview size: 800 x 480 [2016-06-27 11:36:05(508)] APPLOG Camera Preview size: 768 x 432 [2016-06-27 11:36:05(509)] APPLOG Camera Preview size: 720 x 480 [2016-06-27 11:36:05(509)] APPLOG Camera Preview size: 640 x 640 [2016-06-27 11:36:05(510)] APPLOG Camera Preview size: 640 x 480 [2016-06-27 11:36:05(510)] APPLOG Camera Preview size: 640 x 360 [2016-06-27 11:36:05(510)] APPLOG Camera Preview size: 576 x 432 [2016-06-27 11:36:05(511)] APPLOG Camera Preview size: 480 x 360 [2016-06-27 11:36:05(511)] APPLOG Camera Preview size: 480 x 320 [2016-06-27 11:36:05(512)] APPLOG Camera Preview size: 384 x 288 [2016-06-27 11:36:05(512)] APPLOG Camera Preview size: 352 x 288 [2016-06-27 11:36:05(513)] APPLOG Camera Preview size: 320 x 240 [2016-06-27 11:36:05(513)] APPLOG Camera Preview size: 240 x 160 [2016-06-27 11:36:05(514)] APPLOG Camera Preview size: 176 x 144 [2016-06-27 11:36:05(514)] APPLOG Camera FrameRate: 7000 , 30000 [2016-06-27 11:36:05(515)] APPLOG Camera FrameRate: 30000 , 30000 [2016-06-27 11:36:05(574)] Message OnP2PConnectState(userid=3048, state=3) [2016-06-27 11:36:05(597)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1) [2016-06-27 11:36:05(598)] Invoke SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0) [2016-06-27 11:36:05(600)] video init finish:320x240, NV21, fps:30, codecid:1 [2016-06-27 11:36:05(608)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1) [2016-06-27 11:36:05(612)] Invoke SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0) [2016-06-27 11:36:05(612)] video init finish:320x240, NV21, fps:30, codecid:1 [2016-06-27 11:36:05(621)] Invoke SetInputAudioFormat(1, 16000, 16, flags:0) [2016-06-27 11:36:05(622)] Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0 [2016-06-27 11:36:05(622)] Audio codec init, handle:-1, 11, 1, 16000, 16, 15850 [2016-06-27 11:36:05(725)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1 [2016-06-27 11:36:05(726)] Convert YUV420P Failed! [2016-06-27 11:36:05(802)] On Remote UserSpeakControl(dwUserId:3048, bOpen:1) [2016-06-27 11:36:05(898)] On Remote UserCameraControl(dwUserId:3048, bOpen:1) [2016-06-27 11:36:12(165)] Invoke UserCameraControl(userid=3048, bOpen=0, stream=0) [2016-06-27 11:36:12(167)] Invoke UserSpeakControl(userid=3048,bOpen=0) [2016-06-27 11:36:12(172)] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0) [2016-06-27 11:36:12(175)] Invoke UserSpeakControl(userid=-1,bOpen=0) [2016-06-27 11:36:12(228)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0) [2016-06-27 11:36:12(314)] Invoke UserCameraControl(userid=3048, bOpen=0, stream=0) [2016-06-27 11:36:12(318)] Invoke UserSpeakControl(userid=3048,bOpen=0) [2016-06-27 11:36:12(320)] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0) [2016-06-27 11:36:12(321)] Invoke UserSpeakControl(userid=-1,bOpen=0) [2016-06-27 11:36:12(333)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0) [2016-06-27 11:36:12(689)] Invoke LeaveRoom(roomid=-1) Elapse:100 ms [2016-06-27 11:36:12(703)] Invoke LogoutServer(userid=3042) Elapse:13 ms |
佰锐科技-邵光清 发表于 2016-6-27 09:56 日志文件看下一个回复 |
sss 发表于 2016-6-27 09:12 您好,如果是参照helloanychat的demo写的,是怎么回事出现videocallcontrol呢?请提供日志,我们尽快分析问题。 |
Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )
GMT+8, 2024-11-24 14:17 , Processed in 0.150458 second(s), 26 queries .
Powered by Discuz! X3
© 2001-2013 Comsenz Inc.