AnyChat技术支持论坛

标题: 其他设备上的客户端与nexus 10视频通话时看到的视频都是倒着的 [打印本页]

作者: liutaoboy    时间: 2015-2-5 11:42
标题: 其他设备上的客户端与nexus 10视频通话时看到的视频都是倒着的
我的nexus 10与其他设备进行视频通话时,自己设备上看自己正常,但其他设备客户端看到的nexus 10的视频都是顺时针旋转90°的,我试了一下咱最新的Android SDK里的helloChat的demo运行也是这种情况,请问怎么解决啊?!我用了咱调整视频方向的函数也不行,没有任何效果。

作者: 廖斌    时间: 2015-2-5 11:59
您好,这种情况是由于android设备的碎片化造成的,可能某些设备的采集方向不一致,造成了这种情况。可以调用我们的调整采集方向的接口。
作者: 廖斌    时间: 2015-2-5 12:00
廖斌 发表于 2015-2-5 11:59
您好,这种情况是由于android设备的碎片化造成的,可能某些设备的采集方向不一致,造成了这种情况。可以调 ...

参考帖子
http://bbs.anychat.cn/forum.php? ... &extra=page%3D3
作者: admin    时间: 2015-2-5 12:11
nexus 10与其他设备进行视频通话时
请上传该设备的日志文件:BRAnyChatCore.log,位于SD卡根目录下,我们分析一下,谢谢!
作者: liutaoboy    时间: 2015-2-5 13:30
调整采集方向的接口我调用了,没有任何作用,稍后我把日志传上来,帮我看一下,谢谢,nexus 10算是谷歌的亲儿子了,按道理应该是标准设计,不应该会这样啊
作者: liutaoboy    时间: 2015-2-5 13:38
这是nexus10的日志:
[2015-02-05 13:33:20(807)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2015-02-05 13:33:20(808)]        Load libanychatcore.so success!(V5.2 Build Time:Jan 19 2015 07:04:03)
[2015-02-05 13:33:20(809)]        Android OS SDK Version:21, Support ARMv7:2, Support Neon:4
[2015-02-05 13:33:20(827)]        Load libmediautil_v7.so success!(V5.2 Build Time:Jan 19 2015 07:05:29)
[2015-02-05 13:33:20(840)]        Load libmediashow.so success!(V5.2 Build Time:Jan 19 2015 07:05:09)
[2015-02-05 13:33:20(847)]        Load libmediacore.so success!(V5.2 Build Time:Jan 19 2015 07:05:14)
[2015-02-05 13:33:20(849)]        Nexus 10(samsung) exynos5  5.0.2
[2015-02-05 13:33:20(873)]        Apply video parameter:320x240, bitrate:150000, quality:0, gop:40, fps:10, preset:3, codec:0
[2015-02-05 13:33:20(874)]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2015-02-05 13:33:20(874)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2015-02-05 13:33:20(875)]        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2015-02-05 13:33:24(711)]        Invoke        BRAC_Connect(demo.anychat.cn,8906)=0
[2015-02-05 13:33:24(713)]        Invoke        LoginServer(username=nameqw)
[2015-02-05 13:33:24(789)]        CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
[2015-02-05 13:33:24(876)]        Server version: V5.2(Build Time:2015-01-20 22:36:15, Server OS:Windows)
[2015-02-05 13:33:24(938)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2015-02-05 13:33:25(224)]        Message        OnLoginSystem(userid=-17376,errorcode=0,username=nameqw), msg deliver worked(0)
[2015-02-05 13:33:25(225)]        Server running time: 15 days, 4 hours, 1 minutes, license mode:1
[2015-02-05 13:33:25(239)]        Invoke        EnterRoom(roomid=1)
[2015-02-05 13:33:25(270)]        Connection to streaming media server successfully!(udp delay:22ms)
[2015-02-05 13:33:25(333)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=2)
[2015-02-05 13:33:25(334)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2015-02-05 13:33:25(343)]        Message        OnReceiveOnlineUser(count=3,roomid=1)
[2015-02-05 13:33:47(284)]        On Remote UserCameraControl(dwUserId:-17375, bOpen:1)
[2015-02-05 13:33:47(322)]        On Remote UserSpeakControl(dwUserId:-17375, bOpen:1)
[2015-02-05 13:34:28(935)]        On Remote UserCameraControl(dwUserId:-17375, bOpen:0)
[2015-02-05 13:34:28(969)]        On Remote UserSpeakControl(dwUserId:-17375, bOpen:0)
[2015-02-05 13:34:30(494)]        Message        OnUserLeaveRoom(userid=-17375,siteindex=1)
[2015-02-05 13:34:50(453)]        Message        OnUserLeaveRoom(userid=-17373,siteindex=0)
[2015-02-05 13:35:52(006)]        Message        OnUserEnterRoom(userid=-17378,nickname=nafr,siteindex=0)
[2015-02-05 13:35:56(103)]        On Remote UserCameraControl(dwUserId:-17378, bOpen:1)
[2015-02-05 13:35:56(107)]        On Remote UserSpeakControl(dwUserId:-17378, bOpen:1)
[2015-02-05 13:36:00(204)]        Invoke        UserCameraControl(userid=-17378,bOpen=1)
[2015-02-05 13:36:00(204)]        Invoke        UserSpeakControl(userid=-17378,bOpen=1)
[2015-02-05 13:36:00(210)]        Invoke        UserCameraControl(userid=-1,bOpen=1)
[2015-02-05 13:36:00(211)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2015-02-05 13:36:00(584)]        video init finish:320x240, NV21, fps:25
[2015-02-05 13:36:00(609)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2015-02-05 13:36:00(610)]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2015-02-05 13:36:00(701)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-02-05 13:36:00(913)]        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:0, preset:3, gop:40, handle:2
[2015-02-05 13:36:01(415)]        Message        OnP2PConnectState(userid=-17378, state=2)
[2015-02-05 13:36:01(544)]        userid(-17378) video decode delay:23ms
[2015-02-05 13:36:21(704)]        On Remote UserCameraControl(dwUserId:-17378, bOpen:0)
[2015-02-05 13:36:21(727)]        On Remote UserSpeakControl(dwUserId:-17378, bOpen:0)
[2015-02-05 13:36:22(650)]        Invoke        UserCameraControl(userid=-17378,bOpen=0)
[2015-02-05 13:36:22(650)]        Invoke        UserSpeakControl(userid=-17378,bOpen=0)
[2015-02-05 13:36:22(651)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-02-05 13:36:22(653)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-02-05 13:36:22(717)]        Invoke        UserCameraControl(userid=-17378,bOpen=0)
[2015-02-05 13:36:22(720)]        Invoke        UserSpeakControl(userid=-17378,bOpen=0)
[2015-02-05 13:36:22(724)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-02-05 13:36:22(727)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-02-05 13:36:23(529)]        Message        OnP2PConnectState(userid=-17378, state=0)
[2015-02-05 13:36:26(182)]        Invoke        UserCameraControl(userid=-17378,bOpen=1)
[2015-02-05 13:36:26(182)]        Invoke        UserSpeakControl(userid=-17378,bOpen=1)
[2015-02-05 13:36:26(189)]        Invoke        UserCameraControl(userid=-1,bOpen=1)
[2015-02-05 13:36:26(189)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2015-02-05 13:36:26(517)]        video init finish:320x240, NV21, fps:25
[2015-02-05 13:36:26(526)]        video init finish:320x240, NV21, fps:25
[2015-02-05 13:36:26(546)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2015-02-05 13:36:26(760)]        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:0, preset:3, gop:40, handle:5
[2015-02-05 13:36:31(432)]        On Remote UserCameraControl(dwUserId:-17378, bOpen:1)
[2015-02-05 13:36:31(466)]        On Remote UserSpeakControl(dwUserId:-17378, bOpen:1)
[2015-02-05 13:36:31(643)]        userid(-17378) video decode delay:8ms
[2015-02-05 13:36:39(503)]        Message        OnUserEnterRoom(userid=11203,nickname=yxguang2,siteindex=1)
[2015-02-05 13:36:48(254)]        Message        OnP2PConnectState(userid=11203, state=2)
[2015-02-05 13:36:59(474)]        Invoke        UserCameraControl(userid=-17378,bOpen=0)
[2015-02-05 13:36:59(478)]        Invoke        UserSpeakControl(userid=-17378,bOpen=0)
[2015-02-05 13:36:59(492)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-02-05 13:36:59(498)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-02-05 13:36:59(575)]        Invoke        UserCameraControl(userid=-17378,bOpen=0)
[2015-02-05 13:36:59(576)]        Invoke        UserSpeakControl(userid=-17378,bOpen=0)
[2015-02-05 13:36:59(577)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-02-05 13:36:59(578)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-02-05 13:37:01(470)]        Message        OnUserLeaveRoom(userid=-17378,siteindex=0)
[2015-02-05 13:37:01(598)]        On Remote UserCameraControl(dwUserId:11203, bOpen:1)
[2015-02-05 13:37:01(843)]        On Remote UserSpeakControl(dwUserId:11203, bOpen:1)
[2015-02-05 13:37:02(852)]        Invoke        LeaveRoom(roomid=-1)        Elapse:100 ms
[2015-02-05 13:37:02(865)]        Invoke        LogoutServer(userid=-17376)        Elapse:12 ms
[2015-02-05 13:37:08(342)]        Invoke        BRAC_Release        Elapse:101 ms

