Ограничение скорости загрузки на устройствах/en: различия между версиями

Материал из SmartPlayer
Новая страница: «Speed limit for loading on devices»
 
Нет описания правки
 
(не показаны 2 промежуточные версии 2 участников)
Строка 1: Строка 1:
<div lang="ru" dir="ltr" class="mw-content-ltr">
<languages/>
== '''Описание ситуации''' ==
== '''Description of the Situation''' ==
Команда разработки SmartPlayer реализовала возможность установить ограничение скорости при загрузке контента, которое может выставить сам пользователь. На данный момент решение работает на операционных системах:
The SmartPlayer development team has implemented a feature that allows users to set a download speed limit for content. This limit can be configured by the user. Currently, the feature is supported on the following operating systems:
* Android  
* Android  
* Windows
* Windows
* Linux
* Linux
== '''Описание ситуации''' ==
== '''Server-Side Logic''' ==
Для начала пользователю необходимо авторизоваться/зарегистрироваться в личном кабинете SmartPlayer.<br>
In the current implementation, the device downloads content directly from the S3 storage, bypassing the server for content requests. The server and web interface are only responsible for saving and displaying the parameters in the personal account.<br>
Следующим шагом пользователю необходимо перейти в раздел «Устройства» и выбрать нужное устройство.
The server responds to device requests by sending data to the client application based on the device parameters set in the personal account. When the device receives a data packet containing the speed limit parameter, it applies this limit and starts throttling the download speed based on the value set by the user in the SmartPlayer personal account (in device settings).<br>
[[File:Устройства лк.png|thumb|center| Пример отображения раздела "Устройства" личного кабинета|800px]]  
The server also sends this information back to the personal account, so the user always sees the current download speed setting applied on the device.
{{Note|Также пользователь может добавить новое устройство и производит его настройку. С функциональностью добавления устройства можно ознакомиться по [https://wiki.smartplayer.org/index.php/%D0%A0%D0%B0%D0%B7%D0%B4%D0%B5%D0%BB_%22%D0%A3%D1%81%D1%82%D1%80%D0%BE%D0%B9%D1%81%D1%82%D0%B2%D0%B0%22#%D0%9F%D1%83%D0%BD%D0%BA%D1%82_%22%D0%94%D0%BE%D0%B1%D0%B0%D0%B2%D0%B8%D1%82%D1%8C_%D1%83%D1%81%D1%82%D1%80%D0%BE%D0%B9%D1%81%D1%82%D0%B2%D0%BE%22 ссылке].|warn}}
== '''Step-by-Step Instructions''' ==
Завершив настройки устройства, пользователь должен найти и выбрать нужное устройство в разделе «Устройства», с которым он продолжит работу. Для продолжения взаимодействия с устройством пользователь должен выбрать его с помощью галочки в правом верхнем углу иконки устройства.
First, the user must log in or register in the SmartPlayer personal account.<br>
[[File:Выбранное_устрйосто.png|thumb|center| Пример отображения выбора устройства |800px]]
Next, the user should go to the “Devices” section and select the required device.
После выбора устройства пользователю необходимо перейти в правый тулбар и выбрать строку «Настройки».
[[File:Устройства лк.png|thumb|center| Example of the “Devices” section in the personal account|800px]]  
[[File:Настройки_тулбара.png|thumb|center| Пример отображения тулбара со строкой "Настройки" у устройства |800px]]
{{Note|The user can also add a new device and configure it. Learn more about adding a device at [https://wiki.smartplayer.org/index.php/%D0%A0%D0%B0%D0%B7%D0%B4%D0%B5%D0%BB_%22%D0%A3%D1%81%D1%82%D1%80%D0%BE%D0%B9%D1%81%D1%82%D0%B2%D0%B0%22#%D0%9F%D1%83%D0%BD%D0%BA%D1%82_%22%D0%94%D0%BE%D0%B1%D0%B0%D0%B2%D0%B8%D1%82%D1%8C_%D1%83%D1%81%D1%82%D1%80%D0%BE%D0%B9%D1%81%D1%82%D0%B2%D0%BE%22 this link].|warn}}
Строка «Настройки» откроет новую страницу, в которой будут расположены категории для настройки. Пользователю необходимо найти категорию «Контент».
After completing the device setup, the user should find and select the target device from the “Devices” section. To proceed, the user must select the device by checking the box in the top-right corner of the device icon.
[[File:Контент_ограничения.png|thumb|center| Пример отображения раздела настроек устройства "Контент"|800px]]
[[File:Выбранное_устрйосто.png|thumb|center| Example of selecting a device |800px]]
В категории «Контент» пользователь должен переключить чекбокс (галочку) с «Выключить» на «Включить» в строке "Ограничения скорости на закачку". По умолчанию всегда будет установлен чекбокс «Выключить».
Once selected, the user must go to the right toolbar and click on “Settings”.
[[File:Чекбокс_по_умолчанию.png|thumb|center| Пример отображения строки "Ограничения скорости на закачку"|800px]]
[[File:Настройки_тулбара.png|thumb|center| Example of the device toolbar with the “Settings” option |800px]]
После активации с помощью чекбокса станет доступна строка ввода, в которой пользователь должен указать числовое значение ограничения скорости. По умолчанию минимальное значение 64. Данные, указанные в строке, измеряются в Кбит/с.
The “Settings” section will open a new page with configuration categories. The user needs to find the “Content” category.
[[File:Значение_скорости.png|thumb|center| Пример отображения прописанного ограничения скорости|800px]]
[[File:Контент_ограничения.png|thumb|center| Example of the “Content” settings category for the device|800px]]
После того, как пользователь указал значение ему необходимо перейти к нижней части экрана и нажать на кнопку «Сохранить изменения», чтобы применить данную настройку.
In the “Content” category, the user must toggle the checkbox from “Disabled” to “Enabled” in the “Download Speed Limit” line. By default, the checkbox is set to “Disabled”.
[[File:Сохранить_параметр.png|thumb|center| Пример отображения кнопки "Сохранить изменения" |800px]]
[[File:Чекбокс_по_умолчанию.png|thumb|center| Example of the “Download Speed Limit” setting |800px]]
Таким образом пользователь может ограничить загрузку контента на устройстве.
Once enabled, an input field will appear where the user must enter a numeric value for the speed limit. The default minimum value is 64. The value is measured in Kbps.
== '''Видеоинструкция''' ==
[[File:Значение_скорости.png|thumb|center| Example of a defined speed limit value|800px]]
[https://vk.com/video-227547238_456239056 Ограничение скорости загрузки на устройствах]
After entering the value, the user must scroll down and click the “Save Changes” button to apply the setting.
== '''Дополнительная информация''' ==
[[File:Сохранить_параметр.png|thumb|center| Example of the “Save Changes” button |800px]]
Если данная статья не помогает использовать функционал по назначению или после ее прочтения остаются вопросы можно озвучить данные вопросы в разделе "Обсуждения" вверху страницы.
This is how the user can limit the content download speed on a device.
[[File:Обсуждение_ограничения_устройства.png|thumb|center| Пример отображения вкладки "Обсуждения" на wiki-странице |800px]]
== '''Video Tutorial''' ==
Также дополнительную информацию можно узнать на странице [[Как взаимодействовать пользователю с разделом "Обсуждения"]]
[https://vk.com/video-227547238_456239056 Setting Download Speed Limits on Devices]
</div>
== '''Additional Information''' ==
If this article does not help you use the feature as intended or if questions remain after reading it, you can post your questions in the “Discussions” section at the top of the page.
[[File:Обсуждение_ограничения_устройства.png|thumb|center| Example of the “Discussions” tab on the wiki page |800px]]
Additional information is also available on the page [[Как взаимодействовать пользователю с разделом "Обсуждения"]]

Текущая версия от 22:57, 18 ноября 2025

Description of the Situation

The SmartPlayer development team has implemented a feature that allows users to set a download speed limit for content. This limit can be configured by the user. Currently, the feature is supported on the following operating systems:

  • Android
  • Windows
  • Linux

Server-Side Logic

In the current implementation, the device downloads content directly from the S3 storage, bypassing the server for content requests. The server and web interface are only responsible for saving and displaying the parameters in the personal account.
The server responds to device requests by sending data to the client application based on the device parameters set in the personal account. When the device receives a data packet containing the speed limit parameter, it applies this limit and starts throttling the download speed based on the value set by the user in the SmartPlayer personal account (in device settings).
The server also sends this information back to the personal account, so the user always sees the current download speed setting applied on the device.

Step-by-Step Instructions

First, the user must log in or register in the SmartPlayer personal account.
Next, the user should go to the “Devices” section and select the required device.

Example of the “Devices” section in the personal account
The user can also add a new device and configure it. Learn more about adding a device at this link.

After completing the device setup, the user should find and select the target device from the “Devices” section. To proceed, the user must select the device by checking the box in the top-right corner of the device icon.

Example of selecting a device

Once selected, the user must go to the right toolbar and click on “Settings”.

Example of the device toolbar with the “Settings” option

The “Settings” section will open a new page with configuration categories. The user needs to find the “Content” category.

Example of the “Content” settings category for the device

In the “Content” category, the user must toggle the checkbox from “Disabled” to “Enabled” in the “Download Speed Limit” line. By default, the checkbox is set to “Disabled”.

Example of the “Download Speed Limit” setting

Once enabled, an input field will appear where the user must enter a numeric value for the speed limit. The default minimum value is 64. The value is measured in Kbps.

Example of a defined speed limit value

After entering the value, the user must scroll down and click the “Save Changes” button to apply the setting.

Example of the “Save Changes” button

This is how the user can limit the content download speed on a device.

Video Tutorial

Setting Download Speed Limits on Devices

Additional Information

If this article does not help you use the feature as intended or if questions remain after reading it, you can post your questions in the “Discussions” section at the top of the page.

Example of the “Discussions” tab on the wiki page

Additional information is also available on the page Как взаимодействовать пользователю с разделом "Обсуждения"