kingslay / KSPlayer

A video player for iOS、macOS、tvOS、visionOS , based on AVPlayer and FFmpeg, support the horizontal, vertical screen. support adjust volume, brightness and seek by slide, support subtitles.
GNU General Public License v3.0
868 stars 182 forks source link

Can the caching function be added? #783

Open 1085481057 opened 1 month ago

1085481057 commented 1 month ago

At present, it is easy to freeze when the playback resources are increased, and server functions cannot be added. In this way, the network can run at full bandwidth

目前,当播放资源增加时,很容易冻结,并且无法添加服务器功能。通过这种方式,网络可以在全带宽下运行

kingslay commented 1 month ago

你是想要怎么样的cash能力呢?可以把场景描述清楚点吗?

1085481057 commented 1 month ago

你是想要怎么样的cash能力呢?把场景描述清楚点吗?

播放高码率电影带宽不足以带动会造成需要加载的情况,所以需要播放时提前缓存高码率电影,这样边播放边缓存体验更佳。

kingslay commented 1 month ago

目前是可以预加载的。预加载的时长是30s。可以调大一点。但是带宽不够,预加载的数据总会用完的,最终还是会卡顿,用户还是需要等等待。没有很好的方案。

1085481057 commented 1 month ago

目前是可以预加载的。预加载的时长是30s。可以调大一点。但是带宽不够,预加载的数据总会用完的,最终还是会卡顿,用户还是需要等等待。没有很好的方案。

希望开发者多努力了,目前加载还是有点不是那么好用。

kingslay commented 1 month ago

目前的加载是有什么问题呢?