设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 4133|回复: 6
打印 上一主题 下一主题

视频通话成功后,挂断后就不能发起了,对方没有弹出Dialog?

[复制链接]

1

主题

3

帖子

13

积分

新手上路

Rank: 1

积分
13
跳转到指定楼层
楼主
发表于 2016-3-5 10:57:07 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
  视频通话集成好了, 测试的时候   第一次向对方发起视频通话了 挂断后就不能再次发起了,  那边弹不出Dialog框   试了好多次都不行   这是为啥 ?  求大神帮忙!!!
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

1

主题

3

帖子

13

积分

新手上路

Rank: 1

积分
13
沙发
 楼主| 发表于 2016-3-5 11:10:18 | 只看该作者
························································大神啊!
回复 支持 反对

使用道具 举报

板凳
发表于 2016-3-5 11:36:18 | 只看该作者
您好,请将双方的日志发上来,在sd卡根目录下:BRAnyChatCore.log
回复 支持 反对

使用道具 举报

1

主题

3

帖子

13

积分

新手上路

Rank: 1

积分
13
地板
 楼主| 发表于 2016-3-5 12:02:35 | 只看该作者
拨打方
[2016-03-05 11:53:35(799)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-03-05 11:53:35(800)]        Load libanychatcore.so success!(V6.0 Build Time:Feb 15 2016 13:16:39)
[2016-03-05 11:53:35(801)]        Android OS SDK Version:22, Support ARMv7:2, Support Neon:4
[2016-03-05 11:53:35(820)]        Load libmediautil_v7.so success!(V6.0 Build Time:Feb 15 2016 13:18:25)
[2016-03-05 11:53:35(830)]        Load libmediashow.so success!(V6.0 Build Time:Feb 15 2016 13:18:10)
[2016-03-05 11:53:35(840)]        Load libmediacore.so success!(V6.0 Build Time:Feb 15 2016 13:18:13)
[2016-03-05 11:53:35(841)]        HUAWEI TIT-AL00(HUAWEI) mt6735  5.1
[2016-03-05 11:53:35(845)]        Apply video parameter:320x240, bitrate:150kbps, quality:0, gop:40, fps:10, preset:3, codec:0
[2016-03-05 11:53:35(845)]        Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2016-03-05 11:53:35(846)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2016-03-05 11:53:35(846)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2016-03-05 11:53:35(851)]        Invoke        Connect(demo.anychat.cn,8906)=0
[2016-03-05 11:53:35(852)]        Invoke        Login(username:6288)=0
[2016-03-05 11:53:35(912)]        Create anychatdnsserver connect:121.199.51.198(8906)
[2016-03-05 11:53:36(217)]        On pre-connection result, errorcode:0, anychatcoreserver, 121.199.51.198(8906, tcp:1)
[2016-03-05 11:53:36(218)]        CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
[2016-03-05 11:53:36(422)]        Server version: V5.3(Build Time:2016-01-21 10:24:30, Server OS:Windows)
[2016-03-05 11:53:36(537)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2016-03-05 11:53:36(752)]        Message        OnLoginSystem(userid=8499,errorcode=0,username=6288), msg deliver worked(0)
[2016-03-05 11:53:36(754)]        Server running time: 43 days, 20 hours, 54 minutes, license mode:1
[2016-03-05 11:53:36(829)]        Connection to streaming media server successfully!(udp delay:36ms)
[2016-03-05 11:54:14(322)]        Apply video parameter:320x240, bitrate:150kbps, quality:0, gop:40, fps:10, preset:3, codec:0
[2016-03-05 11:54:14(323)]        Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2016-03-05 11:54:14(323)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2016-03-05 11:54:14(323)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2016-03-05 11:54:32(458)]        Invoke        VideoCallControl(EventType:1, UserId:8500, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:)=0
[2016-03-05 11:54:32(570)]        Message        OnVideoCallEvent(EventType:2, UserId:8500, ErrorCode:0, dwFlags:0x0, dwParam:0
[2016-03-05 11:54:35(252)]        Message        OnVideoCallEvent(EventType:3, UserId:8500, ErrorCode:0, dwFlags:0x0, dwParam:1
[2016-03-05 11:54:35(385)]        Invoke        EnterRoom(roomid=1)
[2016-03-05 11:54:35(558)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=1)
[2016-03-05 11:54:35(558)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2016-03-05 11:54:35(559)]        Message        OnReceiveOnlineUser(count=2,roomid=1)
[2016-03-05 11:54:35(588)]        APPLOG        Camera Preview size: 176 x 144
[2016-03-05 11:54:35(590)]        APPLOG        Camera Preview size: 320 x 240
[2016-03-05 11:54:35(592)]        APPLOG        Camera FrameRate: 5000 , 60000
[2016-03-05 11:54:35(796)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-03-05 11:54:35(797)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 60fps, flags:0)
[2016-03-05 11:54:35(829)]        video init finish:320x240, NV21, fps:60, codecid:1
[2016-03-05 11:54:35(852)]        Message        OnP2PConnectState(userid=8500, state=2)
[2016-03-05 11:54:35(882)]        Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
[2016-03-05 11:54:35(882)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2016-03-05 11:54:35(883)]        Invoke        UserCameraControl(userid=8500, bOpen=1, stream=0)
[2016-03-05 11:54:35(883)]        Invoke        UserSpeakControl(userid=8500,bOpen=1)
[2016-03-05 11:54:35(902)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-03-05 11:54:35(909)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2016-03-05 11:54:35(949)]        video init finish:320x240, NV21, fps:30, codecid:1
[2016-03-05 11:54:35(961)]        Invoke        SetInputAudioFormat(1, 16000, 16, flags:0)
[2016-03-05 11:54:35(962)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2016-03-05 11:54:35(962)]        Audio codec init, handle:3, 11, 1, 16000, 16, 15850
[2016-03-05 11:54:36(078)]        On Remote UserCameraControl(dwUserId:8500, bOpen:1)
[2016-03-05 11:54:36(169)]        On Remote UserSpeakControl(dwUserId:8500, bOpen:1)
[2016-03-05 11:54:36(200)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2016-03-05 11:54:36(213)]        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:0, preset:3, gop:40, handle:4
[2016-03-05 11:54:36(786)]        userid(8500) video decode, codec:1, 320x240, delay:5ms
[2016-03-05 11:54:38(446)]        userid(8500) audio decode, codec:11, 1 channel, 16000Hz
[2016-03-05 11:54:41(328)]        Invoke        VideoCallControl(EventType:4, UserId:8500, ErrorCode:0, dwFlags:0, dwParam:8499, UserStr:)=0
[2016-03-05 11:54:41(419)]        Message        OnVideoCallEvent(EventType:4, UserId:8500, ErrorCode:0, dwFlags:0x0, dwParam:8499
[2016-03-05 11:54:41(793)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-03-05 11:54:41(795)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2016-03-05 11:54:41(797)]        Invoke        UserSpeakControl(userid=8500,bOpen=0)
[2016-03-05 11:54:41(800)]        Invoke        UserCameraControl(userid=8500, bOpen=0, stream=0)
[2016-03-05 11:54:41(911)]        Invoke        LeaveRoom(roomid=-1)        Elapse:103 ms
[2016-03-05 11:54:41(924)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-03-05 11:54:45(034)]        Invoke        VideoCallControl(EventType:1, UserId:8500, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:)=0
[2016-03-05 11:54:45(159)]        Message        OnVideoCallEvent(EventType:2, UserId:8500, ErrorCode:0, dwFlags:0x0, dwParam:0
[2016-03-05 11:54:53(712)]        Invoke        VideoCallControl(EventType:1, UserId:8500, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:)=0
[2016-03-05 11:54:53(790)]        Message        OnVideoCallEvent(EventType:2, UserId:8500, ErrorCode:100103, dwFlags:0x0, dwParam:0
[2016-03-05 11:54:54(844)]        Invoke        VideoCallControl(EventType:1, UserId:8500, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:)=0
[2016-03-05 11:54:54(924)]        Message        OnVideoCallEvent(EventType:2, UserId:8500, ErrorCode:100103, dwFlags:0x0, dwParam:0
[2016-03-05 11:54:55(917)]        Invoke        VideoCallControl(EventType:1, UserId:8500, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:)=0
[2016-03-05 11:54:56(007)]        Message        OnVideoCallEvent(EventType:2, UserId:8500, ErrorCode:100103, dwFlags:0x0, dwParam:0
[2016-03-05 11:54:57(046)]        Invoke        VideoCallControl(EventType:1, UserId:8500, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:)=0
[2016-03-05 11:54:57(151)]        Message        OnVideoCallEvent(EventType:2, UserId:8500, ErrorCode:100103, dwFlags:0x0, dwParam:0
[2016-03-05 11:54:58(044)]        Invoke        VideoCallControl(EventType:1, UserId:8500, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:)=0
[2016-03-05 11:54:58(112)]        Message        OnVideoCallEvent(EventType:2, UserId:8500, ErrorCode:100103, dwFlags:0x0, dwParam:0
[2016-03-05 11:55:00(913)]        Invoke        VideoCallControl(EventType:1, UserId:8500, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:)=0
[2016-03-05 11:55:00(972)]        Message        OnVideoCallEvent(EventType:2, UserId:8500, ErrorCode:100103, dwFlags:0x0, dwParam:0
[2016-03-05 11:55:06(568)]        Message        OnVideoCallEvent(EventType:2, UserId:8500, ErrorCode:100106, dwFlags:0x0, dwParam:0
[2016-03-05 11:55:22(025)]        Apply video parameter:320x240, bitrate:150kbps, quality:0, gop:40, fps:10, preset:3, codec:0
[2016-03-05 11:55:22(026)]        Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2016-03-05 11:55:22(026)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2016-03-05 11:55:22(026)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)

接收方
[2016-03-05 11:54:03(964)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-03-05 11:54:03(965)]        Load libanychatcore.so success!(V6.0 Build Time:Feb 15 2016 13:16:39)
[2016-03-05 11:54:03(966)]        Android OS SDK Version:19, Support ARMv7:2, Support Neon:4
[2016-03-05 11:54:03(983)]        Load libmediautil_v7.so success!(V6.0 Build Time:Feb 15 2016 13:18:25)
[2016-03-05 11:54:03(991)]        Load libmediashow.so success!(V6.0 Build Time:Feb 15 2016 13:18:10)
[2016-03-05 11:54:04(001)]        Load libmediacore.so success!(V6.0 Build Time:Feb 15 2016 13:18:13)
[2016-03-05 11:54:04(002)]        MI 3W(Xiaomi) msm8974  4.4.4
[2016-03-05 11:54:04(004)]        Apply video parameter:320x240, bitrate:150kbps, quality:0, gop:40, fps:10, preset:3, codec:0
[2016-03-05 11:54:04(004)]        Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2016-03-05 11:54:04(004)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2016-03-05 11:54:04(005)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2016-03-05 11:54:04(011)]        Invoke        Connect(demo.anychat.cn,8906)=0
[2016-03-05 11:54:04(012)]        Invoke        Login(username:1163)=0
[2016-03-05 11:54:04(080)]        Create anychatdnsserver connect:121.199.51.198(8906)
[2016-03-05 11:54:04(344)]        On pre-connection result, errorcode:0, anychatcoreserver, 121.199.51.198(8906, tcp:1)
[2016-03-05 11:54:04(385)]        CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
[2016-03-05 11:54:04(558)]        Server version: V5.3(Build Time:2016-01-21 10:24:30, Server OS:Windows)
[2016-03-05 11:54:04(644)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2016-03-05 11:54:04(839)]        Message        OnLoginSystem(userid=8500,errorcode=0,username=1163), msg deliver worked(0)
[2016-03-05 11:54:04(840)]        Server running time: 43 days, 20 hours, 54 minutes, license mode:1
[2016-03-05 11:54:04(904)]        Connection to streaming media server successfully!(udp delay:31ms)
[2016-03-05 11:54:28(504)]        Message        OnVideoCallEvent(EventType:1, UserId:8499, ErrorCode:0, dwFlags:0x0, dwParam:0
[2016-03-05 11:54:31(030)]        Invoke        VideoCallControl(EventType:2, UserId:8499, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:)=0
[2016-03-05 11:54:31(093)]        Message        OnVideoCallEvent(EventType:3, UserId:8499, ErrorCode:0, dwFlags:0x0, dwParam:1
[2016-03-05 11:54:31(255)]        Invoke        EnterRoom(roomid=1)
[2016-03-05 11:54:31(429)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2016-03-05 11:54:31(430)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2016-03-05 11:54:31(430)]        Message        OnReceiveOnlineUser(count=1,roomid=1)
[2016-03-05 11:54:31(465)]        APPLOG        Camera Preview size: 1920 x 1080
[2016-03-05 11:54:31(466)]        APPLOG        Camera Preview size: 1440 x 1080
[2016-03-05 11:54:31(466)]        APPLOG        Camera Preview size: 1280 x 720
[2016-03-05 11:54:31(467)]        APPLOG        Camera Preview size: 960 x 720
[2016-03-05 11:54:31(468)]        APPLOG        Camera Preview size: 864 x 480
[2016-03-05 11:54:31(469)]        APPLOG        Camera Preview size: 800 x 480
[2016-03-05 11:54:31(470)]        APPLOG        Camera Preview size: 768 x 432
[2016-03-05 11:54:31(470)]        APPLOG        Camera Preview size: 720 x 480
[2016-03-05 11:54:31(471)]        APPLOG        Camera Preview size: 640 x 480
[2016-03-05 11:54:31(472)]        APPLOG        Camera Preview size: 576 x 432
[2016-03-05 11:54:31(473)]        APPLOG        Camera Preview size: 480 x 320
[2016-03-05 11:54:31(473)]        APPLOG        Camera Preview size: 384 x 288
[2016-03-05 11:54:31(474)]        APPLOG        Camera Preview size: 352 x 288
[2016-03-05 11:54:31(476)]        APPLOG        Camera Preview size: 320 x 240
[2016-03-05 11:54:31(477)]        APPLOG        Camera FrameRate: 7500 , 30000
[2016-03-05 11:54:31(483)]        Message        OnUserEnterRoom(userid=8499,nickname=6288,siteindex=1)
[2016-03-05 11:54:31(776)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-03-05 11:54:31(779)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2016-03-05 11:54:31(809)]        Message        OnP2PConnectState(userid=8499, state=2)
[2016-03-05 11:54:31(858)]        video init finish:320x240, NV21, fps:30, codecid:1
[2016-03-05 11:54:31(946)]        Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
[2016-03-05 11:54:31(946)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2016-03-05 11:54:31(947)]        Invoke        UserCameraControl(userid=8499, bOpen=1, stream=0)
[2016-03-05 11:54:31(947)]        Invoke        UserSpeakControl(userid=8499,bOpen=1)
[2016-03-05 11:54:31(948)]        On Remote UserCameraControl(dwUserId:8499, bOpen:1)
[2016-03-05 11:54:31(948)]        On Remote UserSpeakControl(dwUserId:8499, bOpen:1)
[2016-03-05 11:54:31(949)]        Invoke        UserCameraControl(userid=8499, bOpen=1, stream=0)
[2016-03-05 11:54:31(949)]        Invoke        UserSpeakControl(userid=8499,bOpen=1)
[2016-03-05 11:54:31(994)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-03-05 11:54:31(999)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2016-03-05 11:54:32(059)]        video init finish:320x240, NV21, fps:30, codecid:1
[2016-03-05 11:54:32(065)]        Invoke        SetInputAudioFormat(1, 16000, 16, flags:0)
[2016-03-05 11:54:32(066)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2016-03-05 11:54:32(067)]        Audio codec init, handle:3, 11, 1, 16000, 16, 15850
[2016-03-05 11:54:32(150)]        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:0, preset:3, gop:40, handle:4
[2016-03-05 11:54:32(183)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2016-03-05 11:54:32(210)]        userid(8499) audio decode, codec:11, 1 channel, 16000Hz
[2016-03-05 11:54:37(355)]        Message        OnVideoCallEvent(EventType:4, UserId:8499, ErrorCode:0, dwFlags:0x0, dwParam:8499
[2016-03-05 11:54:37(938)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-03-05 11:54:37(941)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2016-03-05 11:54:37(948)]        Invoke        UserSpeakControl(userid=8499,bOpen=0)
[2016-03-05 11:54:37(952)]        Invoke        UserCameraControl(userid=8499, bOpen=0, stream=0)
[2016-03-05 11:54:37(977)]        On Remote UserSpeakControl(dwUserId:8499, bOpen:0)
[2016-03-05 11:54:37(977)]        On Remote UserCameraControl(dwUserId:8499, bOpen:0)
[2016-03-05 11:54:38(070)]        Invoke        LeaveRoom(roomid=-1)        Elapse:116 ms
[2016-03-05 11:54:38(090)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-03-05 11:54:41(115)]        Message        OnVideoCallEvent(EventType:1, UserId:8499, ErrorCode:0, dwFlags:0x0, dwParam:0


回复 支持 反对

使用道具 举报

5#
发表于 2016-3-5 12:44:44 | 只看该作者
本帖最后由 佰锐科技-邵光清 于 2016-3-5 18:04 编辑

您好,请第二次呼叫,在被叫方的OnAnyChatVideoCallEvent事件中跟踪分析一下,对比和第一次有什么不同;另外看看是否设置监听事件;
  1. anychat.SetBaseEvent(this);
  2. anychat.SetVideoCallEvent(this);
  3. anychat.SetUserInfoEvent(this);
复制代码
回复 支持 反对

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
6#
发表于 2016-3-5 12:53:49 | 只看该作者
您好,从日志分析,是您第二次呼叫时,接收方没有响应呼叫,但实际呼叫已经到了接收端:
[2016-03-05 11:54:41(115)]        Message        OnVideoCallEvent(EventType:1, UserId:8499, ErrorCode:0, dwFlags:0x0, dwParam:0

所以,您应该要检查一下接收端的代码,代码中是否有设置事件监听:anychat.SetVideoCallEvent(this);是否有触发对应的事件回调?
回复 支持 反对

使用道具 举报

249

主题

2967

帖子

9108

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9108
7#
发表于 2016-3-5 12:55:04 | 只看该作者
您可以这样来测试:
一边是AnyChat标准的CallCenter程序;
一边是您集成好的程序;
两个程序互相呼叫,看问题出在哪一方。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )  

GMT+8, 2024-11-22 16:29 , Processed in 0.238656 second(s), 22 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表