AnyChat技术支持论坛

标题: 程序无法音频和视频 求解决 [打印本页]

作者: 完颜康    时间: 2016-10-18 09:14
标题: 程序无法音频和视频 求解决
logcat:
单独跑anychat 都管用 写到程序里面 就看不见画面 听不见声音
10-18 09:11:07.912: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:07.949: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:07.990: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.030: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.065: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.109: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.150: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.186: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.224: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.273: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.309: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.349: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.389: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.425: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.472: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.507: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.547: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.592: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.627: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.669: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.706: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.748: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.793: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.826: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.870: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.913: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.947: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:08.989: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.027: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.067: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.110: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.148: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.189: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.232: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.266: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.310: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.346: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.389: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.432: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.469: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.511: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.555: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.589: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.630: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.669: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.708: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.752: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.792: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.812: I/ViewRootImpl(21135): WindowInputEventReceiver onInputEvent!! KeyCode is 4, action is 0
10-18 09:11:09.837: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=1 r=0x10202c0}
10-18 09:11:09.838: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=1 r=0x10202c1}
10-18 09:11:09.839: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=1 r=0x10202c2}
10-18 09:11:09.844: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=1 r=0x10202c3}
10-18 09:11:09.846: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=1 r=0x10202c4}
10-18 09:11:09.849: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=1 r=0x10202c8}
10-18 09:11:09.850: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=1 r=0x10202c9}
10-18 09:11:09.856: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=1 r=0x10202ca}
10-18 09:11:09.858: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=1 r=0x10202c5}
10-18 09:11:09.883: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=1 r=0x10202c6}
10-18 09:11:09.912: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=1 r=0x10202c7}
10-18 09:11:09.939: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:09.978: I/ViewRootImpl(21135): WindowInputEventReceiver onInputEvent!! KeyCode is 4, action is 1
10-18 09:11:09.979: I/ViewRootImpl(21135): WindowInputEventReceiver onInputEvent!! KeyCode is 4, action is 1
10-18 09:11:09.979: W/ViewRootImpl(21135): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x28, repeatCount=0, eventTime=34647935, downTime=34647935, deviceId=-1, source=0x101 }
10-18 09:11:09.980: W/ViewRootImpl(21135): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x28, repeatCount=0, eventTime=34647935, downTime=34647935, deviceId=-1, source=0x101 }
10-18 09:11:09.980: W/ViewRootImpl(21135): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x28, repeatCount=0, eventTime=34647935, downTime=34647935, deviceId=-1, source=0x101 }
10-18 09:11:09.980: W/ViewRootImpl(21135): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x28, repeatCount=0, eventTime=34647935, downTime=34647935, deviceId=-1, source=0x101 }
10-18 09:11:09.980: W/ViewRootImpl(21135): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x28, repeatCount=0, eventTime=34647935, downTime=34647935, deviceId=-1, source=0x101 }
10-18 09:11:09.981: W/ViewRootImpl(21135): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x28, repeatCount=0, eventTime=34647935, downTime=34647935, deviceId=-1, source=0x101 }
10-18 09:11:09.981: W/ViewRootImpl(21135): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x28, repeatCount=0, eventTime=34647935, downTime=34647935, deviceId=-1, source=0x101 }
10-18 09:11:09.981: W/ViewRootImpl(21135): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x28, repeatCount=0, eventTime=34647935, downTime=34647935, deviceId=-1, source=0x101 }
10-18 09:11:09.981: W/ViewRootImpl(21135): Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x28, repeatCount=0, eventTime=34647935, downTime=34647935, deviceId=-1, source=0x101 }
10-18 09:11:09.981: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.031: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.080: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.122: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.163: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.213: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.215: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.234: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.289: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.325: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.356: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.411: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.435: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.479: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.515: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.548: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.594: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.631: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.669: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.714: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.751: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.791: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.842: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.889: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:10.910: I/ANYCHAT(21135): 09:11:10(908) Invoke UserCameraControl(userid=-121190, bOpen=0, stream=0)
10-18 09:11:10.912: I/ANYCHAT(21135): 09:11:10(911) Invoke UserSpeakControl(userid=-121190,bOpen=0)
10-18 09:11:10.916: I/ANYCHAT(21135): 09:11:10(915) Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
10-18 09:11:10.917: I/ANYCHAT(21135): 09:11:10(916) Invoke UserSpeakControl(userid=-1,bOpen=0)
10-18 09:11:10.919: E/GLConsumer(21135): hongxu transact start
10-18 09:11:10.921: E/GLConsumer(21135): hongxu transact end
10-18 09:11:10.951: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:11.002: I/ANYCHAT(21135): 09:11:11(1) Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
10-18 09:11:11.092: I/ANYCHAT(21135): 09:11:11(92) Invoke UserCameraControl(userid=-121190, bOpen=0, stream=0)
10-18 09:11:11.095: I/ANYCHAT(21135): 09:11:11(93) Invoke UserSpeakControl(userid=-121190,bOpen=0)
10-18 09:11:11.095: I/ANYCHAT(21135): 09:11:11(95) Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
10-18 09:11:11.097: I/ANYCHAT(21135): 09:11:11(96) Invoke UserSpeakControl(userid=-1,bOpen=0)
10-18 09:11:11.117: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:11.118: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:11.118: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:11.119: I/ANYCHAT(21135): 09:11:11(119) Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
10-18 09:11:11.128: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b0049}
10-18 09:11:11.131: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b004a}
10-18 09:11:11.132: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b004b}
10-18 09:11:11.134: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b004c}
10-18 09:11:11.215: I/art(21135): Background sticky concurrent mark sweep GC freed 24169(1977KB) AllocSpace objects, 0(0B) LOS objects, 1% free, 51MB/52MB, paused 19.242ms total 49.678ms
10-18 09:11:11.242: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b0049}
10-18 09:11:11.245: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b004a}
10-18 09:11:11.248: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b004b}
10-18 09:11:11.250: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b004c}
10-18 09:11:11.277: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:11.278: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:11.278: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:11.327: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:11.329: I/SurfaceView(21135): updateWindow -- onWindowVisibilityChanged, visibility = 8, this = android.view.SurfaceView{15260f0e V.E..... ........ 0,0-1080,1620 #7f0b0055 app:id/surface_remote}
10-18 09:11:11.339: I/SurfaceView(21135): updateWindow -- onWindowVisibilityChanged, visibility = 8, this = android.view.SurfaceView{862af3c V.E..... ........ 9,9-261,356 #7f0b0057 app:id/surface_local}
10-18 09:11:11.624: I/CameraFramework(21135): handleMessage: 16
10-18 09:11:11.629: I/SurfaceView(21135): updateWindow -- onDetachedFromWindow, this = android.view.SurfaceView{15260f0e V.E..... ........ 0,0-1080,1620 #7f0b0055 app:id/surface_remote}
10-18 09:11:11.636: I/SurfaceView(21135): updateWindow -- onDetachedFromWindow, this = android.view.SurfaceView{862af3c V.E..... ........ 9,9-261,356 #7f0b0057 app:id/surface_local}
10-18 09:11:13.156: I/ANYCHAT(21135): 09:11:13(152) Invoke LeaveRoom(roomid=-1) Elapse:100 ms
10-18 09:11:13.252: I/ANYCHAT(21135): 09:11:13(251) Invoke LogoutServer(userid=-121208) Elapse:94 ms
10-18 09:11:13.358: I/ANYCHAT(21135): 09:11:13(358) Invoke BRAC_Release Elapse:106 ms
10-18 09:11:13.390: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b0006}
10-18 09:11:13.391: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b0007}
10-18 09:11:13.399: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b0008}
10-18 09:11:13.399: W/Resources(21135): Converting to string: TypedValue{t=0x1c/d=0x0 a=1 r=0x106000d}
10-18 09:11:13.403: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b0009}
10-18 09:11:13.403: W/Resources(21135): Converting to string: TypedValue{t=0x1c/d=0x0 a=1 r=0x106000d}
10-18 09:11:13.410: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b000a}
10-18 09:11:13.411: W/Resources(21135): Converting to string: TypedValue{t=0x1c/d=0x0 a=1 r=0x106000d}
10-18 09:11:13.415: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b000b}
10-18 09:11:13.415: W/Resources(21135): Converting to string: TypedValue{t=0x1c/d=0x0 a=1 r=0x106000d}
10-18 09:11:13.420: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b000c}
10-18 09:11:13.422: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b000d}
10-18 09:11:13.425: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b000e}
10-18 09:11:13.428: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b000f}
10-18 09:11:13.430: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b0010}
10-18 09:11:13.431: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b0011}
10-18 09:11:13.432: W/Resources(21135): Converting to string: TypedValue{t=0x1f/d=0xffaaaaaa a=1 r=0x1060000}
10-18 09:11:13.434: W/Resources(21135): Converting to string: TypedValue{t=0x12/d=0x0 a=4 r=0x7f0b0012}
10-18 09:11:13.434: W/Resources(21135): Converting to string: TypedValue{t=0x1c/d=0xff000000 a=1 r=0x106000c}
10-18 09:11:13.470: I/ANYCHAT(21135): 09:11:13(468) ---------------------------AnyChat Platform Core SDK Client Log---------------------------
10-18 09:11:13.471: I/ANYCHAT(21135): 09:11:13(470) Load libanychatcore.so success!(V6.1 Build Time:Jun 30 2016 08:05:22)
10-18 09:11:13.472: I/ANYCHAT(21135): 09:11:13(471) Android OS SDK Version:22, Support ARMv7:2, Support Neon:4
10-18 09:11:13.519: I/ANYCHAT(21135): 09:11:13(519) Load libmediautil_v7.so success!(V6.0 Build Time:May  6 2016 07:33:33)
10-18 09:11:13.543: I/ANYCHAT(21135): 09:11:13(542) Load libmediashow.so success!(V6.1 Build Time:Jun 30 2016 08:07:21)
10-18 09:11:13.567: I/ANYCHAT(21135): 09:11:13(566) Load libmediacore.so success!(V6.1 Build Time:Jun 30 2016 08:07:24)
10-18 09:11:13.569: I/ANYCHAT(21135): 09:11:13(569) MX5(Meizu) mt6795  5.1
10-18 09:11:13.571: I/ANYCHAT(21135): 09:11:13(570) Invoke SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
10-18 09:11:13.571: I/System.out(21135): 传感器精度变化:3传感器精度变化:1传感器精度变化:3传感器精度变化:1传感器精度变化:3传感器精度变化:1传感器精度变化:3传感器精度变化:1传感器精度变化:3传感器精度变化:1传感器精度变化:3传感器精度变化:1传感器精度变化:3传感器精度变化:1传感器精度变化:3app start
10-18 09:11:13.577: I/ANYCHAT(21135): 09:11:13(576) Apply video parameter:320x240, bitrate:150kbps, quality:3, gop:40, fps:10, preset:3, codec:0
10-18 09:11:13.578: I/ANYCHAT(21135): 09:11:13(577) Invoke SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
10-18 09:11:13.580: I/ANYCHAT(21135): 09:11:13(578) Invoke SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
10-18 09:11:13.580: I/ANYCHAT(21135): 09:11:13(580) Invoke SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
10-18 09:11:13.582: I/ANYCHAT(21135): 09:11:13(581) Invoke SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
10-18 09:11:13.626: I/Choreographer(21135): Skipped 34 frames!  The application may be doing too much work on its main thread.