作者: liutaoboy    时间: 2015-2-5 13:39
这是与他通信的nexus 7的日志:[2015-02-05 13:35:38(120)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2015-02-05 13:35:38(121)]        Load libanychatcore.so success!(V5.2 Build Time:Jan 19 2015 07:04:03)
[2015-02-05 13:35:38(121)]        Android OS SDK Version:19, Support ARMv7:2, Support Neon:4
[2015-02-05 13:35:38(138)]        Load libmediautil_v7.so success!(V5.2 Build Time:Jan 19 2015 07:05:29)
[2015-02-05 13:35:38(150)]        Load libmediashow.so success!(V5.2 Build Time:Jan 19 2015 07:05:09)
[2015-02-05 13:35:38(160)]        Load libmediacore.so success!(V5.2 Build Time:Jan 19 2015 07:05:14)
[2015-02-05 13:35:38(161)]        Nexus 7(asus) msm8960  4.4.4
[2015-02-05 13:35:38(173)]        Apply video parameter:320x240, bitrate:150000, quality:0, gop:40, fps:10, preset:3, codec:0
[2015-02-05 13:35:38(173)]        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2015-02-05 13:35:38(174)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2015-02-05 13:35:38(174)]        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2015-02-05 13:35:42(628)]        Invoke        BRAC_Connect(demo.anychat.cn,8906)=0
[2015-02-05 13:35:42(629)]        Invoke        LoginServer(username=nafr)
[2015-02-05 13:35:45(068)]        CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
[2015-02-05 13:35:45(191)]        Server version: V5.2(Build Time:2015-01-20 22:36:15, Server OS:Windows)
[2015-02-05 13:35:45(264)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2015-02-05 13:35:45(570)]        Message        OnLoginSystem(userid=-17378,errorcode=0,username=nafr), msg deliver worked(0)
[2015-02-05 13:35:45(572)]        Server running time: 15 days, 4 hours, 3 minutes, license mode:1
[2015-02-05 13:35:45(588)]        Invoke        EnterRoom(roomid=1)
[2015-02-05 13:35:45(669)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2015-02-05 13:35:45(670)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2015-02-05 13:35:45(670)]        Message        OnReceiveOnlineUser(count=2,roomid=1)
[2015-02-05 13:35:49(627)]        Invoke        UserCameraControl(userid=-17376,bOpen=1)
[2015-02-05 13:35:49(628)]        Invoke        UserSpeakControl(userid=-17376,bOpen=1)
[2015-02-05 13:35:49(631)]        Invoke        UserCameraControl(userid=-1,bOpen=1)
[2015-02-05 13:35:49(631)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2015-02-05 13:35:49(704)]        Connection to streaming media server successfully!(udp delay:41ms)
[2015-02-05 13:35:50(556)]        video init finish:320x240, NV21, fps:30
[2015-02-05 13:35:50(708)]        video init finish:320x240, NV21, fps:30
[2015-02-05 13:35:50(715)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2015-02-05 13:35:50(716)]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2015-02-05 13:35:50(803)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2015-02-05 13:35:50(864)]        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:0, preset:3, gop:40, handle:2
[2015-02-05 13:35:55(037)]        On Remote UserCameraControl(dwUserId:-17376, bOpen:1)
[2015-02-05 13:35:55(038)]        On Remote UserSpeakControl(dwUserId:-17376, bOpen:1)
[2015-02-05 13:35:55(061)]        Message        OnP2PConnectState(userid=-17376, state=2)
[2015-02-05 13:35:58(459)]        userid(-17376) video decode delay:10ms
[2015-02-05 13:36:12(600)]        Invoke        UserCameraControl(userid=-17376,bOpen=0)
[2015-02-05 13:36:12(601)]        Invoke        UserSpeakControl(userid=-17376,bOpen=0)
[2015-02-05 13:36:12(602)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-02-05 13:36:12(603)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-02-05 13:36:12(655)]        Invoke        UserCameraControl(userid=-17376,bOpen=0)
[2015-02-05 13:36:12(656)]        Invoke        UserSpeakControl(userid=-17376,bOpen=0)
[2015-02-05 13:36:12(657)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-02-05 13:36:12(657)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-02-05 13:36:13(226)]        Message        OnP2PConnectState(userid=-17376, state=0)
[2015-02-05 13:36:16(714)]        On Remote UserCameraControl(dwUserId:-17376, bOpen:0)
[2015-02-05 13:36:16(736)]        On Remote UserSpeakControl(dwUserId:-17376, bOpen:0)
[2015-02-05 13:36:23(184)]        Invoke        UserCameraControl(userid=-17376,bOpen=1)
[2015-02-05 13:36:23(185)]        Invoke        UserSpeakControl(userid=-17376,bOpen=1)
[2015-02-05 13:36:23(188)]        Invoke        UserCameraControl(userid=-1,bOpen=1)
[2015-02-05 13:36:23(189)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2015-02-05 13:36:24(134)]        video init finish:320x240, NV21, fps:30
[2015-02-05 13:36:24(141)]        video init finish:320x240, NV21, fps:30
[2015-02-05 13:36:24(146)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2015-02-05 13:36:24(491)]        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:0, preset:3, gop:40, handle:5
[2015-02-05 13:36:25(063)]        On Remote UserCameraControl(dwUserId:-17376, bOpen:1)
[2015-02-05 13:36:25(064)]        On Remote UserSpeakControl(dwUserId:-17376, bOpen:1)
[2015-02-05 13:36:25(223)]        userid(-17376) video decode delay:11ms
[2015-02-05 13:36:49(931)]        Invoke        UserCameraControl(userid=-17376,bOpen=0)
[2015-02-05 13:36:49(932)]        Invoke        UserSpeakControl(userid=-17376,bOpen=0)
[2015-02-05 13:36:49(934)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-02-05 13:36:49(935)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-02-05 13:36:49(952)]        Invoke        UserCameraControl(userid=-17376,bOpen=0)
[2015-02-05 13:36:49(953)]        Invoke        UserSpeakControl(userid=-17376,bOpen=0)
[2015-02-05 13:36:49(953)]        Invoke        UserCameraControl(userid=-1,bOpen=0)
[2015-02-05 13:36:49(954)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2015-02-05 13:36:51(030)]        Invoke        LeaveRoom(roomid=-1)        Elapse:101 ms
[2015-02-05 13:36:51(046)]        Invoke        LogoutServer(userid=-17378)        Elapse:15 ms
[2015-02-05 13:36:58(077)]        Invoke        BRAC_Connect(demo.anychat.cn,8906)=0
[2015-02-05 13:36:58(078)]        Invoke        LoginServer(username=nafr)
[2015-02-05 13:36:58(131)]        CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
[2015-02-05 13:36:58(273)]        Server version: V5.2(Build Time:2015-01-20 22:36:15, Server OS:Windows)
[2015-02-05 13:36:58(356)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2015-02-05 13:36:58(661)]        Message        OnLoginSystem(userid=-17381,errorcode=0,username=nafr), msg deliver worked(0)
[2015-02-05 13:36:58(674)]        Load libmediautil_v7.so success!(V5.2 Build Time:Jan 19 2015 07:05:29)
[2015-02-05 13:36:58(687)]        Load libmediashow.so success!(V5.2 Build Time:Jan 19 2015 07:05:09)
[2015-02-05 13:36:58(697)]        Load libmediacore.so success!(V5.2 Build Time:Jan 19 2015 07:05:14)
[2015-02-05 13:36:58(698)]        Server running time: 15 days, 4 hours, 5 minutes, license mode:1
[2015-02-05 13:36:58(709)]        Invoke        EnterRoom(roomid=1)
[2015-02-05 13:36:58(720)]        Connection to streaming media server successfully!(udp delay:11ms)
[2015-02-05 13:36:58(822)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2015-02-05 13:36:58(822)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2015-02-05 13:36:58(823)]        Message        OnReceiveOnlineUser(count=2,roomid=1)
[2015-02-05 13:37:04(762)]        Invoke        LeaveRoom(roomid=-1)        Elapse:101 ms
[2015-02-05 13:37:04(769)]        Invoke        LogoutServer(userid=-17381)        Elapse:6 ms
[2015-02-05 13:37:04(797)]        Invoke        BRAC_Release        Elapse:27 ms

