简体   繁体   English

许多视频播放器(Hls.js)-如何提高性能

[英]Many video players(Hls.js) - how to improve performance

I have a dashboard on which I run at least 5 videos at the same time using HLS (Hls.js).我有一个仪表板,我在上面使用 HLS (Hls.js) 同时运行至少 5 个视频。 The problem is that the utilization of resources is very high, so the performance of the site is not the best(~50% CPU).问题是资源利用率很高,所以网站的性能不是最好的(~50% CPU)。 Is there a way to optimize this ?有没有办法优化这个?

Switch to fMP4, it is mandatory for decreasing CPU usage with hlsjs.切换到 fMP4,使用 hlsjs 降低 CPU 使用率是强制性的。

We are using it in our flussonic for client-side mosaic and can put up to 16 players on single page.我们在我们的flussonic 中将它用于客户端马赛克,并且可以在单个页面上放置多达 16 个播放器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM