设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz

程序无法音频和视频 求解决

查看数: 11951 | 评论数: 18 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 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 ...

回复

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

刚开始是有报错是缺少os文件和Load xxxxx.so failed,multimedia functions will fail!(dlopen failed: xxxxx.so" has unexpected    我添加了os文件之后 eclipse就不在报错了
佰锐科技-梁国桦 发表于 2016-10-18 15:19:10
完颜康 发表于 2016-10-18 15:08
放了 还是这个问题

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

能发一下IDE控制台报什么错吗?
完颜康 发表于 2016-10-18 15:08:42
佰锐科技-梁国桦 发表于 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 14:48:03
佰锐科技-梁国桦 发表于 2016-10-18 13:45
那这个三星平板直接用我们的Demo呢?能不能正常显示视频?

是不是 os文件路径出问题了
佰锐科技-梁国桦 发表于 2016-10-18 14:40:40
完颜康 发表于 2016-10-18 14:11
可以 但是我也是直接用你们的anychat 代码

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

试一下把armeabi里面库文件放到armeabi-v7a里面看看是否可以
完颜康 发表于 2016-10-18 14:11:55
本帖最后由 完颜康 于 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 13:45:47
完颜康 发表于 2016-10-18 13:24
不同手机上 这个包它就加载不了 有没有兼容包之类的 三星平板 就是加载不起来

那这个三星平板直接用我们的Demo呢?能不能正常显示视频?
完颜康 发表于 2016-10-18 13:24: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 12:00:05

不同手机上 这个包它就加载不了 有没有兼容包之类的 三星平板 就是加载不起来

Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )  

GMT+8, 2024-11-22 23:28 , Processed in 0.128397 second(s), 24 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表