作者: liutaoboy    时间: 2015-2-5 13:40
nexus 7上看到的nexus 10的视频是顺时针旋转了90°的,nexus 10看nexus7上的视频是正常的
作者: 廖斌    时间: 2015-2-5 13:41
liutaoboy 发表于 2015-2-5 13:30
调整采集方向的接口我调用了,没有任何作用,稍后我把日志传上来,帮我看一下,谢谢,nexus 10算是谷歌的亲 ...

android提供的修正接口是修正采集方向那边的,比如说A看B有问题,那么需要在B这边调用这个接口,在A那边看效果。可以在视频通话界面加一个按钮,然后调用
  1. // 禁止本地视频自动旋转
  2. AnyChatCoreSDK.SetSDKOptionInt(AnyChatDefine.BRAC_SO_LOCALVIDEO_AUTOROTATION, 0);
  3. AnyChatCoreSDK.UserInfoControl(-1, AnyChatDefine.BRAC_USERINFO_CTRLCODE_ROTATION, AnyChatDefine.BRAC_ROTATION_FLAGS_ROTATION90, 0, "");
复制代码

作者: 廖斌    时间: 2015-2-5 13:42
廖斌 发表于 2015-2-5 13:41
android提供的修正接口是修正采集方向那边的,比如说A看B有问题,那么需要在B这边调用这个接口,在A那边 ...

