-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ios版怎么连续播放呢? #76
Comments
如果是压制参数完全相同的视频,可以用ffmpeg的concat协议。 |
如果不同,那只能关闭后再重新开启一个播放器? |
目前是。 |
那再麻烦请帮我看下我这样回收资源有问题吗?
} |
还差一个 |
这个流程可以正常播放,但是存在一定的出错概率,主要在音频解码上,蹦过两次。还有就是shutdown过程在下一段视频播放后才执行完,导致无声音的异常。 |
按照目前的仿 MPMoviePlayerController 接口的方式,是不保证多实例共存的安全性的。 |
http://pan.baidu.com/s/1mgzEGBI可以看下我的DEMO 崩溃信息没有保存下来 是有一定概率出现崩溃 |
你的调用方式没有什么问题,试试把 IJKFFMoviePlayerController 里的 shutdown 改成下面的代码看看
注意:这样修改可能导致主线程被卡一下。 |
ios版只能每次重新生成一个播放器播放一个新地址,而且可能导致下一个视频在上一个资源回收中造成无声音现象,请问有什么好的解决方法吗
The text was updated successfully, but these errors were encountered: