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

Материал из SmartPlayer
Обновление для соответствия новой версии исходной страницы.
Нет описания правки
 
Строка 1: Строка 1:
<languages/>
<languages/>
<div class="mw-translate-fuzzy">
== '''Description of the Situation''' ==
== '''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:
The SmartPlayer development team has implemented the ability to set a speed limit when downloading content, which can be configured by the user. Currently, the solution works on the following operating systems:
* Android  
* Android
* Windows
* Windows
* Linux
* Linux
== '''Server-Side Logic''' ==
== '''Description of the Situation''' ==
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>
First, the user needs to log in or register in the SmartPlayer 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>
Next, the user needs to go to the "Devices" section and select the required device.
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.
[[File:Устройства лк.png|thumb|center| Example of the "Devices" section display in the personal account |800px]]
== '''Step-by-Step Instructions''' ==
{{Note|The user can also add a new device and configure it. You can learn more about the device addition functionality via [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}}
First, the user must log in or register in the SmartPlayer personal account.<br>
After configuring the device, the user needs to find and select the required device in the "Devices" section to continue working with it.
Next, the user should go to the “Devices” section and select the required device.
To proceed with the interaction, the user must select it by checking the box in the upper right corner of the device icon.
[[File:Устройства лк.png|thumb|center| Example of the “Devices” section in the personal account|800px]]  
[[File:Выбранное_устрйосто.png|thumb|center| Example of device selection display |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 selecting the device, the user needs to go to the right toolbar and select the "Settings" option.
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| Example of the toolbar display with the "Settings" option for the device |800px]]
[[File:Выбранное_устрйосто.png|thumb|center| Example of selecting a device |800px]]
The "Settings" option will open a new page where configuration categories are available. The user needs to find the "Content" category.
Once selected, the user must go to the right toolbar and click on “Settings”.
[[File:Контент_ограничения.png|thumb|center| Example of the "Content" device settings section display |800px]]
[[File:Настройки_тулбара.png|thumb|center| Example of the device toolbar with the “Settings” option |800px]]
In the "Content" category, the user must toggle the checkbox from "Disable" to "Enable" in the "Download Speed Limit" row. By default, the checkbox is always set to "Disable".
The “Settings” section will open a new page with configuration categories. The user needs to find the “Content” category.
[[File:Чекбокс_по_умолчанию.png|thumb|center| Example of the "Download Speed Limit" row display |800px]]
[[File:Контент_ограничения.png|thumb|center| Example of the “Content” settings category for the device|800px]]
After activation via the checkbox, an input field will become available where the user must specify the speed limit as a numeric value. By default, the minimum value is 64. The entered data is measured in Kbps.
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| Example of the entered speed limit display |800px]]
[[File:Чекбокс_по_умолчанию.png|thumb|center| Example of the “Download Speed Limit” setting |800px]]
After specifying the value, the user needs to scroll to the bottom of the screen and click the "Save Changes" button to apply the 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.
[[File:Сохранить_параметр.png|thumb|center| Example of the "Save Changes" button display |800px]]
[[File:Значение_скорости.png|thumb|center| Example of a defined speed limit value|800px]]
Thus, the user can limit the download speed of content on the device.
After entering the value, the user must scroll down and click the “Save Changes” button to apply the setting.
== '''Video Tutorial''' ==
[[File:Сохранить_параметр.png|thumb|center| Example of the “Save Changes” button |800px]]
[https://vk.com/video-227547238_456239056 Download Speed Limit on Devices]
This is how the user can limit the content download speed on a device.
== '''Additional Information''' ==
== '''Video Tutorial''' ==
If this article does not help in using the functionality as intended, or if there are any remaining questions after reading, they can be raised in the "Discussions" section at the top of the page.
[https://vk.com/video-227547238_456239056 Setting Download Speed Limits on Devices]
[[File:Обсуждение_ограничения_устройства.png|thumb|center| Example of the "Discussions" tab display on the wiki page |800px]]
== '''Additional Information''' ==
Additional information can also be found on the page [[How the user can interact with the "Discussions" section]].
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.
</div>
[[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 Как взаимодействовать пользователю с разделом "Обсуждения"