UserInfoControl的第三个参数可以传不同的角度
作者: admin    时间: 2015-2-5 13:46
您好,我们会针对nexus 10做一些适配!
作者: liutaoboy    时间: 2015-2-5 15:27
廖斌 发表于 2015-2-5 13:41
android提供的修正接口是修正采集方向那边的,比如说A看B有问题,那么需要在B这边调用这个接口,在A那边 ...

我就是在A处加的调整方向代码,B处观察变化,但A调整后B没有任何变化
作者: liutaoboy    时间: 2015-2-5 15:34
admin 发表于 2015-2-5 13:46
您好,我们会针对nexus 10做一些适配!

那现在有没有什么解决的办法?
作者: admin    时间: 2015-2-5 15:46
我就是在A处加的调整方向代码,B处观察变化
理论是可行的!
作者: 廖斌    时间: 2015-2-5 15:53
liutaoboy 发表于 2015-2-5 15:34
那现在有没有什么解决的办法?

还可以调整下B显示的视频方向,需要修改下AnyChatVideoHelper.java类
作者: liutaoboy    时间: 2015-2-5 17:09
廖斌 发表于 2015-2-5 15:53
还可以调整下B显示的视频方向,需要修改下AnyChatVideoHelper.java类

怎么修改?
作者: liutaoboy    时间: 2015-2-6 17:15
admin 发表于 2015-2-5 13:46
您好,我们会针对nexus 10做一些适配!

