fizz 发表于 2015-10-20 13:38:28

在一定概率下, 本地视频会显示不出来

有时候是 两三次遇到一次 有时候是连着几次 有时候八九次都不会出现一次 本地视频无法初始化加载出来 是哪方面出现了问题呢

fizz 发表于 2015-10-20 14:02:53

在没显示视频的时候 业务服务器可以看到音频是有的 所以可能是 OnLocalVideoInit 出了问题理论上不是内核直接调用吗 我该怎么操作

佰锐科技-李友勤 发表于 2015-10-20 14:04:00

fizz 发表于 2015-10-20 14:02
在没显示视频的时候 业务服务器可以看到音频是有的 所以可能是 OnLocalVideoInit 出了问题理论上不是内核 ...

您好,请将日志贴上来我们帮您分析下

fizz 发表于 2015-10-20 14:33:15

佰锐科技-李友勤 发表于 2015-10-20 14:04
您好,请将日志贴上来我们帮您分析下
2015-10-20 14:30:56.610 MobileCRM ---------------------------AnyChat Platform Core SDK Client Log---------------------------
2015-10-20 14:30:56.613 MobileCRM Load libanychatcore.so success!(V5.3 Build Time:Aug 10 2015 12:28:15)
2015-10-20 14:30:56.616 MobileCRM Load libmediautil.so success!(V5.3 Build Time:Aug 10 2015 12:28:30)
2015-10-20 14:30:56.621 MobileCRM Load libmediashow.so success!(V5.3 Build Time:Aug 10 2015 12:28:27)
2015-10-20 14:30:56.626 MobileCRM Load libmediacore.so success!(V5.3 Build Time:Aug 10 2015 12:28:25)
2015-10-20 14:31:05.313 MobileCRM Invoke      Connect(10.1.20.41,8906)=0
2015-10-20 14:31:05.318 MobileCRM Invoke      LoginServer(username=sh_linxinyu)
2015-10-20 14:31:05.351 MobileCRM CheckClientSocketLink         Connect(ip=10.1.20.41,port=8906)
2015-10-20 14:31:06.054 MobileCRM Server version: V5.3(Build Time:2015-08-07 20:29:06, Server OS:Linux)
2015-10-20 14:31:06.062 MobileCRM Message      OnConnect(bSuccess:1, errorcode=0)
2015-10-20 14:31:06.213 MobileCRM Message      OnLoginSystem(userid=40,errorcode=0,username=¡÷–¬”í), msg deliver worked(0)
2015-10-20 14:31:06.218 MobileCRM Load libmediautil.so success!(V5.3 Build Time:Aug 10 2015 12:28:30)
2015-10-20 14:31:06.222 MobileCRM Load libmediashow.so success!(V5.3 Build Time:Aug 10 2015 12:28:27)
2015-10-20 14:31:06.226 MobileCRM Load libmediacore.so success!(V5.3 Build Time:Aug 10 2015 12:28:25)
2015-10-20 14:31:06.236 MobileCRM Server running time: 0 days, 0 hours, 13 minutes, license mode:0
2015-10-20 14:31:06.236 MobileCRM Invoke      SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=0)
2015-10-20 14:31:06.242 MobileCRM Apply video parameter:1280x720, bitrate:0kbps, quality:3, gop:30, fps:8, preset:3, codec:1
2015-10-20 14:31:06.255 MobileCRM Connection to streaming media server successfully!(udp delay:11ms)
2015-10-20 14:31:08.253 MobileCRM Invoke      VideoCallControl(EventType:1, UserId:39, ErrorCode:0, dwFlags:0, dwParam:0, UserStr:(null))=0
2015-10-20 14:31:08.300 MobileCRM Message      OnVideoCallEvent(EventType:2, UserId:39, ErrorCode:0, dwFlags:0x0, dwParam:0
2015-10-20 14:31:09.731 MobileCRM Message      OnVideoCallEvent(EventType:3, UserId:39, ErrorCode:0, dwFlags:0x0, dwParam:1
2015-10-20 14:31:09.744 MobileCRM Invoke      EnterRoom(roomid=1)
2015-10-20 14:31:09.768 MobileCRM Message      OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
2015-10-20 14:31:09.906 MobileCRM Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
2015-10-20 14:31:09.912 MobileCRM Message      OnReceiveOnlineUser(count=1,roomid=1)
2015-10-20 14:31:09.935 MobileCRM Invoke      UserSpeakControl(userid=-1,bOpen=1)
2015-10-20 14:31:09.936 MobileCRM Message      OnUserEnterRoom(userid=39,nickname=œμÕ≥π‹¿ì‘±,siteindex=1)
2015-10-20 14:31:09.937 MobileCRM Audio record control:1, result:-1
2015-10-20 14:31:09.941 MobileCRM Invoke      SetVideoPos(dwUserId:-1, hWnd:0x970f470, l:-300, t:0, r:0, b:0)
2015-10-20 14:31:09.945 MobileCRM Invoke      UserCameraControl(userid=-1, bOpen=1, stream=0)
2015-10-20 14:31:09.988 MobileCRM Default Audio Capture Driver()
2015-10-20 14:31:09.999 MobileCRM Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
2015-10-20 14:31:10.002 MobileCRM On Remote UserCameraControl(dwUserId:39, bOpen:1)
2015-10-20 14:31:10.009 MobileCRM Audio codec init, handle:1, 11, 1, 16000, 16, 15850
2015-10-20 14:31:10.010 MobileCRM On Remote UserSpeakControl(dwUserId:39, bOpen:1)
2015-10-20 14:31:10.062 MobileCRM WARNING: -[<AVCaptureConnection: 0xcee240> isVideoMinFrameDurationSupported] is deprecated.Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2015-10-20 14:31:10.063 MobileCRM WARNING: -[<AVCaptureConnection: 0xcee240> setVideoMinFrameDuration:] is deprecated.Please use AVCaptureDevice setActiveVideoMinFrameDuration
2015-10-20 14:31:10.418 MobileCRM Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
2015-10-20 14:31:10.667 MobileCRM Invoke      UserSpeakControl(userid=-1,bOpen=1)
2015-10-20 14:31:11.259 MobileCRM socket error, disconnected by peer!, bTcp(1) - userid(-1)
2015-10-20 14:31:11.265 MobileCRM OnSocketClose, index(3)-errorcode(0-3), flags:0x81, bTcp(1),userid(-1), list:0



这是一次没有初始化出来的

佰锐科技-李友勤 发表于 2015-10-20 15:06:56

fizz 发表于 2015-10-20 14:33
2015-10-20 14:30:56.610 MobileCRM ---------------------------AnyChat Platform Core S ...

您好,正在分析中,请稍等

佰锐科技-李永星 发表于 2015-10-20 15:07:17

fizz 发表于 2015-10-20 14:33
2015-10-20 14:30:56.610 MobileCRM ---------------------------AnyChat Platform Core S ...

您好,有没有用demo测试,demo也会出现这种现象吗?

fizz 发表于 2015-10-20 15:40:27

佰锐科技-李永星 发表于 2015-10-20 15:07
您好,有没有用demo测试,demo也会出现这种现象吗?

demo 暂时还没发现

fizz 发表于 2015-10-20 15:40:46

佰锐科技-李友勤 发表于 2015-10-20 15:06
您好,正在分析中,请稍等

感谢 .........

佰锐科技-李友勤 发表于 2015-10-20 15:44:55

fizz 发表于 2015-10-20 15:40
感谢 .........

有没有设置本地视频采用overlay模式呢?

fizz 发表于 2015-10-20 16:05:53

佰锐科技-李友勤 发表于 2015-10-20 15:44
有没有设置本地视频采用overlay模式呢?

是的 已经设置为1了
页: [1] 2 3
查看完整版本: 在一定概率下, 本地视频会显示不出来