廖斌 发表于 2014-9-30 15:38 问题解决啦。是我绑定时出现了错误。谢谢提醒。 |
gguofei 发表于 2014-9-30 15:23 那就是需要显示7602的视频了,可以调用
|
廖斌 发表于 2014-9-30 15:14 [2014-09-29 11:11:02(334)] Message OnReceiveOnlineUser(count=5,roomid=1) [2014-09-29 11:11:02(335)] On Remote UserSpeakControl(dwUserId:-1621, bOpen:1) [2014-09-29 11:11:02(335)] On Remote UserCameraControl(dwUserId:-1621, bOpen:1) [2014-09-29 11:11:02(729)] Message OnP2PConnectState(userid=7525, state=1) [2014-09-29 11:11:02(790)] Message OnP2PConnectState(userid=7525, state=3) [2014-09-29 11:11:04(204)] Invoke UserCameraControl(userid=7601,bOpen=1) [2014-09-29 11:11:04(205)] Invoke UserSpeakControl(userid=7601,bOpen=1) [2014-09-29 11:11:04(210)] Invoke UserCameraControl(userid=-1,bOpen=1) [2014-09-29 11:11:04(210)] Invoke UserSpeakControl(userid=-1,bOpen=1) [2014-09-29 11:11:04(239)] Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0 [2014-09-29 11:11:04(244)] Audio codec init, handle:1, 11, 1, 16000, 16, 15850 [2014-09-29 11:11:04(386)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1 [2014-09-29 11:11:04(594)] video init finish:320x240, NV21, fps:25 [2014-09-29 11:11:04(986)] Message OnUserLeaveRoom(userid=-1621,siteindex=1) [2014-09-29 11:11:05(029)] video codec init:codec:1, 10fps, 320x240, bitrate:150000, quality:3, preset:3, gop:40, handle:3 [2014-09-29 11:11:06(126)] Message OnUserEnterRoom(userid=-1622,nickname=HelloAnyChat,siteindex=1) [2014-09-29 11:11:08(304)] userid(7601) video decode delay:25ms [2014-09-29 11:11:14(796)] Invoke UserCameraControl(userid=7601,bOpen=0) [2014-09-29 11:11:14(798)] Invoke UserSpeakControl(userid=7601,bOpen=0) [2014-09-29 11:11:14(801)] Invoke UserCameraControl(userid=-1,bOpen=0) [2014-09-29 11:11:14(802)] Invoke UserSpeakControl(userid=-1,bOpen=0) [2014-09-29 11:11:16(521)] Invoke UserCameraControl(userid=7602,bOpen=1) [2014-09-29 11:11:16(522)] Invoke UserSpeakControl(userid=7602,bOpen=1) [2014-09-29 11:11:16(526)] Invoke UserCameraControl(userid=-1,bOpen=1) [2014-09-29 11:11:16(526)] Invoke UserSpeakControl(userid=-1,bOpen=1) [2014-09-29 11:11:16(854)] video init finish:320x240, NV21, fps:25 [2014-09-29 11:11:16(885)] video init finish:320x240, NV21, fps:25 [2014-09-29 11:11:16(897)] Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0 [2014-09-29 11:11:17(272)] video codec init:codec:1, 10fps, 320x240, bitrate:150000, quality:3, preset:3, gop:40, handle:5 这里 |
gguofei 发表于 2014-9-30 15:12 你的好友列表界面跟视频界面是在一起吗?还是分开来的,选中之后再跳转到视频界面? |
廖斌 发表于 2014-9-30 15:14 [2014-09-29 11:11:27(967)] Invoke UserCameraControl(userid=7602,bOpen=0) 关闭7602,打开7601 |
gguofei 发表于 2014-9-30 14:59 您好,你出现问题的时间点在哪里。日志中有好几处操作音视频的地方。 [2014-09-29 11:11:17(700)] Message OnUserLeaveRoom(userid=-1622,siteindex=1) 有人离开关闭又再打开。 |
admin 发表于 2014-9-30 15:08 可以的。我做了一些修改,就是使用popupwindow显示好友列表,然后点击某在线好友后,进行视频切换。想法是更新userID,然后调用restart()重新加载。 |
您好,运行我们的标准示例工程(AnyChatAndroid)是否可以显示远程的视频? |
admin 发表于 2014-9-30 14:55 [2014-09-29 11:10:57(892)] ---------------------------AnyChat Platform Core SDK Client Log--------------------------- [2014-09-29 11:10:57(893)] Load libanychatcore.so success!(V5.1 Build Time:Sep 1 2014 02:08:04) [2014-09-29 11:10:57(893)] Android OS SDK Version:18, Support ARMv7:2, Support Neon:4 [2014-09-29 11:10:57(917)] Load libmediautil_v7.so success!(V5.1 Build Time:Sep 1 2014 02:09:05) [2014-09-29 11:10:57(929)] Load libmediashow_4.0.so failed,video display functions will fail!(dlopen failed: cannot locate symbol "_ZN7android7Surface7isValidEv" referenced by "libmediashow_4.0.so"...) [2014-09-29 11:10:57(941)] dlopen failed: cannot locate symbol "_ZN7android6Camera17setPreviewDisplayERKNS_2spINS_7SurfaceEEE" referenced by "libmediacore_4.2.so"... [2014-09-29 11:10:57(942)] Load libmediacore.so success!(V5.1 Build Time:Sep 1 2014 02:08:33) [2014-09-29 11:10:57(944)] CPU:38.40 MIPS, Hardwareualcomm MSM 8226 (Flattened Device Tree) [2014-09-29 11:10:58(921)] Invoke BRAC_Connect(demo.anychat.cn,8906)=0 [2014-09-29 11:10:58(922)] Invoke LoginServer(username=guo) [2014-09-29 11:10:58(932)] CheckClientSocketLink Connect(ip=121.199.51.198,port=8906) [2014-09-29 11:10:59(177)] Server version: V5.1(Build Time:2014-09-23 22:23:30, Server OS:Windows) [2014-09-29 11:10:59(278)] Message OnConnect(bSuccess:1, errorcode=0) [2014-09-29 11:10:59(864)] OnReceiveUserDefine(dwSrcUserId:0, dwTarUserId:-1, dwCommand:13, wParam:0, lParam:0, dwBufSize:212) [2014-09-29 11:10:59(887)] Message OnLoginSystem(userid=7606,errorcode=0,username=guo), msg deliver worked(0) [2014-09-29 11:10:59(941)] Load libmediashow_4.0.so failed,video display functions will fail!(dlopen failed: cannot locate symbol "_ZN7android7Surface7isValidEv" referenced by "libmediashow_4.0.so"...) [2014-09-29 11:11:00(022)] Connection to streaming media server successfully!(udp delay:40ms) [2014-09-29 11:11:00(351)] Apply video parameter:320x240, bitrate:150000, quality:3, gop:40, fps:10, preset:3, codec:0 [2014-09-29 11:11:00(351)] Invoke BRAC_SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1) [2014-09-29 11:11:00(351)] Invoke SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1) [2014-09-29 11:11:00(352)] Invoke BRAC_SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0) [2014-09-29 11:11:01(905)] Invoke EnterRoom(roomid=1) [2014-09-29 11:11:02(331)] Message OnEnterRoom(roomid=1,errorcode=0,siteindex=4) [2014-09-29 11:11:02(332)] Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver [2014-09-29 11:11:02(334)] Message OnReceiveOnlineUser(count=5,roomid=1) [2014-09-29 11:11:02(335)] On Remote UserSpeakControl(dwUserId:-1621, bOpen:1) [2014-09-29 11:11:02(335)] On Remote UserCameraControl(dwUserId:-1621, bOpen:1) [2014-09-29 11:11:02(729)] Message OnP2PConnectState(userid=7525, state=1) [2014-09-29 11:11:02(790)] Message OnP2PConnectState(userid=7525, state=3) [2014-09-29 11:11:04(204)] Invoke UserCameraControl(userid=7601,bOpen=1) [2014-09-29 11:11:04(205)] Invoke UserSpeakControl(userid=7601,bOpen=1) [2014-09-29 11:11:04(210)] Invoke UserCameraControl(userid=-1,bOpen=1) [2014-09-29 11:11:04(210)] Invoke UserSpeakControl(userid=-1,bOpen=1) [2014-09-29 11:11:04(239)] Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0 [2014-09-29 11:11:04(244)] Audio codec init, handle:1, 11, 1, 16000, 16, 15850 [2014-09-29 11:11:04(386)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1 [2014-09-29 11:11:04(594)] video init finish:320x240, NV21, fps:25 [2014-09-29 11:11:04(986)] Message OnUserLeaveRoom(userid=-1621,siteindex=1) [2014-09-29 11:11:05(029)] video codec init:codec:1, 10fps, 320x240, bitrate:150000, quality:3, preset:3, gop:40, handle:3 [2014-09-29 11:11:06(126)] Message OnUserEnterRoom(userid=-1622,nickname=HelloAnyChat,siteindex=1) [2014-09-29 11:11:08(304)] userid(7601) video decode delay:25ms [2014-09-29 11:11:14(796)] Invoke UserCameraControl(userid=7601,bOpen=0) [2014-09-29 11:11:14(798)] Invoke UserSpeakControl(userid=7601,bOpen=0) [2014-09-29 11:11:14(801)] Invoke UserCameraControl(userid=-1,bOpen=0) [2014-09-29 11:11:14(802)] Invoke UserSpeakControl(userid=-1,bOpen=0) [2014-09-29 11:11:16(521)] Invoke UserCameraControl(userid=7602,bOpen=1) [2014-09-29 11:11:16(522)] Invoke UserSpeakControl(userid=7602,bOpen=1) [2014-09-29 11:11:16(526)] Invoke UserCameraControl(userid=-1,bOpen=1) [2014-09-29 11:11:16(526)] Invoke UserSpeakControl(userid=-1,bOpen=1) [2014-09-29 11:11:16(854)] video init finish:320x240, NV21, fps:25 [2014-09-29 11:11:16(885)] video init finish:320x240, NV21, fps:25 [2014-09-29 11:11:16(897)] Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0 [2014-09-29 11:11:17(272)] video codec init:codec:1, 10fps, 320x240, bitrate:150000, quality:3, preset:3, gop:40, handle:5 [2014-09-29 11:11:17(700)] Message OnUserLeaveRoom(userid=-1622,siteindex=1) [2014-09-29 11:11:18(091)] Invoke UserCameraControl(userid=7602,bOpen=0) [2014-09-29 11:11:18(091)] Invoke UserSpeakControl(userid=7602,bOpen=0) [2014-09-29 11:11:18(092)] Invoke UserCameraControl(userid=-1,bOpen=0) [2014-09-29 11:11:18(092)] Invoke UserSpeakControl(userid=-1,bOpen=0) [2014-09-29 11:11:19(562)] Invoke UserCameraControl(userid=7602,bOpen=1) [2014-09-29 11:11:19(562)] Invoke UserSpeakControl(userid=7602,bOpen=1) [2014-09-29 11:11:19(566)] Invoke UserCameraControl(userid=-1,bOpen=1) [2014-09-29 11:11:19(567)] Invoke UserSpeakControl(userid=-1,bOpen=1) [2014-09-29 11:11:19(927)] video init finish:320x240, NV21, fps:25 [2014-09-29 11:11:19(940)] video init finish:320x240, NV21, fps:25 [2014-09-29 11:11:19(969)] Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0 [2014-09-29 11:11:20(369)] video codec init:codec:1, 10fps, 320x240, bitrate:150000, quality:3, preset:3, gop:40, handle:7 [2014-09-29 11:11:23(588)] userid(7602) video decode delay:14ms [2014-09-29 11:11:27(967)] Invoke UserCameraControl(userid=7602,bOpen=0) [2014-09-29 11:11:27(970)] Invoke UserSpeakControl(userid=7602,bOpen=0) [2014-09-29 11:11:27(990)] Invoke UserCameraControl(userid=7602,bOpen=0) [2014-09-29 11:11:27(990)] Invoke UserSpeakControl(userid=7602,bOpen=0) [2014-09-29 11:11:27(991)] Invoke UserCameraControl(userid=-1,bOpen=0) [2014-09-29 11:11:27(991)] Invoke UserSpeakControl(userid=-1,bOpen=0) [2014-09-29 11:11:28(773)] Invoke UserCameraControl(userid=7601,bOpen=1) [2014-09-29 11:11:28(773)] Invoke UserSpeakControl(userid=7601,bOpen=1) [2014-09-29 11:11:28(774)] Invoke UserCameraControl(userid=-1,bOpen=1) [2014-09-29 11:11:28(774)] Invoke UserSpeakControl(userid=-1,bOpen=1) [2014-09-29 11:11:29(128)] video init finish:320x240, NV21, fps:25 [2014-09-29 11:11:29(174)] video init finish:320x240, NV21, fps:25 [2014-09-29 11:11:29(190)] Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0 [2014-09-29 11:11:29(585)] video codec init:codec:1, 10fps, 320x240, bitrate:150000, quality:3, preset:3, gop:40, handle:11 [2014-09-29 11:11:29(806)] userid(7601) video decode delay:18ms [2014-09-29 11:11:40(293)] Message OnUserEnterRoom(userid=-1623,nickname=iPhone,siteindex=1) [2014-09-29 11:11:42(563)] Invoke UserCameraControl(userid=7601,bOpen=0) [2014-09-29 11:11:42(565)] Invoke UserSpeakControl(userid=7601,bOpen=0) [2014-09-29 11:11:42(569)] Invoke UserCameraControl(userid=-1,bOpen=0) [2014-09-29 11:11:42(569)] Invoke UserSpeakControl(userid=-1,bOpen=0) [2014-09-29 11:11:43(644)] Invoke LeaveRoom(roomid=-1) Elapse:113 ms [2014-09-29 11:11:43(787)] Invoke LogoutServer(userid=7606) Elapse:5 ms [2014-09-29 11:11:43(804)] Invoke BRAC_Release Elapse:17 ms |
Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )
GMT+8, 2024-11-23 21:32 , Processed in 0.141654 second(s), 24 queries .
Powered by Discuz! X3
© 2001-2013 Comsenz Inc.