作者: 佰锐科技-刘洋    时间: 2016-10-18 09:20
你好 请发anychat的日志上来分析一下  日志一般 默认在C盘:BaiRuiTech\AnyChatWeb 目录下的 BRAnyChatCore.log   
作者: 完颜康    时间: 2016-10-18 09:27
佰锐科技-刘洋 发表于 2016-10-18 09:20
你好 请发anychat的日志上来分析一下  日志一般 默认在C盘:BaiRuiTech\AnyChatWeb 目录下的 BRAnyChatCore ...

你这个路径我不是很明白

作者: 完颜康    时间: 2016-10-18 09:29
完颜康 发表于 2016-10-18 09:27
你这个路径我不是很明白

我是跑在Android端的

作者: 佰锐科技-刘洋    时间: 2016-10-18 09:48
Android端  日志在CDCard下面
作者: 完颜康    时间: 2016-10-18 09:58
佰锐科技-刘洋 发表于 2016-10-18 09:48
Android端  日志在CDCard下面

[2016-10-18 09:53:30(847)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-10-18 09:53:30(849)]        Load libanychatcore.so success!(V6.1 Build Time:Jun 30 2016 08:05:22)
[2016-10-18 09:53:30(850)]        Android OS SDK Version:22, Support ARMv7:2, Support Neon:4
[2016-10-18 09:53:30(874)]        Load libmediautil_v7.so success!(V6.0 Build Time:May  6 2016 07:33:33)
[2016-10-18 09:53:30(888)]        Load libmediashow.so success!(V6.1 Build Time:Jun 30 2016 08:07:21)
[2016-10-18 09:53:30(901)]        Load libmediacore.so success!(V6.1 Build Time:Jun 30 2016 08:07:24)
[2016-10-18 09:53:30(903)]        MX5(Meizu) mt6795  5.1
[2016-10-18 09:53:30(904)]        Invoke        SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
[2016-10-18 09:53:30(919)]        Apply video parameter:320x240, bitrate:150kbps, quality:3, gop:40, fps:10, preset:3, codec:0
[2016-10-18 09:53:30(920)]        Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2016-10-18 09:53:30(921)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2016-10-18 09:53:30(922)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2016-10-18 09:53:30(922)]        Invoke        SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
[2016-10-18 09:53:32(903)]        Start network engine(IPv4 mode)...
[2016-10-18 09:53:32(904)]        Invoke        Connect(demo.anychat.cn,8906)=0
[2016-10-18 09:53:32(905)]        Invoke        Login(username:Android01)=0
[2016-10-18 09:53:33(048)]        Create anychatdnsserver connect:121.199.51.198(8906)
[2016-10-18 09:53:33(230)]        On pre-connection result, errorcode:0, anychatcoreserver, 121.199.51.198(8906, tcp:1)
[2016-10-18 09:53:33(252)]        CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
[2016-10-18 09:53:33(385)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2016-10-18 09:53:33(791)]        Server version: V6.1(Build Time:2016-08-17 11:02:06, Windows server)
[2016-10-18 09:53:33(863)]        Message        OnLoginSystem(userid=-121321,errorcode=0,username=Android01), msg deliver worked(0)
[2016-10-18 09:53:33(864)]        Server running time: 61 days, 19 hours, 28 minutes, license mode:1
[2016-10-18 09:53:33(878)]        Invoke        EnterRoom(roomid=8)
[2016-10-18 09:53:34(518)]        Connection to streaming media server successfully!(udp delay:326ms)
[2016-10-18 09:53:34(609)]        Message        OnEnterRoom(roomid=8,errorcode=0,siteindex=0)
[2016-10-18 09:53:34(610)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2016-10-18 09:53:34(611)]        Message        OnReceiveOnlineUser(count=1,roomid=8)
[2016-10-18 09:53:39(814)]        Message        OnUserEnterRoom(userid=-121322,nickname=Android01,siteindex=1)
[2016-10-18 09:53:40(975)]        On Remote UserCameraControl(dwUserId:-121322, bOpen:1)
[2016-10-18 09:53:41(180)]        On Remote UserSpeakControl(dwUserId:-121322, bOpen:1)
[2016-10-18 09:53:43(436)]        Invoke        UserCameraControl(userid=-121322, bOpen=1, stream=0)
[2016-10-18 09:53:43(437)]        Invoke        UserSpeakControl(userid=-121322,bOpen=1)
[2016-10-18 09:53:43(441)]        Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
[2016-10-18 09:53:43(442)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2016-10-18 09:53:43(601)]        APPLOG        Camera Preview size: 176 x 144
[2016-10-18 09:53:43(602)]        APPLOG        Camera Preview size: 320 x 240
[2016-10-18 09:53:43(604)]        APPLOG        Camera FrameRate: 5000 , 60000
[2016-10-18 09:53:43(911)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-10-18 09:53:43(912)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 60fps, flags:0)
[2016-10-18 09:53:43(957)]        video init finish:320x240, NV21, fps:60, codecid:1
[2016-10-18 09:53:44(005)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-10-18 09:53:44(013)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2016-10-18 09:53:44(064)]        video init finish:320x240, NV21, fps:30, codecid:1
[2016-10-18 09:53:44(084)]        Invoke        SetInputAudioFormat(1, 16000, 16, flags:0)
[2016-10-18 09:53:44(085)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2016-10-18 09:53:44(086)]        Audio codec init, handle:3, 11, 1, 16000, 16, 15850
[2016-10-18 09:53:44(270)]        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:3, preset:3, gop:40, handle:4
[2016-10-18 09:53:44(317)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2016-10-18 09:53:53(823)]        Invoke        UserCameraControl(userid=-121322, bOpen=0, stream=0)
[2016-10-18 09:53:53(824)]        Invoke        UserSpeakControl(userid=-121322,bOpen=0)
[2016-10-18 09:53:53(828)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-10-18 09:53:53(829)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2016-10-18 09:53:53(863)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 09:53:53(989)]        Invoke        UserCameraControl(userid=-121322, bOpen=0, stream=0)
[2016-10-18 09:53:53(990)]        Invoke        UserSpeakControl(userid=-121322,bOpen=0)
[2016-10-18 09:53:53(990)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-10-18 09:53:53(991)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2016-10-18 09:53:54(005)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 09:53:56(310)]        On Remote UserCameraControl(dwUserId:-121322, bOpen:0)
[2016-10-18 09:53:56(559)]        On Remote UserSpeakControl(dwUserId:-121322, bOpen:0)
[2016-10-18 09:53:58(640)]        Invoke        UserCameraControl(userid=-121322, bOpen=1, stream=0)
[2016-10-18 09:53:58(641)]        Invoke        UserSpeakControl(userid=-121322,bOpen=1)
[2016-10-18 09:53:58(644)]        Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
[2016-10-18 09:53:58(645)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2016-10-18 09:53:58(659)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 09:53:58(669)]        Invoke        SetInputAudioFormat(1, 16000, 16, flags:0)
[2016-10-18 09:53:58(670)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2016-10-18 09:53:58(820)]        APPLOG        Camera Preview size: 176 x 144
[2016-10-18 09:53:58(821)]        APPLOG        Camera Preview size: 320 x 240
[2016-10-18 09:53:58(823)]        APPLOG        Camera FrameRate: 5000 , 60000
[2016-10-18 09:53:59(128)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-10-18 09:53:59(129)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 60fps, flags:0)
[2016-10-18 09:53:59(183)]        video init finish:320x240, NV21, fps:60, codecid:1
[2016-10-18 09:54:00(853)]        On Remote UserCameraControl(dwUserId:-121322, bOpen:1)
[2016-10-18 09:54:00(939)]        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:3, preset:3, gop:40, handle:6
[2016-10-18 09:54:01(679)]        On Remote UserSpeakControl(dwUserId:-121322, bOpen:1)
[2016-10-18 09:54:07(696)]        Invoke        UserCameraControl(userid=-121322, bOpen=0, stream=0)
[2016-10-18 09:54:07(697)]        Invoke        UserSpeakControl(userid=-121322,bOpen=0)
[2016-10-18 09:54:07(700)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-10-18 09:54:07(702)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2016-10-18 09:54:07(734)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 09:54:07(742)]        Invoke        UserCameraControl(userid=-121322, bOpen=0, stream=0)
[2016-10-18 09:54:07(743)]        Invoke        UserSpeakControl(userid=-121322,bOpen=0)
[2016-10-18 09:54:07(744)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-10-18 09:54:07(745)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2016-10-18 09:54:07(885)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 09:54:11(648)]        On Remote UserCameraControl(dwUserId:-121322, bOpen:0)
[2016-10-18 09:54:11(874)]        On Remote UserSpeakControl(dwUserId:-121322, bOpen:0)
[2016-10-18 09:54:20(021)]        Invoke        UserCameraControl(userid=-121322, bOpen=1, stream=0)
[2016-10-18 09:54:20(021)]        Invoke        UserSpeakControl(userid=-121322,bOpen=1)
[2016-10-18 09:54:20(026)]        Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
[2016-10-18 09:54:20(026)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2016-10-18 09:54:20(182)]        APPLOG        Camera Preview size: 176 x 144
[2016-10-18 09:54:20(183)]        APPLOG        Camera Preview size: 320 x 240
[2016-10-18 09:54:20(184)]        APPLOG        Camera FrameRate: 5000 , 60000
[2016-10-18 09:54:20(493)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-10-18 09:54:20(495)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 60fps, flags:0)
[2016-10-18 09:54:20(546)]        video init finish:320x240, NV21, fps:60, codecid:1
[2016-10-18 09:54:20(603)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-10-18 09:54:20(618)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2016-10-18 09:54:20(666)]        video init finish:320x240, NV21, fps:30, codecid:1
[2016-10-18 09:54:20(688)]        Invoke        SetInputAudioFormat(1, 16000, 16, flags:0)
[2016-10-18 09:54:20(689)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2016-10-18 09:54:23(494)]        On Remote UserCameraControl(dwUserId:-121322, bOpen:1)
[2016-10-18 09:54:23(596)]        video codec init:codec:1, 10fps, 320x240, bitrate:150kbps, quality:3, preset:3, gop:40, handle:9
[2016-10-18 09:54:23(739)]        On Remote UserSpeakControl(dwUserId:-121322, bOpen:1)
[2016-10-18 09:54:32(429)]        Invoke        UserCameraControl(userid=-121322, bOpen=0, stream=0)
[2016-10-18 09:54:32(430)]        Invoke        UserSpeakControl(userid=-121322,bOpen=0)
[2016-10-18 09:54:32(434)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-10-18 09:54:32(435)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2016-10-18 09:54:32(458)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 09:54:32(590)]        Invoke        UserCameraControl(userid=-121322, bOpen=0, stream=0)
[2016-10-18 09:54:32(591)]        Invoke        UserSpeakControl(userid=-121322,bOpen=0)
[2016-10-18 09:54:32(591)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-10-18 09:54:32(592)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2016-10-18 09:54:32(605)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 09:54:34(756)]        Invoke        LeaveRoom(roomid=-1)        Elapse:101 ms
[2016-10-18 09:54:34(784)]        Invoke        LogoutServer(userid=-121321)        Elapse:28 ms
[2016-10-18 09:54:34(864)]        Invoke        BRAC_Release        Elapse:78 ms