那目前有没有什么办法解决?
作者: admin    时间: 2015-2-10 16:28
您好,Android SDK已经更新,有针对Nexus 10进行适配,版本号:r4509,请重新下载并更新SDK,参考:AnyChat版本升级步骤指南,看是否正常了,谢谢!
作者: liutaoboy    时间: 2015-2-12 11:48
admin 发表于 2015-2-10 16:28
您好,Android SDK已经更新,有针对Nexus 10进行适配,版本号:r4509,请重新下载并更新SDK,参考:AnyChat ...

升级了这个版本的sdk后无法看到远程视频了,怎么回事??相应的服务器版本也要升级吗?
作者: 廖斌    时间: 2015-2-12 12:04
liutaoboy 发表于 2015-2-12 11:48
升级了这个版本的sdk后无法看到远程视频了,怎么回事??相应的服务器版本也要升级吗?

您好
1、升级的时候,有将sdk文件和库文件都替换吗?

2、一般情况下只升级客户端,不升级服务器是可以的,可以将您的日志文件发上来看下
作者: liutaoboy    时间: 2015-2-12 15:41
廖斌 发表于 2015-2-12 12:04
您好
1、升级的时候,有将sdk文件和库文件都替换吗?

都替换了,下面是日志:
02-12 15:39:10.896  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed 78K, 2% free 9476K/9588K, paused 15ms, total 15ms
02-12 15:39:10.946  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ Trying to load lib /data/app-lib/com.newstar.android.vediochat-2/libaudio_preprocessing.so 0x41f20d88
02-12 15:39:10.946  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ Added shared lib /data/app-lib/com.newstar.android.vediochat-2/libaudio_preprocessing.so 0x41f20d88
02-12 15:39:10.946  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ No JNI_OnLoad found in /data/app-lib/com.newstar.android.vediochat-2/libaudio_preprocessing.so 0x41f20d88, skipping init
02-12 15:39:10.946  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ Trying to load lib /data/app-lib/com.newstar.android.vediochat-2/libmediacore.so 0x41f20d88
02-12 15:39:10.956  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ Added shared lib /data/app-lib/com.newstar.android.vediochat-2/libmediacore.so 0x41f20d88
02-12 15:39:10.956  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ No JNI_OnLoad found in /data/app-lib/com.newstar.android.vediochat-2/libmediacore.so 0x41f20d88, skipping init
02-12 15:39:10.956  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ Trying to load lib /data/app-lib/com.newstar.android.vediochat-2/libanychatcore.so 0x41f20d88
02-12 15:39:10.956  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ Added shared lib /data/app-lib/com.newstar.android.vediochat-2/libanychatcore.so 0x41f20d88
02-12 15:39:10.966  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:10(982)        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
02-12 15:39:10.976  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:10(983)        Load libanychatcore.so success!(V5.2 Build Time:Feb 10 2015 08:21:23)
02-12 15:39:10.976  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:10(984)        Android OS SDK Version:19, Support ARMv7:2, Support Neon:4
02-12 15:39:10.986  13053-13053/com.newstar.android.vediochat W/linker﹕ libmediautil_v7.so has text relocations. This is wasting memory and is a security risk. Please fix.
02-12 15:39:10.996  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:11(6)        Load libmediautil_v7.so success!(V5.2 Build Time:Feb 10 2015 08:22:47)
02-12 15:39:11.006  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:11(19)        Load libmediashow.so success!(V5.2 Build Time:Feb 10 2015 08:22:28)
02-12 15:39:11.016  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:11(31)        Load libmediacore.so success!(V5.2 Build Time:Feb 10 2015 08:22:33)
02-12 15:39:11.016  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:11(32)        Nexus 7(asus) msm8960  4.4.4
02-12 15:39:11.026  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:11(37)        Invoke        BRAC_Connect(202.136.60.207,1980)=0
02-12 15:39:11.026  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:11(40)        Invoke        LoginServer(username=user1)
02-12 15:39:11.087  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed 110K, 2% free 9878K/10020K, paused 14ms, total 15ms
02-12 15:39:11.097  13053-13081/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:11(103)        CheckClientSocketLink         Connect(ip=202.136.60.207,port=1980)
02-12 15:39:11.127  13053-13053/com.newstar.android.vediochat I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I0404c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
02-12 15:39:11.147  13053-13053/com.newstar.android.vediochat D/OpenGLRenderer﹕ Enabling debug mode 0
02-12 15:39:11.427  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:11(434)        Invoke        BRAC_Connect(202.136.60.207,1980)=0
02-12 15:39:11.427  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:11(435)        Invoke        LoginServer(username=user1)
02-12 15:39:11.507  13053-13081/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:11(515)        CheckClientSocketLink         Connect(ip=202.136.60.207,port=1980)
02-12 15:39:11.767  13053-13081/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:11(781)        Server version: V5.2(Build Time:2015-01-27 21:36:19, Server OSinux)
02-12 15:39:11.897  13053-13081/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:11(903)        Message        OnConnect(bSuccess:1, errorcode=0)
02-12 15:39:12.388  13053-13081/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:12(401)        Message        OnLoginSystem(userid=1,errorcode=0,username=�����û�1), msg deliver worked(0)
02-12 15:39:12.388  13053-13081/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:12(402)        Server running time: 0 days, 1 hours, 11 minutes, license mode:0
02-12 15:39:12.398  13053-13053/com.newstar.android.vediochat D/﹕ userid: 1
02-12 15:39:12.418  13053-13053/com.newstar.android.vediochat W/ResourceType﹕ Attempt to retrieve bag 0x7f090002 which is invalid or in a cycle.
02-12 15:39:12.478  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed 112K, 2% free 10151K/10296K, paused 13ms, total 13ms
02-12 15:39:12.478  13053-13053/com.newstar.android.vediochat I/dalvikvm-heap﹕ Grow heap (frag case) to 10.770MB for 868640-byte allocation
02-12 15:39:12.498  13053-13063/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed 1K, 2% free 10998K/11148K, paused 23ms, total 23ms
02-12 15:39:12.528  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed 8K, 2% free 11055K/11212K, paused 15ms, total 15ms
02-12 15:39:12.548  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed <1K, 2% free 11541K/11700K, paused 14ms, total 14ms
02-12 15:39:12.568  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:12(580)        Apply video parameter:320x240, bitrate:150000, quality:3, gop:40, fps:10, preset:3, codec:1
02-12 15:39:12.568  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:12(581)        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
02-12 15:39:12.568  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:12(582)        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
02-12 15:39:12.568  13053-13053/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:12(583)        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
02-12 15:39:12.618  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed 5K, 1% free 12265K/12388K, paused 13ms, total 13ms
02-12 15:39:18.504  13053-13081/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:18(515)        Warning: The UDP communication with the server abnormal!
02-12 15:39:21.597  13053-13089/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:21(611)        socket error, disconnected by peer!, bTcp(1) - userid(-1)
02-12 15:39:21.667  13295-13295/com.newstar.android.vediochat D/dalvikvm﹕ Late-enabling CheckJNI
02-12 15:39:21.777  13295-13295/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed 47K, 1% free 9478K/9556K, paused 21ms, total 21ms
02-12 15:39:21.817  13295-13295/com.newstar.android.vediochat D/dalvikvm﹕ Trying to load lib /data/app-lib/com.newstar.android.vediochat-2/libaudio_preprocessing.so 0x41f18bb8
02-12 15:39:21.817  13295-13295/com.newstar.android.vediochat D/dalvikvm﹕ Added shared lib /data/app-lib/com.newstar.android.vediochat-2/libaudio_preprocessing.so 0x41f18bb8
02-12 15:39:21.817  13295-13295/com.newstar.android.vediochat D/dalvikvm﹕ No JNI_OnLoad found in /data/app-lib/com.newstar.android.vediochat-2/libaudio_preprocessing.so 0x41f18bb8, skipping init
02-12 15:39:21.817  13295-13295/com.newstar.android.vediochat D/dalvikvm﹕ Trying to load lib /data/app-lib/com.newstar.android.vediochat-2/libmediacore.so 0x41f18bb8
02-12 15:39:21.817  13295-13295/com.newstar.android.vediochat D/dalvikvm﹕ Added shared lib /data/app-lib/com.newstar.android.vediochat-2/libmediacore.so 0x41f18bb8
02-12 15:39:21.817  13295-13295/com.newstar.android.vediochat D/dalvikvm﹕ No JNI_OnLoad found in /data/app-lib/com.newstar.android.vediochat-2/libmediacore.so 0x41f18bb8, skipping init
02-12 15:39:21.817  13295-13295/com.newstar.android.vediochat D/dalvikvm﹕ Trying to load lib /data/app-lib/com.newstar.android.vediochat-2/libanychatcore.so 0x41f18bb8
02-12 15:39:21.817  13295-13295/com.newstar.android.vediochat D/dalvikvm﹕ Added shared lib /data/app-lib/com.newstar.android.vediochat-2/libanychatcore.so 0x41f18bb8
02-12 15:39:21.837  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:21(843)        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
02-12 15:39:21.837  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:21(844)        Load libanychatcore.so success!(V5.2 Build Time:Feb 10 2015 08:21:23)
02-12 15:39:21.837  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:21(844)        Android OS SDK Version:19, Support ARMv7:2, Support Neon:4
02-12 15:39:21.847  13295-13295/com.newstar.android.vediochat W/linker﹕ libmediautil_v7.so has text relocations. This is wasting memory and is a security risk. Please fix.
02-12 15:39:21.857  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:21(863)        Load libmediautil_v7.so success!(V5.2 Build Time:Feb 10 2015 08:22:47)
02-12 15:39:21.867  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:21(875)        Load libmediashow.so success!(V5.2 Build Time:Feb 10 2015 08:22:28)
02-12 15:39:21.877  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:21(884)        Load libmediacore.so success!(V5.2 Build Time:Feb 10 2015 08:22:33)
02-12 15:39:21.877  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:21(886)        Nexus 7(asus) msm8960  4.4.4
02-12 15:39:21.887  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:21(896)        Invoke        BRAC_Connect(202.136.60.207,1980)=0
02-12 15:39:21.887  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:21(901)        Invoke        LoginServer(username=user1)
02-12 15:39:21.937  13295-13295/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed 116K, 2% free 9872K/10020K, paused 19ms, total 19ms
02-12 15:39:21.937  13295-13323/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:21(952)        CheckClientSocketLink         Connect(ip=202.136.60.207,port=1980)
02-12 15:39:21.987  13295-13295/com.newstar.android.vediochat I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I0404c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
02-12 15:39:22.027  13295-13295/com.newstar.android.vediochat D/OpenGLRenderer﹕ Enabling debug mode 0
02-12 15:39:22.398  13295-13323/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:22(412)        Server version: V5.2(Build Time:2015-01-27 21:36:19, Server OSinux)
02-12 15:39:22.488  13295-13323/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:22(495)        Message        OnConnect(bSuccess:1, errorcode=0)
02-12 15:39:22.798  13295-13323/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:22(809)        Message        OnLoginSystem(userid=1,errorcode=0,username=�����û�1), msg deliver worked(0)
02-12 15:39:22.798  13295-13323/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:22(810)        Server running time: 0 days, 1 hours, 11 minutes, license mode:0
02-12 15:39:22.798  13295-13295/com.newstar.android.vediochat D/﹕ userid: 1
02-12 15:39:22.858  13295-13295/com.newstar.android.vediochat W/ResourceType﹕ Attempt to retrieve bag 0x7f090002 which is invalid or in a cycle.
02-12 15:39:22.918  13295-13295/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed 89K, 2% free 10152K/10272K, paused 14ms, total 14ms
02-12 15:39:22.928  13295-13295/com.newstar.android.vediochat I/dalvikvm-heap﹕ Grow heap (frag case) to 10.771MB for 868640-byte allocation
02-12 15:39:22.938  13295-13304/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed <1K, 2% free 11000K/11124K, paused 15ms, total 15ms
02-12 15:39:22.978  13295-13295/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed 9K, 2% free 11542K/11676K, paused 13ms, total 14ms
02-12 15:39:22.998  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:23(6)        Apply video parameter:320x240, bitrate:150000, quality:3, gop:40, fps:10, preset:3, codec:1
02-12 15:39:22.998  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:23(7)        Invoke        BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
02-12 15:39:22.998  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:23(7)        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
02-12 15:39:22.998  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:23(8)        Invoke        BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
02-12 15:39:23.038  13295-13295/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed 5K, 1% free 12266K/12364K, paused 14ms, total 14ms
02-12 15:39:29.244  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:29(257)        Invoke        BRAC_VideoCallControl(EventType:1, UserId:2, ErrorCode:0, dwFlags:0, dwParam:0, UserStr=0
02-12 15:39:29.915  13295-13323/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:29(923)        Warning: The UDP communication with the server abnormal!
02-12 15:39:30.836  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:30(851)        Invoke        EnterRoom(roomid=1)
02-12 15:39:31.637  13295-13323/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:31(647)        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=1)
02-12 15:39:31.637  13295-13323/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:31(648)        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
02-12 15:39:31.637  13295-13323/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:31(648)        Message        OnReceiveOnlineUser(count=2,roomid=1)
02-12 15:39:31.637  13295-13323/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:31(650)        On Remote UserCameraControl(dwUserId:2, bOpen:1)
02-12 15:39:31.637  13295-13323/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:31(650)        On Remote UserSpeakControl(dwUserId:2, bOpen:1)
02-12 15:39:31.647  13295-13295/com.newstar.android.vediochat D/ANYCHAT﹕ InitAudioPlayer, profile: 1
02-12 15:39:31.657  13295-13295/com.newstar.android.vediochat D/ANYCHAT﹕ mMinPlayBufSize = 2560
02-12 15:39:31.657  13295-13414/com.newstar.android.vediochat D/ANYCHAT﹕ audio play....
02-12 15:39:32.507  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ allocate: device orientation=90, camera orientation=270, facing=1
02-12 15:39:32.598  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:32(611)        video init finish:320x240, NV21, fps:30
02-12 15:39:32.598  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:32(612)        Invoke        UserCameraControl(userid=-1,bOpen=1)
02-12 15:39:32.598  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:32(612)        Invoke        UserSpeakControl(userid=-1,bOpen=1)
02-12 15:39:32.608  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:32(613)        Invoke        UserCameraControl(userid=2,bOpen=1)
02-12 15:39:32.608  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:32(614)        Invoke        UserSpeakControl(userid=2,bOpen=1)
02-12 15:39:32.608  13295-13295/com.newstar.android.vediochat I/Choreographer﹕ Skipped 56 frames!  The application may be doing too much work on its main thread.
02-12 15:39:32.678  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:32(690)        video init finish:320x240, NV21, fps:30
02-12 15:39:32.678  13295-13295/com.newstar.android.vediochat D/ANYCHAT﹕ InitAudioRecorder, profile: 1
02-12 15:39:32.688  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:32(694)        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
02-12 15:39:32.688  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:32(695)        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
02-12 15:39:32.688  13295-13295/com.newstar.android.vediochat D/ANYCHAT﹕ mMinRecordBufSize = 1280
02-12 15:39:32.768  13295-13464/com.newstar.android.vediochat D/ANYCHAT﹕ audio record....
02-12 15:39:32.768  13295-13464/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:32(781)        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
02-12 15:39:32.948  13295-13295/com.newstar.android.vediochat I/ANYCHAT﹕ 15:39:32(956)        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:3, preset:3, gop:40, handle:2
02-12 15:39:40.095  13295-13414/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed 464K, 4% free 12880K/13376K, paused 16ms, total 16ms
02-12 15:40:18.472  13295-13414/com.newstar.android.vediochat D/dalvikvm﹕ GC_FOR_ALLOC freed 1281K, 10% free 12859K/14192K, paused 18ms, total 18ms

