5***@qq.com
5***@qq.com
  • 发布:2017-12-14 10:25
  • 更新:2020-11-23 11:19
  • 阅读:5307

集成ijkplayer的问题

分类:HBuilder

详细问题描述
[用原生集成ijkplayer成功,能正常播放视频,但是采用离线打包,开发插件用js调用原生播放器的方式就不能播放视频],工程启动时有如下打印信息:Class MPRequest is implemented in both /System/Library/Frameworks/MediaPlayer.framework/MediaPlayer (0x1b4519708) and /var/containers/Bundle/Application/71802298-C0FE-46C1-92A6-451E857D0F76/HBuilder.app/HBuilder (0x10156a528). One of the two will be used. Which one is undefined.不知是否是MPRequest冲突的原因!

另外ijkplayer播放时的打印信息如下:
av_version_info: ff3.3--ijk0.8.0--20170829--001
ijk_version_info:
ijkmp_set_inject_opaque(0x13dbae9a0)
ijkmp_set_inject_opaque()=void
ijkmp_set_ijkio_inject_opaque(0x13dbae9a0)
ijkmp_set_ijkio_inject_opaque()=void
2017-12-13 17:26:51.289101+0800 HBuilder[2030:170657] OK setup GL
ijkmp_ios_set_view(glView=0x13dbbbba0)
ijkmp_ios_set_view(glView=0x13dbbbba0)=void
2017-12-13 17:26:51.370316+0800 HBuilder[2030:170657] invalidateRenderBuffer
2017-12-13 17:26:51.372964+0800 HBuilder[2030:170893] IJKSDLGLView: setupDisplay not ready
ijkmp_set_data_source(url="/rtmp:/live.hkstv.hk.lxdns.com/live/hks")
ijkmp_set_data_source(url="/rtmp:/live.hkstv.hk.lxdns.com/live/hks")=0
ijkmp_prepare_async()
ijkmp_prepare_async()=0
2017-12-13 17:26:51.413720+0800 HBuilder[2030:170657] invalidateRenderBuffer
2017-12-13 17:26:51.413907+0800 HBuilder[2030:170844] IJKSDLGLView: setupDisplay not ready
2017-12-13 17:26:51.476303+0800 HBuilder[2030:170657] invalidateRenderBuffer
2017-12-13 17:26:51.476499+0800 HBuilder[2030:170893] IJKSDLGLView:display: unable to tryLock GL active: 0
2017-12-13 17:26:51.501189+0800 HBuilder[2030:170657] FFP_MSG_ERROR: 0
2017-12-13 17:26:51.502748+0800 HBuilder[2030:170657] IJKMPMoviePlayBackStateDidChange 2: paused
2017-12-13 17:26:51.503322+0800 HBuilder[2030:170657] playbackStateDidChange: IJKMPMovieFinishReasonPlaybackError: 1
2017-12-13 17:26:53.267188+0800 HBuilder[2030:170893] [BoringSSL] Function boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert

有做过ijkplayer集成的同学吗?望解答!

联系方式
[QQ:573518172]

2017-12-14 10:25 负责人:无 分享
已邀请:
z***@qq.com

z***@qq.com

离线打包视频插件 同问

m***@163.com

m***@163.com - 小码农

请问解决了吗,谢谢

  • 5***@qq.com (作者)

    没有用ijkplayer了,用的MobileVLCKit这个可以正常播放

    2019-01-08 11:47

  • m***@163.com

    回复 5***@qq.com:我这边是集成的时候用模拟器运行,然后就报这个错,不知道怎么解决,想问问大佬这个应该怎么搞?跪谢啊

    Class MPRequest is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MediaPlayer.framework/MediaPlayer (0x1118d7328) and /Users/missugo_mac/Library/Developer/CoreSimulator/Devices/0AB81435-98FB-4E8E-B937-7457469B2DD9/data/Containers/Bundle/Application/3163CAC7-581A-4D0C-9727-3391178A4865/HBuilder.app/HBuilder (0x10a04b868).

    2019-01-08 12:20

梦学谷

梦学谷

您好,能分享下您的集成的ijkplayer吗

该问题目前已经被锁定, 无法添加新回复