AnyChat技术支持论坛
标题:
黑屏问题
[打印本页]
作者:
亮亮
时间:
2016-8-5 14:39
标题:
黑屏问题
对接的是AnyChat的视频云平台,因为云平台不提供业务服务器,所以为了获取在线用户列表,所有的用户登录成功后都会进入同一个房间,然后获取该房间的用户列表。
然后选择某个用户发起视频通话,发起通话调用的方法是anychat.VideoCallControl(dwEventType, dwUserId, dwErrorCode, dwFlags, dwParam, szUserStr);
除了获取用户列表的逻辑变了外,其他的代码跟官方的呼叫Demo一模一样,但是进入后只能看到自己的视频,对方的是黑屏。。。
点击接听后的日志如下:
03-05 14:35:12.480 19813-19905/com.bairuitech.callcenter I/ANYCHAT: 14:35:12(488) Message OnVideoCallEvent(EventType:1, UserId:-2872, ErrorCode:0, dwFlags:0x0, dwParam:0
03-05 14:35:12.480 19813-19813/com.bairuitech.callcenter I/HwCust: Constructor found for class android.media.HwCustMediaPlayerImpl
03-05 14:35:12.510 19813-19813/com.bairuitech.callcenter E/MediaPlayer: Should have subtitle controller already set
03-05 14:35:12.600 19813-19813/com.bairuitech.callcenter I/View: ssignParent(ViewParent parent) parent is: android.view.ViewRootImpl@ca12df4
03-05 14:35:12.600 19813-19813/com.bairuitech.callcenter E/MediaPlayer: Should have subtitle controller already set
03-05 14:35:17.560 19813-19813/com.bairuitech.callcenter I/ANYCHAT: 14:35:17(574) Invoke VideoCallControl(EventType:2, UserId:-2872, ErrorCode:0, dwFlags:0, dwParam:0, UserStr
=0
03-05 14:35:17.570 19813-19813/com.bairuitech.callcenter I/View: ssignParent(ViewParent parent) parent is: null
03-05 14:35:17.580 19813-19813/com.bairuitech.callcenter I/View: ssignParent(ViewParent parent) parent is: null
03-05 14:35:18.000 19813-19905/com.bairuitech.callcenter I/ANYCHAT: 14:35:18(12) Message OnVideoCallEvent(EventType:3, UserId:-2872, ErrorCode:0, dwFlags:0x0, dwParam:1
03-05 14:35:18.020 19813-19813/com.bairuitech.callcenter W/MediaPlayer: mediaplayer went away with unhandled events
03-05 14:35:18.020 19813-19813/com.bairuitech.callcenter W/MediaPlayer: mediaplayer went away with unhandled events
03-05 14:35:18.060 19813-19813/com.bairuitech.callcenter I/ANYCHAT: VIDEOCAPTRUE---JAVA
03-05 14:35:18.060 19813-19813/com.bairuitech.callcenter I/ANYCHAT: VIDEOSHOW---JAVA
03-05 14:35:18.070 19813-19813/com.bairuitech.callcenter I/ANYCHAT: 14:35:18(81) Invoke EnterRoom(roomid=1)
03-05 14:35:18.080 19813-19813/com.bairuitech.callcenter I/View: ssignParent(ViewParent parent) parent is: android.view.ViewRootImpl@18ad2cb7
03-05 14:35:18.260 19813-19813/com.bairuitech.callcenter I/ANYCHAT: allocate: device orientation=0, camera orientation=270, facing=1
03-05 14:35:18.260 19813-19813/com.bairuitech.callcenter I/ANYCHAT: 14:35:18(272) APPLOG Camera Preview size: 1280 x 720
03-05 14:35:18.260 19813-19813/com.bairuitech.callcenter I/ANYCHAT: 14:35:18(273) APPLOG Camera Preview size: 1280 x 960
03-05 14:35:18.260 19813-19813/com.bairuitech.callcenter I/ANYCHAT: 14:35:18(273) APPLOG Camera Preview size: 176 x 144
03-05 14:35:18.260 19813-19813/com.bairuitech.callcenter I/ANYCHAT: 14:35:18(274) APPLOG Camera Preview size: 352 x 288
03-05 14:35:18.260 19813-19813/com.bairuitech.callcenter I/ANYCHAT: 14:35:18(274) APPLOG Camera Preview size: 320 x 240
03-05 14:35:18.260 19813-19813/com.bairuitech.callcenter I/ANYCHAT: 14:35:18(275) APPLOG Camera FrameRate: 14000 , 25000
03-05 14:35:18.260 19813-19813/com.bairuitech.callcenter I/ANYCHAT: 14:35:18(275) APPLOG Camera FrameRate: 1000 , 30000
03-05 14:35:18.300 19813-19813/com.bairuitech.callcenter I/ANYCHAT: 14:35:18(312) Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
03-05 14:35:18.300 19813-19813/com.bairuitech.callcenter I/ANYCHAT: 14:35:18(312) Invoke SetInputVideoFormat(pixfmt:8, 320x240, 25fps, flags:0)
03-05 14:35:18.340 19813-19813/com.bairuitech.callcenter I/ANYCHAT: 14:35:18(349) video init finish:320x240, NV21, fps:25, codecid:1
作者:
佰锐科技-白玉冰
时间:
2016-8-5 15:01
你好,本来已经在一个房间,开始呼叫进入房间之前需要先退出以前的房间,另外,请提供完整的日志信息,为了更方便解决你的问题,请加我QQ:2631526108
作者:
亮亮
时间:
2016-8-5 15:13
佰锐科技-白玉冰 发表于 2016-8-5 15:01
你好,本来已经在一个房间,开始呼叫进入房间之前需要先退出以前的房间,另外,请提供完整的日志信息,为了 ...
好的,我加了你们的讨论组,我问组里的人吧,谢谢了。
欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/)
Powered by Discuz! X3