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.94k stars 2.59k forks source link

hls.js WebOS brake #6820

Open legosoff opened 3 weeks ago

legosoff commented 3 weeks 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 3 weeks ago

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

legosoff commented 3 weeks 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 3 weeks 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 3 weeks 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 2 weeks 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 2 weeks 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 2 weeks ago

Delete

legosoff commented 2 weeks 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 2 weeks 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 2 weeks 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 weeks 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 2 weeks 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.

legosoff commented 2 weeks ago

I noticed the fact that starting in 2018 and below, it doesn't slow down, and starting in 2019 and above, it slows down.

robwalch commented 1 week ago

I noticed the fact that starting in 2018 and below, it doesn't slow down, and starting in 2019 and above, it slows down.

And does that mean that versions v0.x do not display the "slows down" behavior, while `v1.x" does?

Please ask your developer to describe the behavior in detail. If the traffic impacts network response times, and that impacts HLS.js behavior on WebOS, please provide examples and logs from one of these sessions.

legosoff commented 1 week ago

webOS does not slow down from 2018 to 2016, and when from 2019 to 2024 it already slows down.

I'll try to install a version from the old hls.js. I'll write to you.

legosoff commented 1 week ago

When people are few, 1-50 users are fine, there is slowing down no. Users of 80 are slightly slowed down by 20%. Users 100 slows down 40%. User 150 slows down 100%. I only have one webOS from 2019 to 2024.

Windows, iOS , VIDAA и TizenOS user 150 is slowing down no.

legosoff commented 1 week ago

Please can you take screenshots of the picture show me (give examples and logs from one of these sessions).

legosoff commented 5 days ago

Version 0.14.17 and 1.0.2 still slows down webOS. I do not know what is the matter hls.js. Native MSE there hasn't been a single brake for 12 days. HLS.JS they slow down every day.