作者: 佰锐科技-梁国桦    时间: 2016-10-18 10:17
完颜康 发表于 2016-10-18 09:58
[2016-10-18 09:53:30(847)]        ---------------------------AnyChat Platform Core SDK Client Log-------- ...

从这份日志看,有可能是对方没打开本地视频,请问另一方是什么平台的呢?方便发一下另一方的日志吗?
作者: 完颜康    时间: 2016-10-18 10:30
本帖最后由 完颜康 于 2016-10-18 10:44 编辑
佰锐科技-梁国桦 发表于 2016-10-18 10:17
从这份日志看,有可能是对方没打开本地视频,请问另一方是什么平台的呢?方便发一下另一方的日志吗?


[2016-10-18 10:28:21(700)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-10-18 10:28:21(701)]        Load libanychatcore.so success!(V6.1 Build Time:Jun 30 2016 08:05:22)
[2016-10-18 10:28:21(702)]        Android OS SDK Version:21, Support ARMv7:2, Support Neon:4
[2016-10-18 10:28:21(720)]        Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: "libmediautil_v7.so" has unexpected e_machine: 3)
[2016-10-18 10:28:21(728)]        Load libmediashow.so failed,video display functions will fail!(dlopen failed: library "libmediashow.so" not found)
[2016-10-18 10:28:21(736)]        Load libmediacore.so success!(V6.1 Build Time:Jun 30 2016 08:07:24)
[2016-10-18 10:28:21(738)]        cpuualcomm Technologies, Inc MSM8916(s, Inc MSM8916) 38.40 mips
[2016-10-18 10:28:21(738)]        SM-T355C(samsung) msm8916 MSM8916 5.0.2
[2016-10-18 10:28:21(739)]        Invoke        SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
[2016-10-18 10:28:21(751)]        Apply video parameter:320x240, bitrate:150kbps, quality:3, gop:40, fps:10, preset:3, codec:0
[2016-10-18 10:28:21(751)]        Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2016-10-18 10:28:21(751)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2016-10-18 10:28:21(751)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2016-10-18 10:28:21(751)]        Invoke        SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
[2016-10-18 10:28:22(991)]        Start network engine(IPv4 mode)...
[2016-10-18 10:28:22(992)]        Invoke        Connect(demo.anychat.cn,8906)=0
[2016-10-18 10:28:22(993)]        Invoke        Login(username:Android01)=0
[2016-10-18 10:28:23(082)]        Create anychatdnsserver connect:121.199.51.198(8906)
[2016-10-18 10:28:23(629)]        On pre-connection result, errorcode:0, anychatcoreserver, 121.199.51.198(8906, tcp:1)
[2016-10-18 10:28:23(700)]        CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
[2016-10-18 10:28:23(792)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2016-10-18 10:28:24(257)]        Server version: V6.1(Build Time:2016-08-17 11:02:06, Windows server)
[2016-10-18 10:28:24(318)]        Message        OnLoginSystem(userid=-121474,errorcode=0,username=Android01), msg deliver worked(0)
[2016-10-18 10:28:24(328)]        Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: "libmediautil_v7.so" has unexpected e_machine: 3)
[2016-10-18 10:28:24(338)]        Load libmediashow.so failed,video display functions will fail!(dlopen failed: library "libmediashow.so" not found)
[2016-10-18 10:28:24(338)]        Server running time: 61 days, 20 hours, 3 minutes, license mode:1
[2016-10-18 10:28:24(352)]        Invoke        EnterRoom(roomid=8)
[2016-10-18 10:28:24(845)]        Connection to streaming media server successfully!(udp delay:252ms)
[2016-10-18 10:28:24(910)]        Message        OnEnterRoom(roomid=8,errorcode=0,siteindex=0)
[2016-10-18 10:28:24(910)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2016-10-18 10:28:24(911)]        Message        OnReceiveOnlineUser(count=1,roomid=8)
[2016-10-18 10:28:27(381)]        Message        OnUserEnterRoom(userid=-121475,nickname=Android01,siteindex=1)
[2016-10-18 10:28:28(698)]        On Remote UserCameraControl(dwUserId:-121475, bOpen:1)
[2016-10-18 10:28:28(931)]        On Remote UserSpeakControl(dwUserId:-121475, bOpen:1)
[2016-10-18 10:28:30(492)]        Invoke        UserCameraControl(userid=-121475, bOpen=1, stream=0)
[2016-10-18 10:28:30(492)]        Invoke        UserSpeakControl(userid=-121475,bOpen=1)
[2016-10-18 10:28:30(495)]        Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
[2016-10-18 10:28:30(495)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2016-10-18 10:28:30(912)]        APPLOG        Camera Preview size: 800 x 600
[2016-10-18 10:28:30(913)]        APPLOG        Camera Preview size: 640 x 480
[2016-10-18 10:28:30(915)]        APPLOG        Camera Preview size: 320 x 240
[2016-10-18 10:28:30(915)]        APPLOG        Camera FrameRate: 10000 , 30000
[2016-10-18 10:28:31(073)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-10-18 10:28:31(073)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2016-10-18 10:28:31(074)]        video init finish:320x240, NV21, fps:30, codecid:1
[2016-10-18 10:28:31(080)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-10-18 10:28:31(083)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2016-10-18 10:28:31(083)]        video init finish:320x240, NV21, fps:30, codecid:1
[2016-10-18 10:28:31(090)]        Invoke        SetInputAudioFormat(1, 16000, 16, flags:0)
[2016-10-18 10:28:31(090)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2016-10-18 10:28:31(091)]        Audio codec init, handle:-1, 11, 1, 16000, 16, 15850
[2016-10-18 10:28:31(187)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2016-10-18 10:28:31(235)]        Convert YUV420P Failed!
[2016-10-18 10:28:42(852)]        Invoke        UserCameraControl(userid=-121475, bOpen=0, stream=0)
[2016-10-18 10:28:42(854)]        Invoke        UserSpeakControl(userid=-121475,bOpen=0)
[2016-10-18 10:28:42(856)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-10-18 10:28:42(857)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2016-10-18 10:28:42(874)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 10:28:42(885)]        Invoke        UserCameraControl(userid=-121475, bOpen=0, stream=0)
[2016-10-18 10:28:42(885)]        Invoke        UserSpeakControl(userid=-121475,bOpen=0)
[2016-10-18 10:28:42(886)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-10-18 10:28:42(886)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2016-10-18 10:28:42(896)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 10:28:44(369)]        Invoke        LeaveRoom(roomid=-1)        Elapse:104 ms
[2016-10-18 10:28:44(381)]        Invoke        LogoutServer(userid=-121474)        Elapse:12 ms
[2016-10-18 10:28:44(469)]        Invoke        BRAC_Release        Elapse:86 ms



