在我的项目中使用MobileVLCKit 3.0.0播放媒体。MobileVLCKit播放器显示iOS上的黑屏11
在iOS9上成功播放的所有类型的视频& 10但在iOS 11视频音频能够听,但图片不显示并显示黑屏。
,给出以下日志:
2017-09-18 18:26:17.640065+0800 DemoPlayer[39923:369260] creating player instance using shared library
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIView bounds]
PID: 39923, TID: 369593, Thread name: (none), Queue name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4 DemoPlayer 0x0000000108349895 Open + 405
2017-09-18 18:26:23.490963+0800 DemoPlayer[39923:369593] [reports] Main Thread Checker: UI API called on a background thread: -[UIView bounds]
PID: 39923, TID: 369593, Thread name: (none), Queue name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4 DemoPlayer 0x0000000108349895 Open + 405
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIView initWithFrame:]
PID: 39923, TID: 369593, Thread name: (none), Queue name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4 DemoPlayer 0x0000000108349f3b -[VLCOpenGLES2VideoView initWithFrame:zeroCopy:voutDisplay:] + 91
2017-09-18 18:26:23.875359+0800 DemoPlayer[39923:369593] [reports] Main Thread Checker: UI API called on a background thread: -[UIView initWithFrame:]
PID: 39923, TID: 369593, Thread name: (none), Queue name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4 DemoPlayer 0x0000000108349f3b -[VLCOpenGLES2VideoView initWithFrame:zeroCopy:voutDisplay:] + 91
2017-09-18 18:26:23.959355+0800 DemoPlayer[39923:369593] CoreAnimation: [EAGLContext renderbufferStorage:fromDrawable:] was called from a non-main thread in an implicit transaction! Note that this may be unsafe without an explicit CATransaction or a call to [CATransaction flush].
shader program 1: WARNING: Output of vertex shader 'TexCoord1' not read by fragment shader
WARNING: Output of vertex shader 'TexCoord2' not read by fragment shader
在此先感谢。
嗨Feepk,我想安装提到的吊舱,但无法安装。尝试使用Pod'MobileVLCKit-unstable''3.0.0a38',pod尝试MobileVLCKit-unstable。能否请你帮忙?谢谢 –
也创建了新项目,只是尝试使用这些命令a)pod尝试'MobileVLCKit-unstable''3.0.0a38'b)pod尝试'MobileVLCKit-unstable' 输出: 更新规范库 。 。 尝试MobileVLCKit-unstable [!]/usr/bin/curl -f -L -o /private/var/folders/p3/jzgk4rcj1s15r_w9d2j9cqn40000gn/T/CocoaPods/Try/MobileVLCKit-unstable/file.zip https:// download .videolan.org/pub/cocoapods/unstable/MobileVLCKit-unstable-3.0.0a38-4d3db120.zip --create-dirs --netrc-optional –