作者: 廖斌    时间: 2015-2-12 15:59
liutaoboy 发表于 2015-2-12 15:41
都替换了,下面是日志:
02-12 15:39:10.896  13053-13053/com.newstar.android.vediochat D/dalvikvm﹕ ...

您好,日志提示“Warning: The UDP communication with the server abnormal!”
作者: 廖斌    时间: 2015-2-12 16:00
廖斌 发表于 2015-2-12 15:59
您好,日志提示“Warning: The UDP communication with the server abnormal!”

说明客户跟服务器的UDP通讯有问题,一般情况下是客户端这边的UDP端口是没有限制的,可能是服务器那边需要的UDP端口通讯被限制了
作者: 廖斌    时间: 2015-2-12 16:01
廖斌 发表于 2015-2-12 16:00
说明客户跟服务器的UDP通讯有问题,一般情况下是客户端这边的UDP端口是没有限制的,可能是服务器那边需要 ...

可以尝试将防火墙的对应端口开发下看看,或者直接将防火墙关闭。
作者: liutaoboy    时间: 2015-2-12 16:24
廖斌 发表于 2015-2-12 16:01
可以尝试将防火墙的对应端口开发下看看,或者直接将防火墙关闭。

但没更新之前是可以的啊!是新版本加了走UDP端口吗?
作者: liutaoboy    时间: 2015-2-12 16:31
ok,搞定了,确实是端口的问题,谢谢啦
作者: liutaoboy    时间: 2015-2-12 16:31
liutaoboy 发表于 2015-2-12 16:24
但没更新之前是可以的啊!是新版本加了走UDP端口吗?

确实是端口问题,搞定了,谢谢
作者: 廖斌    时间: 2015-2-12 16:50
liutaoboy 发表于 2015-2-12 16:31
确实是端口问题,搞定了,谢谢


作者: admin    时间: 2015-2-12 17:40
方向正常了没?
作者: liutaoboy    时间: 2015-2-22 17:30
admin 发表于 2015-2-12 17:40
方向正常了没?

正常了,谢谢
作者: wisha    时间: 2016-5-18 01:06
admin 发表于 2015-2-5 12:11
请上传该设备的日志文件:BRAnyChatCore.log,位于SD卡根目录下,我们分析一下,谢谢!

你好,针对方位这个问题很容易出现,我这边用一人一本使用demo,也出现颠倒的问题,您那边需要针对不同的手机平板适配吗?
作者: 佰锐科技-苏晴    时间: 2016-5-18 09:30
本帖最后由 佰锐科技-苏晴 于 2016-5-18 09:34 编辑

您好,这个现象确实是由于Android的碎片化造成的。目前的解决方案是调用userInfoControl这个接口来调整。





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