两个移动端 安装的同一个程序


作者: 佰锐科技-梁国桦    时间: 2016-10-18 10:45
完颜康 发表于 2016-10-18 10:30
[2016-10-18 10:28:21(700)]        ---------------------------AnyChat Platform Core SDK Client Log-------- ...

[2016-10-18 10:28:21(720)]        Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: "libmediautil_v7.so" has unexpected e_machine: 3)
[2016-10-18 10:28:21(728)]        Load libmediashow.so failed,video display functions will fail!(dlopen failed: library "libmediashow.so" not found)

库加载失败,检查下库目录是否有问题,或者截图发上来看看
作者: 完颜康    时间: 2016-10-18 11:53
file:///C:/Users/Administrator/Desktop/)3(P%7BG%25Z9G%60V6XY_)QAX%60S4.png

)3(P{G%Z9G`V6XY_)QAX`S4.png (25.91 KB, 下载次数: 6640)

)3(P{G%Z9G`V6XY_)QAX`S4.png

作者: 完颜康    时间: 2016-10-18 12:00
完颜康 发表于 2016-10-18 11:53

不同手机上 这个包它就加载不了 有没有兼容包之类的 三星平板 就是加载不起来
作者: 完颜康    时间: 2016-10-18 13:24
佰锐科技-梁国桦 发表于 2016-10-18 10:45
[2016-10-18 10:28:21(720)]        Load libmediautil_v7.so failed,multimedia functions will fail!(d ...

不同手机上 这个包它就加载不了 有没有兼容包之类的 三星平板 就是加载不起来
作者: 佰锐科技-梁国桦    时间: 2016-10-18 13:45
完颜康 发表于 2016-10-18 13:24
不同手机上 这个包它就加载不了 有没有兼容包之类的 三星平板 就是加载不起来

那这个三星平板直接用我们的Demo呢?能不能正常显示视频?
作者: 完颜康    时间: 2016-10-18 14:11
本帖最后由 完颜康 于 2016-10-18 14:13 编辑
佰锐科技-梁国桦 发表于 2016-10-18 13:45
那这个三星平板直接用我们的Demo呢?能不能正常显示视频?


可以 但是我也是直接用你们的anychat 代码

这个是小米手机 但是我的魅族手机就是正常的

[2016-10-18 14:05:38(860)] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-10-18 14:05:38(862)] Load libanychatcore.so success!(V6.1 Build Time:Jun 30 2016 08:05:22)
[2016-10-18 14:05:38(862)] Android OS SDK Version:23, Support ARMv7:2, Support Neon:4
[2016-10-18 14:05:38(886)] Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: "/data/app/com.collection.sys-1/lib/arm/libmediautil_v7.so" has unexpected e_machine: 3)
[2016-10-18 14:05:38(899)] Load libmediashow.so failed,video display functions will fail!(dlopen failed: library "libmediashow.so" not found)
[2016-10-18 14:05:38(911)] Load libmediacore.so success!(V6.1 Build Time:Jun 30 2016 08:07:24)
[2016-10-18 14:05:38(913)] MI 3W(Xiaomi) msm8974  6.0.1
[2016-10-18 14:05:38(913)] Invoke SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
[2016-10-18 14:05:38(920)] Apply video parameter:320x240, bitrate:150kbps, quality:3, gop:40, fps:10, preset:3, codec:0
[2016-10-18 14:05:38(920)] Invoke SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2016-10-18 14:05:38(921)] Invoke SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2016-10-18 14:05:38(921)] Invoke SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2016-10-18 14:05:38(921)] Invoke SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
[2016-10-18 14:05:39(865)] Start network engine(IPv4 mode)...
[2016-10-18 14:05:39(880)] Invoke Connect(demo.anychat.cn,8906)=0
[2016-10-18 14:05:39(888)] Invoke Login(username:233)=0
[2016-10-18 14:05:39(893)] Create anychatdnsserver connect:121.199.51.198(8906)
[2016-10-18 14:05:39(986)] On pre-connection result, errorcode:0, anychatcoreserver, 121.199.51.198(8906, tcp:1)
[2016-10-18 14:05:39(997)] CheckClientSocketLink  Connect(ip=121.199.51.198,port=8906)
[2016-10-18 14:05:40(079)] Message OnConnect(bSuccess:1, errorcode=0)
[2016-10-18 14:05:40(364)] Server version: V6.1(Build Time:2016-08-17 11:02:06, Windows server)
[2016-10-18 14:05:40(427)] Message OnLoginSystem(userid=-121866,errorcode=0,username=233), msg deliver worked(0)
[2016-10-18 14:05:40(445)] Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: "/data/app/com.collection.sys-1/lib/arm/libmediautil_v7.so" has unexpected e_machine: 3)
[2016-10-18 14:05:40(463)] Load libmediashow.so failed,video display functions will fail!(dlopen failed: library "libmediashow.so" not found)
[2016-10-18 14:05:40(464)] Server running time: 61 days, 23 hours, 41 minutes, license mode:1
[2016-10-18 14:05:40(467)] Invoke EnterRoom(roomid=8)
[2016-10-18 14:05:40(720)] Connection to streaming media server successfully!(udp delay:127ms)
[2016-10-18 14:05:40(744)] Message OnEnterRoom(roomid=8,errorcode=0,siteindex=1)
[2016-10-18 14:05:40(744)] Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2016-10-18 14:05:40(745)] Message OnReceiveOnlineUser(count=2,roomid=8)
[2016-10-18 14:05:40(940)] Message OnP2PConnectState(userid=-121865, state=2)
[2016-10-18 14:05:42(660)] On Remote UserCameraControl(dwUserId:-121865, bOpen:1)
[2016-10-18 14:05:42(681)] On Remote UserSpeakControl(dwUserId:-121865, bOpen:1)
[2016-10-18 14:05:43(998)] Invoke UserCameraControl(userid=-121865, bOpen=1, stream=0)
[2016-10-18 14:05:43(998)] Invoke UserSpeakControl(userid=-121865,bOpen=1)
[2016-10-18 14:05:44(002)] Invoke UserCameraControl(userid=-1, bOpen=1, stream=0)
[2016-10-18 14:05:44(002)] Invoke UserSpeakControl(userid=-1,bOpen=1)
[2016-10-18 14:05:44(009)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 14:05:44(015)] Invoke SetInputAudioFormat(1, 16000, 16, flags:0)
[2016-10-18 14:05:44(016)] Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2016-10-18 14:05:44(017)] Audio codec init, handle:-1, 11, 1, 16000, 16, 15850
[2016-10-18 14:05:44(107)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2016-10-18 14:05:44(260)] APPLOG Camera Preview size: 1920 x 1080
[2016-10-18 14:05:44(260)] APPLOG Camera Preview size: 1440 x 1080
[2016-10-18 14:05:44(261)] APPLOG Camera Preview size: 1280 x 720
[2016-10-18 14:05:44(262)] APPLOG Camera Preview size: 960 x 720
[2016-10-18 14:05:44(262)] APPLOG Camera Preview size: 864 x 480
[2016-10-18 14:05:44(263)] APPLOG Camera Preview size: 800 x 480
[2016-10-18 14:05:44(263)] APPLOG Camera Preview size: 768 x 432
[2016-10-18 14:05:44(264)] APPLOG Camera Preview size: 720 x 480
[2016-10-18 14:05:44(265)] APPLOG Camera Preview size: 640 x 480
[2016-10-18 14:05:44(265)] APPLOG Camera Preview size: 576 x 432
[2016-10-18 14:05:44(266)] APPLOG Camera Preview size: 480 x 320
[2016-10-18 14:05:44(266)] APPLOG Camera Preview size: 384 x 288
[2016-10-18 14:05:44(268)] APPLOG Camera Preview size: 352 x 288
[2016-10-18 14:05:44(268)] APPLOG Camera Preview size: 320 x 240
[2016-10-18 14:05:44(269)] APPLOG Camera FrameRate: 7500 , 30000
[2016-10-18 14:05:44(270)] APPLOG Camera FrameRate: 8000 , 30000
[2016-10-18 14:05:44(270)] APPLOG Camera FrameRate: 30000 , 30000
[2016-10-18 14:05:44(370)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-10-18 14:05:44(371)] Invoke SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2016-10-18 14:05:44(371)] video init finish:320x240, NV21, fps:30, codecid:1
[2016-10-18 14:05:57(215)] Invoke UserCameraControl(userid=-121865, bOpen=0, stream=0)
[2016-10-18 14:05:57(217)] Invoke UserSpeakControl(userid=-121865,bOpen=0)
[2016-10-18 14:05:57(219)] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-10-18 14:05:57(220)] Invoke UserSpeakControl(userid=-1,bOpen=0)
[2016-10-18 14:05:57(240)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 14:05:57(280)] Invoke UserCameraControl(userid=-121865, bOpen=0, stream=0)
[2016-10-18 14:05:57(281)] Invoke UserSpeakControl(userid=-121865,bOpen=0)
[2016-10-18 14:05:57(282)] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-10-18 14:05:57(283)] Invoke UserSpeakControl(userid=-1,bOpen=0)
[2016-10-18 14:05:57(360)] Invoke SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 14:05:59(297)] Invoke LeaveRoom(roomid=-1) Elapse:100 ms
[2016-10-18 14:05:59(306)] Invoke LogoutServer(userid=-121866) Elapse:8 ms
[2016-10-18 14:05:59(399)] Invoke BRAC_Release Elapse:92 ms


