Closed birdmichael closed 10 months ago
// ffmpeg only cache http public var cache = false
可以把这个改成true
我试过 但是没有缓存上呢? 还有是只能cache http?
只支持缓存http。这个是ffmpeg提供的能力。
那我理解的这个其实更像预加载?
就是下次播放同一个url的话,可以用缓存。需要有播放过了。才有缓存。跟预加载还不一样。
我改成http直接崩溃了 地址: http://miobox-dev-1318984022.cos.ap-nanjing.myqcloud.com/scene/%E4%B8%8B%E9%9B%A8%E6%A0%91%E6%9E%97/video.mp4
这个崩溃好奇怪。我本地也是可以复现出来。
// ffmpeg only cache http public var cache = false
可以把这个改成true