是的,视频呼叫业务流程可以脱离业务服务器,由核心服务器独立支撑,可以不需要在服务器端进行二次开发。 |
视频呼叫业务是不是可以不依赖于业务服务器,单独一个核心服务器就能实现。 |
一个用户同时只能发起一路呼叫请求,也同时只能被一个用户呼叫;您可以根据返回产生自己再做逻辑实现您需要的效果。 |
目标用户如果正在进行视频通话,再有其他用户对目标用户进行视频呼叫能实现呼叫等待的功能吗,能实现等待用户的顺序接听或选择接听吗? |
baoxp 发表于 2016-12-28 12:08 你好,这个日志显示本地并没有打开音视频,但是有请求对方的音视频,可以看到对方; 注意需要进入房间之后,即收到OnAnyChatEnterRoomMessage之后才能调用UserCameraControl和UserSpeakControl打开自己的视频和音频; |
[2016-12-28 12:07:09(009)][I] ---------------------------AnyChat Platform Core SDK Client Log--------------------------- [2016-12-28 12:07:09(022)][I] Load libanychatcore.so success!(V6.2 Build Timeec 20 2016 16:57:55) [2016-12-28 12:07:09(023)][I] Android OS SDK Version:19, Support ARMv7:2, Support Neon:4 [2016-12-28 12:07:09(041)][I] Load libmediautil_v7.so success!(V6.0 Build Time:May 6 2016 07:33:33) [2016-12-28 12:07:09(050)][I] Load libmediashow.so success!(V6.2 Build Timeec 20 2016 16:59:55) [2016-12-28 12:07:09(058)][I] Load libmediacore.so success!(V6.2 Build Timeec 20 2016 16:59:59) [2016-12-28 12:07:09(060)][I] vivo Y913(vivo) msm8916 4.4.4 [2016-12-28 12:07:09(061)][I] Start network engine(IPv4 mode)... [2016-12-28 12:07:09(061)][I] Invoke Connect(demo.anychat.cn,8906)=0 [2016-12-28 12:07:09(062)][I] Invoke Login(username:电梯一)=0 [2016-12-28 12:07:09(062)][I] Invoke SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1) [2016-12-28 12:07:09(072)][I] Invoke UserCameraControl(userid=-1, bOpen=1, stream=0) [2016-12-28 12:07:09(072)][I] Invoke UserSpeakControl(userid=-1,bOpen=1) [2016-12-28 12:07:09(102)][I] Create anychatdnsserver connect:121.199.51.198(8906) [2016-12-28 12:07:09(173)][I] On pre-connection result, errorcode:0, anychatcoreserver, 121.199.51.198(8906, tcp:1) [2016-12-28 12:07:09(174)][I] CheckClientSocketLink Connect(ip=121.199.51.198,port=8906) [2016-12-28 12:07:09(205)][I] On connect return, errorcode:0 [2016-12-28 12:07:09(237)][I] Message OnConnect(bSuccess:1, errorcode=0) [2016-12-28 12:07:09(530)][I] Server version: V6.1(Build Time:2016-08-17 11:02:06, Windows server) [2016-12-28 12:07:09(588)][I] APPLOG Camera Preview size: 640 x 480 [2016-12-28 12:07:09(588)][I] APPLOG Camera FrameRate: 7500 , 30000 [2016-12-28 12:07:09(602)][I] Message OnLoginSystem(userid=18813,errorcode=0,username=电梯一), msg deliver worked(0) [2016-12-28 12:07:09(603)][I] Server running time: 132 days, 21 hours, 42 minutes, license mode:1, cloud:0 [2016-12-28 12:07:09(624)][I] Connection to streaming media server successfully!(udp delay:10ms) [2016-12-28 12:07:09(670)][I] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1) [2016-12-28 12:07:09(671)][I] Invoke SetInputVideoFormat(pixfmt:8, 640x480, 30fps, flags:0) [2016-12-28 12:07:09(740)][I] video(stream:0) codec init:codec:1, 15fps, 640x480, bitrate:90kbps, quality:3, preset:3, gop:30, handle:1 [2016-12-28 12:07:09(741)][I] video(stream:0) init finish:640x480, NV21, fps:30, codecid:1 [2016-12-28 12:07:09(812)][I] Invoke VideoCallControl(EventType:1, UserId:18812, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:电梯一)=0 [2016-12-28 12:07:09(903)][I] Message OnVideoCallEvent(EventType:2, UserId:18812, ErrorCode:0, dwFlags:0x0, dwParam:0 [2016-12-28 12:07:12(123)][I] Message OnVideoCallEvent(EventType:3, UserId:18812, ErrorCode:0, dwFlags:0x0, dwParam:1 [2016-12-28 12:07:12(135)][I] Invoke EnterRoom(roomid=1) [2016-12-28 12:07:12(247)][I] Message OnEnterRoom(roomid=1,errorcode=0,siteindex=2) [2016-12-28 12:07:12(248)][I] Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver [2016-12-28 12:07:12(248)][I] Message OnReceiveOnlineUser(count=3,roomid=1) [2016-12-28 12:07:12(266)][I] Invoke UserCameraControl(userid=18812, bOpen=1, stream=0) [2016-12-28 12:07:12(266)][I] Invoke UserSpeakControl(userid=18812,bOpen=1) [2016-12-28 12:07:12(893)][I] On Remote UserCameraControl(dwUserId:18812, bOpen:1, streamindex:0) [2016-12-28 12:07:13(116)][I] On Remote UserSpeakControl(dwUserId:18812, bOpen:1, streamindex:0) [2016-12-28 12:07:13(169)][I] userid(18812) video decode, codec:1, 320x240, delay:4ms [2016-12-28 12:07:23(206)][I] userid(18812) audio decode, codec:11, 1 channel, 16000Hz [2016-12-28 12:07:33(331)][I] OnSocketClose, index(3)-errorcode(0-11), flags:0x10201, bTcp(1),userid(18812), list:0 [2016-12-28 12:07:33(669)][I] OnSocketClose, index(3)-errorcode(0-11), flags:0x10201, bTcp(1),userid(18772), list:0 [2016-12-28 12:07:36(336)][I] OnSocketClose, index(3)-errorcode(0-11), flags:0x10201, bTcp(1),userid(18812), list:0 [2016-12-28 12:07:36(362)][I] OnSocketClose, index(3)-errorcode(0-11), flags:0x10201, bTcp(1),userid(18812), list:0 [2016-12-28 12:07:36(477)][I] Message OnVideoCallEvent(EventType:4, UserId:18812, ErrorCode:0, dwFlags:0x0, dwParam:18812 [2016-12-28 12:07:36(682)][I] OnSocketClose, index(3)-errorcode(0-11), flags:0x10201, bTcp(1),userid(18772), list:0 [2016-12-28 12:07:36(693)][I] OnSocketClose, index(3)-errorcode(0-11), flags:0x10201, bTcp(1),userid(18772), list:0 [2016-12-28 12:07:37(154)][I] On Remote UserSpeakControl(dwUserId:18812, bOpen:0, streamindex:0) [2016-12-28 12:07:37(154)][I] On Remote UserCameraControl(dwUserId:18812, bOpen:0, streamindex:0) [2016-12-28 12:07:37(155)][I] Message OnUserLeaveRoom(userid=18812,siteindex=1) 留个qq号 |
这个日志不全啊 你复制内容 然后粘贴上来啊 |
baoxp 发表于 2016-12-28 11:33 安卓日志信息在cdcard里面BRAnyChatCore.log |
佰锐科技-刘洋 发表于 2016-12-28 11:12 我是安卓开发的 |
Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )
GMT+8, 2024-11-22 18:44 , Processed in 0.134093 second(s), 26 queries .
Powered by Discuz! X3
© 2001-2013 Comsenz Inc.