作者: 佰锐科技-梁国桦    时间: 2016-10-18 14:40
完颜康 发表于 2016-10-18 14:11
可以 但是我也是直接用你们的anychat 代码

这个是小米手机 但是我的魅族手机就是正常的

试一下把armeabi里面库文件放到armeabi-v7a里面看看是否可以
作者: 完颜康    时间: 2016-10-18 14:48
佰锐科技-梁国桦 发表于 2016-10-18 13:45
那这个三星平板直接用我们的Demo呢?能不能正常显示视频?

是不是 os文件路径出问题了

作者: 完颜康    时间: 2016-10-18 15:08
佰锐科技-梁国桦 发表于 2016-10-18 14:40
试一下把armeabi里面库文件放到armeabi-v7a里面看看是否可以


放了 还是这个问题

[2016-10-18 15:06:10(646)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-10-18 15:06:10(647)]        Load libanychatcore.so success!(V6.1 Build Time:Jun 30 2016 08:05:22)
[2016-10-18 15:06:10(648)]        Android OS SDK Version:21, Support ARMv7:2, Support Neon:4
[2016-10-18 15:06:10(665)]        Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: "libmediautil_v7.so" has unexpected e_machine: 3)
[2016-10-18 15:06:10(674)]        Load libmediashow.so failed,video display functions will fail!(dlopen failed: "libmediashow.so" has unexpected e_machine: 3)
[2016-10-18 15:06:10(682)]        Load libmediacore.so success!(V6.1 Build Time:Jun 30 2016 08:07:24)
[2016-10-18 15:06:10(685)]        cpuualcomm Technologies, Inc MSM8916(s, Inc MSM8916) 38.40 mips
[2016-10-18 15:06:10(685)]        SM-T355C(samsung) msm8916 MSM8916 5.0.2
[2016-10-18 15:06:10(686)]        Invoke        SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
[2016-10-18 15:06:10(696)]        Apply video parameter:320x240, bitrate:150kbps, quality:3, gop:40, fps:10, preset:3, codec:0
[2016-10-18 15:06:10(696)]        Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
[2016-10-18 15:06:10(696)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2016-10-18 15:06:10(696)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_USEHWCODEC=0)
[2016-10-18 15:06:10(696)]        Invoke        SetSDKOption(BRAC_SO_LOCALVIDEO_AUTOROTATION=1)
[2016-10-18 15:06:14(236)]        Start network engine(IPv4 mode)...
[2016-10-18 15:06:14(237)]        Invoke        Connect(demo.anychat.cn,8906)=0
[2016-10-18 15:06:14(238)]        Invoke        Login(username:Android01)=0
[2016-10-18 15:06:14(297)]        Create anychatdnsserver connect:121.199.51.198(8906)
[2016-10-18 15:06:14(369)]        On pre-connection result, errorcode:0, anychatcoreserver, 121.199.51.198(8906, tcp:1)
[2016-10-18 15:06:14(401)]        CheckClientSocketLink         Connect(ip=121.199.51.198,port=8906)
[2016-10-18 15:06:14(505)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2016-10-18 15:06:14(800)]        Server version: V6.1(Build Time:2016-08-17 11:02:06, Windows server)
[2016-10-18 15:06:14(851)]        Message        OnLoginSystem(userid=-122053,errorcode=0,username=Android01), msg deliver worked(0)
[2016-10-18 15:06:14(872)]        Load libmediautil_v7.so failed,multimedia functions will fail!(dlopen failed: "libmediautil_v7.so" has unexpected e_machine: 3)
[2016-10-18 15:06:14(886)]        Load libmediashow.so failed,video display functions will fail!(dlopen failed: "libmediashow.so" has unexpected e_machine: 3)
[2016-10-18 15:06:14(887)]        Server running time: 62 days, 0 hours, 41 minutes, license mode:1
[2016-10-18 15:06:14(915)]        Invoke        EnterRoom(roomid=8)
[2016-10-18 15:06:15(225)]        Connection to streaming media server successfully!(udp delay:169ms)
[2016-10-18 15:06:15(238)]        Message        OnEnterRoom(roomid=8,errorcode=0,siteindex=0)
[2016-10-18 15:06:15(239)]        Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2016-10-18 15:06:15(240)]        Message        OnReceiveOnlineUser(count=1,roomid=8)
[2016-10-18 15:06:18(128)]        Message        OnUserEnterRoom(userid=-122054,nickname=Android01,siteindex=1)
[2016-10-18 15:06:20(011)]        On Remote UserCameraControl(dwUserId:-122054, bOpen:1)
[2016-10-18 15:06:20(012)]        On Remote UserSpeakControl(dwUserId:-122054, bOpen:1)
[2016-10-18 15:06:25(170)]        Invoke        UserCameraControl(userid=-122054, bOpen=1, stream=0)
[2016-10-18 15:06:25(170)]        Invoke        UserSpeakControl(userid=-122054,bOpen=1)
[2016-10-18 15:06:25(174)]        Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
[2016-10-18 15:06:25(174)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2016-10-18 15:06:25(581)]        APPLOG        Camera Preview size: 800 x 600
[2016-10-18 15:06:25(582)]        APPLOG        Camera Preview size: 640 x 480
[2016-10-18 15:06:25(582)]        APPLOG        Camera Preview size: 320 x 240
[2016-10-18 15:06:25(583)]        APPLOG        Camera FrameRate: 10000 , 30000
[2016-10-18 15:06:25(752)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-10-18 15:06:25(752)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2016-10-18 15:06:25(753)]        video init finish:320x240, NV21, fps:30, codecid:1
[2016-10-18 15:06:25(760)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-10-18 15:06:25(766)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2016-10-18 15:06:25(767)]        video init finish:320x240, NV21, fps:30, codecid:1
[2016-10-18 15:06:25(776)]        Invoke        SetInputAudioFormat(1, 16000, 16, flags:0)
[2016-10-18 15:06:25(777)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2016-10-18 15:06:25(777)]        Audio codec init, handle:-1, 11, 1, 16000, 16, 15850
[2016-10-18 15:06:25(865)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2016-10-18 15:06:25(894)]        Convert YUV420P Failed!
[2016-10-18 15:06:42(024)]        Invoke        UserCameraControl(userid=-122054, bOpen=0, stream=0)
[2016-10-18 15:06:42(026)]        Invoke        UserSpeakControl(userid=-122054,bOpen=0)
[2016-10-18 15:06:42(029)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-10-18 15:06:42(029)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2016-10-18 15:06:42(060)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 15:06:42(067)]        Invoke        UserCameraControl(userid=-122054, bOpen=0, stream=0)
[2016-10-18 15:06:42(068)]        Invoke        UserSpeakControl(userid=-122054,bOpen=0)
[2016-10-18 15:06:42(068)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-10-18 15:06:42(068)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2016-10-18 15:06:42(083)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 15:06:45(716)]        On Remote UserCameraControl(dwUserId:-122054, bOpen:0)
[2016-10-18 15:06:45(717)]        On Remote UserSpeakControl(dwUserId:-122054, bOpen:0)
[2016-10-18 15:06:47(701)]        Invoke        UserCameraControl(userid=-122054, bOpen=1, stream=0)
[2016-10-18 15:06:47(701)]        Invoke        UserSpeakControl(userid=-122054,bOpen=1)
[2016-10-18 15:06:47(706)]        Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
[2016-10-18 15:06:47(706)]        Invoke        UserSpeakControl(userid=-1,bOpen=1)
[2016-10-18 15:06:48(107)]        APPLOG        Camera Preview size: 800 x 600
[2016-10-18 15:06:48(108)]        APPLOG        Camera Preview size: 640 x 480
[2016-10-18 15:06:48(109)]        APPLOG        Camera Preview size: 320 x 240
[2016-10-18 15:06:48(109)]        APPLOG        Camera FrameRate: 10000 , 30000
[2016-10-18 15:06:48(282)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-10-18 15:06:48(282)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2016-10-18 15:06:48(283)]        video init finish:320x240, NV21, fps:30, codecid:1
[2016-10-18 15:06:48(292)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=1)
[2016-10-18 15:06:48(295)]        Invoke        SetInputVideoFormat(pixfmt:8, 320x240, 30fps, flags:0)
[2016-10-18 15:06:48(295)]        video init finish:320x240, NV21, fps:30, codecid:1
[2016-10-18 15:06:48(305)]        Invoke        SetInputAudioFormat(1, 16000, 16, flags:0)
[2016-10-18 15:06:48(305)]        Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2016-10-18 15:06:48(305)]        Audio codec init, handle:-1, 11, 1, 16000, 16, 15850
[2016-10-18 15:06:49(997)]        On Remote UserCameraControl(dwUserId:-122054, bOpen:1)
[2016-10-18 15:06:50(212)]        On Remote UserSpeakControl(dwUserId:-122054, bOpen:1)
[2016-10-18 15:06:54(440)]        Invoke        UserCameraControl(userid=-122054, bOpen=0, stream=0)
[2016-10-18 15:06:54(441)]        Invoke        UserSpeakControl(userid=-122054,bOpen=0)
[2016-10-18 15:06:54(443)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-10-18 15:06:54(444)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2016-10-18 15:06:54(464)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 15:06:54(478)]        Invoke        UserCameraControl(userid=-122054, bOpen=0, stream=0)
[2016-10-18 15:06:54(478)]        Invoke        UserSpeakControl(userid=-122054,bOpen=0)
[2016-10-18 15:06:54(479)]        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
[2016-10-18 15:06:54(479)]        Invoke        UserSpeakControl(userid=-1,bOpen=0)
[2016-10-18 15:06:54(489)]        Invoke        SetSDKOption(BRAC_SO_CORESDK_EXTVIDEOINPUT=0)
[2016-10-18 15:07:00(146)]        On Remote UserCameraControl(dwUserId:-122054, bOpen:0)
[2016-10-18 15:07:00(197)]        On Remote UserSpeakControl(dwUserId:-122054, bOpen:0)

作者: 佰锐科技-梁国桦    时间: 2016-10-18 15:19
完颜康 发表于 2016-10-18 15:08
放了 还是这个问题

[2016-10-18 15:06:10(646)]        ---------------------------AnyChat Platform Core ...

能发一下IDE控制台报什么错吗?
作者: 完颜康    时间: 2016-10-18 15:40
佰锐科技-梁国桦 发表于 2016-10-18 15:19
能发一下IDE控制台报什么错吗?

刚开始是有报错是缺少os文件和Load xxxxx.so failed,multimedia functions will fail!(dlopen failed: xxxxx.so" has unexpected    我添加了os文件之后 eclipse就不在报错了




欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/) Powered by Discuz! X3