video-dev / hls.js

HLS.js is a JavaScript library that plays HLS in browsers with support for MSE.
https://hlsjs.video-dev.org/demo
Other
14.88k stars 2.58k forks source link

hls.js #6820

Open legosoff opened 6 days ago

legosoff commented 6 days ago

What do you want to do with Hls.js?

translate.yandex Hello, Robwalch. You have hjs.js, when there are few customers online, UHD 4K has about 80 users, hls.js does not slow down, but when large users are 145 and it has already become slow. I turned on everyone through native MSE, 145 users don't have brakes yet, even more than 224 people, there was once, but they don't slow down, and turned them back on for everyone through hls.js is slowing down again. I have an nginx server, NVMe and a network with a speed of 100 Gbit/s, there is nothing load. Why hls.js when there are few people, everything is fine, and when a lot of people are slowing down?

translate.google Hello, Robwalch. You have hjs.js, when there are few clients online UHD 4K about 80 users, hls.js does not slow down, but when there are large users 145 and it has already started to slow down. I turned on everyone through the native MSE, 145 users so far no slowdown, even more than 224 people, it happened once, but they do not slow down, and turned it back on for everyone through hls.js again slow down. I have an nginx server, NVMe and a network with a speed of 100 Gbit / s, the load is nothing. Why is hls.js when there are few people everything is fine, but when there are a lot of people and it has started to slow down?

robwalch commented 6 days ago

This sounds like a limitation of your server, not the client (“slow down” how?). Use a CDN to scale delivery.

legosoff commented 5 days ago

I think hls has it.js has a problem when a lot of people use and interfere with webOS, because something is slowing down, there is a limitation of hls.js, but the fact is, the iPhone does not slow down, and webOS slows down every second, turned on natives MSE now does not slow down, I watched the movie until the end. Not only I have one, but all webOS clients also complained about the same problem. The server director probably said hls.js is a problem, and our developers have approved it too hls.js .

legosoff commented 5 days ago

Yesterday I was offering clients with the nativnehls checkmark for webOS. https://radikal.host/i/lkzOme Customers with the words (super), no brakes.

robwalch commented 5 days ago

Please fill out the Bug Report Template as part of your issue, making sure to include:

If the issue is related to your stream, and you cannot share the stream, please include all the information we would need to reproduce the issue. This includes how to generate a stream that reproduces the issue.

legosoff commented 4 days ago

Русский язык: Я заполнил отчёт об ошибке и отправило, а потом не сколько минут его нет. Ладно не важно, пока нормально оставим эту, через nativnehls, вчера пользователи всего 181 все ок, нет тормоза. Мой сайт в плеере с nativnehls сравнить ваш сайт https://hlsjs.video-dev.org/demo/ и у вас тормоз было.

translate.yandex.ru: I filled out the error report and it was sent, and then it was gone for a few minutes. Okay, it doesn't matter, we'll leave this one for now, through nativnehls, yesterday there were only 181 users, everything is ok, there is no brake. My site in the player with nativnehls compare your site https://hlsjs.video-dev.org/demo/ and you had a brake.

robwalch commented 4 days ago

The issue was deleted because it linked to copyrighted content.

Please describe the issue in more detail; How did it break? Including logs from a session would help. So far you've only described increased traffic to your server. Instead, try describing how playback failed. Did it stall when instead you expected it to switch down to a lower bitrate? Do the logs show requests timing out?

legosoff commented 4 days ago

Delete

legosoff commented 4 days ago

Again, when I have few clients, 5 to 80 hls is fine. But when there are more than 100, webOS starts to slow down.

robwalch commented 4 days ago

Sharing links to assets containing copyrighted content is considered inappropriate and must be removed. Repeat violations will result in the posts being reported and the user blocked. Please abide by the code of conduct when posting issues and comments https://github.com/video-dev/hls.js/blob/master/CODE_OF_CONDUCT.md

robwalch commented 4 days ago

when there are more than 100, webOS starts to slow down.

Slows down how? That could mean anything from the point of view of a client application. What do users see? Are frames dropped? Is the buffer wheel showing up? What logs are printed in debug mode that correlate with this behavior?

legosoff commented 2 days ago

Hi robwalch. https://github.com/video-dev/hls.js/blob/master/CODE_OF_CONDUCT.md got it, I'm sorry... I'm not a programmer, I'm usually the site owner. Our programmer-developer has left for Singapore, he is busy, as he arrived and will write everything to you.

1) I have a dedicated server 2xE5-2630v3 2.4-3.2ГГц (8 core) / 32GB RAM / NVMe 15.30 TB 3 x RAID / 100 Gbit/s network / Netherlands. Graph there NVMe loads (3-8%), 100 Gbit/s network (4-6 Gbit/s) user 158 was. 2) Your hls.js when users, from 1 to 50, there are no brakes, and when 60-80 users slow down a little for 10-30 minutes, 110-130 users are already thirsty for braking WebOS. 3) Windows, VIDAA, TizenOS, iOS and MacOS users 158 no brake, only one brake WebOS. 4) Nativehls MSE user 158 no brake WebOS.

Hjs.js strange behavior WebOS.

legosoff commented 1 day ago

We decided to make hls.js via Windows, VIDAA, Tizen OS, iOS and Mac OS. Nativehls MSE and also via webOS temporarily.
You have hls.js is really bad at webOS, while we wait for you to fix it and after that we will check webOS for the next version.