服务端用web和前端视频对话,目前问题是服务端无法展示 手机端的画面。
###############[VideoRoomViewController-viewDidLoad]############### 2017-07-25 15:11:51.194753+0800 vecdp[1718:367953] Invoke SelectVideoCapture(2-Front Facing Camera) 2017-07-25 15:11:51.197316+0800 vecdp[1718:367953] Invoke SetVideoPos(dwUserId:-1, hWnd:0x1b89270, l:0, t:0, r:0, b:0, dwStreamIndex:0) 2017-07-25 15:11:51.200277+0800 vecdp[1718:367953] Invoke UserSpeakControl(userid=-1,bOpen=0) 2017-07-25 15:11:51.205249+0800 vecdp[1718:367953] Invoke UserCameraControl(userid=-1, bOpen=1, stream=0) 2017-07-25 15:11:51.210263+0800 vecdp[1718:367953] Invoke UserSpeakControl(userid=2852500,bOpen=1) 2017-07-25 15:11:51.215324+0800 vecdp[1718:367953] Invoke SetVideoPos(dwUserId:2852500, hWnd:0x1b94230, l:0, t:0, r:0, b:0, dwStreamIndex:0) 2017-07-25 15:11:51.220408+0800 vecdp[1718:367953] Invoke UserCameraControl(userid=2852500, bOpen=1, stream=0) 2017-07-25 15:11:51.220456+0800 vecdp[1718:367953] ~~~~~~~~~~~~~~~~~~~~~~~~3 2017-07-25 15:11:51.956574+0800 vecdp[1718:367953] Invoke EnterRoom(roomid=102852500) 2017-07-25 15:11:52.046949+0800 vecdp[1718:368002] Message OnEnterRoom(roomid=102852500,errorcode=0,siteindex=1) 2017-07-25 15:11:52.384306+0800 vecdp[1718:368002] Init iOS audio finish(1, 48000, 16), capture size:1920 2017-07-25 15:11:52.388171+0800 vecdp[1718:368002] Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver 2017-07-25 15:11:52.391812+0800 vecdp[1718:368002] Message OnReceiveOnlineUser(count=2,roomid=102852500) 2017-07-25 15:11:52.397073+0800 vecdp[1718:367953] other进入房间id=102852500,用户数量=2 2017-07-25 15:11:53.811761+0800 vecdp[1718:367953] Invoke SelectVideoCapture(2-Front Facing Camera) 2017-07-25 15:11:53.815925+0800 vecdp[1718:367953] Invoke SetVideoPos(dwUserId:-1, hWnd:0x1b89270, l:0, t:0, r:0, b:0, dwStreamIndex:0) 2017-07-25 15:11:53.821687+0800 vecdp[1718:367953] Invoke UserSpeakControl(userid=-1,bOpen=0) 2017-07-25 15:11:53.824845+0800 vecdp[1718:367953] Invoke UserCameraControl(userid=-1, bOpen=1, stream=0) 2017-07-25 15:11:53.830208+0800 vecdp[1718:367953] Invoke UserSpeakControl(userid=2852500,bOpen=1) 2017-07-25 15:11:53.833152+0800 vecdp[1718:367953] Invoke SetVideoPos(dwUserId:2852500, hWnd:0x1b94230, l:0, t:0, r:0, b:0, dwStreamIndex:0) 2017-07-25 15:11:53.836617+0800 vecdp[1718:367953] Invoke UserCameraControl(userid=2852500, bOpen=1, stream=0) 2017-07-25 15:11:53.971204+0800 vecdp[1718:368010] WARNING: -[<AVCaptureConnection: 0x702014b0> isVideoMinFrameDurationSupported] is deprecated. Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges 2017-07-25 15:11:53.971473+0800 vecdp[1718:368010] WARNING: -[<AVCaptureConnection: 0x702014b0> setVideoMinFrameDuration:] is deprecated. Please use AVCaptureDevice setActiveVideoMinFrameDuration 2017-07-25 15:11:53.994303+0800 vecdp[1718:368134] userid(2852500) audio decode, codec:11, 1 channel, 16000Hz 2017-07-25 15:11:54.147915+0800 vecdp[1718:368135] userid(2852500) video decode, codec:1, 320x240, delay:10ms 2017-07-25 15:11:54.352018+0800 vecdp[1718:368010] video init finish: 480x360, 25fps, fmt:106, ret:0 [libx264 @ 0x102334a10] using cpu capabilities: none! [libx264 @ 0x102334a10] profile High, level 2.1 2017-07-25 15:11:54.362987+0800 vecdp[1718:368010] video(stream:0) codec init:codec:1, 15fps, 480x360, bitrate:90kbps, quality:3, preset:3, gop:30, handle:3 2017-07-25 15:11:54.365572+0800 vecdp[1718:368010] video(stream:0) init finish:480x360, NV12, fps:25, codecid:1 2017-07-25 15:11:54.755697+0800 vecdp[1718:368002] Message OnP2PConnectState(userid=2852500, state=2) 2017-07-25 15:12:13.699667+0800 vecdp[1718:368086] OnSocketClose, index(3)-errorcode(0-60), flags:0x10201, userid(2852500), master connect:0, list:0
|