1、七牛PLPlayerKit
支持pod
https://github.com/pili-engineering/PLPlayerKit
2、ijkplayer
不支持pod,需要打包framework
https://github.com/Bilibili/ijkplayer
(IOS11 只能播放声音不能播放画面的问题:)
https://github.com/Bilibili/ijkplayer/issues/3643
在IJKSDLGLView.m文件中,- (BOOL)setupEAGLContext:(EAGLContext *)context 方法的 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, _renderbuffer); 代码下面添加 [CATransaction flush]; 在- (void)displayInternal: (SDL_VoutOverlay *) overlay 方法中 IJK_GLES2_Renderer_setGravity(_renderer, _rendererGravity, _backingWidth, _backingHeight); 代码下面也添加 [CATransaction flush];