IPTV/en: различия между версиями
(Новая страница: «=== '''"Channels" Block''' === Within the "Channels" block, users can add new channels to the list for broadcasting in IPTV player mode and find ready-made channels using the search bar. thumb|center| Example of the "Channels" block display.|800px This action can be performed using the "+" icon located at the top left of the screen. Also, in this section of the page, users can delete a channel using the "Trash" icon, which...») |
(Новая страница: « === '''"Categories" Block''' === In the "Categories" block, users can view the available sections for storing channels. thumb|center| Example of the "Categories" block's start page.|800px If there are many sections, users can utilize the search bar.<br> Users can also add a new section within this block. This action can be performed using the "+" icon at the top left of the screen. When creating a...») |
||
Строка 45: | Строка 45: | ||
{{Note|If a user needs to delete all channels, they can click the "Select All" button in the top right corner. If they want to deselect all channels, in the same place, they can click the button and choose "Deselect All". | {{Note|If a user needs to delete all channels, they can click the "Select All" button in the top right corner. If they want to deselect all channels, in the same place, they can click the button and choose "Deselect All". | ||
[[File:Доабвить_и_отменить_все.png|thumb|center| Example of the "Select All"/"Deselect All" feature display.|800px]]|warn}} | [[File:Доабвить_и_отменить_все.png|thumb|center| Example of the "Select All"/"Deselect All" feature display.|800px]]|warn}} | ||
=== ''' | === '''"Categories" Block''' === | ||
In the "Categories" block, users can view the available sections for storing channels. | |||
[[File:Блока_категории_общий_вид.png|thumb|center| | [[File:Блока_категории_общий_вид.png|thumb|center| Example of the "Categories" block's start page.|800px]] | ||
If there are many sections, users can utilize the search bar.<br> | |||
Users can also add a new section within this block. This action can be performed using the "+" icon at the top left of the screen. When creating a section, it's necessary to specify its name.<br> | |||
[[File:Создание_категории.png|thumb|center| | [[File:Создание_категории.png|thumb|center| Example of creating a category for channels.|800px]] | ||
If a user has a channel they no longer need, they can delete it by clicking on the "Trash" icon, also located at the top left. Before this action, they need to select the channel using a checkbox. | |||
[[File:Иконки_добавить_и_удалить_со_строкой_поиска.png|thumb|center| | [[File:Иконки_добавить_и_удалить_со_строкой_поиска.png|thumb|center| Example of the "add" and "delete" icons located below the search bar.|800px]] | ||
{{Note| | {{Note|If a user needs to delete all channels, they can click the "Select All" button in the top right corner. If they want to deselect all channels, in the same place, they can click the button and choose "Deselect All". | ||
[[File:Доабвить_и_отменить_все.png|thumb|center| | [[File:Доабвить_и_отменить_все.png|thumb|center| Example of the "Select All"/"Deselect All" feature.|800px]]|warn}} | ||
=== ''' | === '''"Upload" Block''' === | ||
In this block, users can upload and download a ".csv" file with a prepared list of channels. | |||
[[File:Блок_загрузить_.png|thumb|center| | [[File:Блок_загрузить_.png|thumb|center| Example of the "Upload" block page.|800px]] | ||
This feature is relevant for users who have a large number of channels to upload. | |||
[[File: | [[File:Example_csv_file.png|thumb|center| Example of a ".csv" file with a list of channels.|800px]] | ||
For the correct upload of channels, it is necessary to: | |||
* Select a file on the device (by default, a ".csv" file is uploaded and downloaded) | |||
* Specify a delimiter for the data (default is ",") | |||
* Choose one of two encodings (UTF-8 or Windows 1251) | |||
[[File: | [[File:Пример_csv_фйала.png|thumb|center| Example of the content of a ".csv" file.|800px]] | ||
{{Note| | {{Note| There might be issues with uploading and downloading the file to/from the local server if an image was selected for the channel during its creation. This is because the table inserts a link to the image rather than the image itself, which the system needs to download. |warn}} | ||
<div lang="ru" dir="ltr" class="mw-content-ltr"> | <div lang="ru" dir="ltr" class="mw-content-ltr"> | ||
== '''Работа IPTV на Android OS''' == | == '''Работа IPTV на Android OS''' == |
Версия от 14:34, 29 февраля 2024
IP Television Section
A new section with useful functionality, "IP Television" (IPTV), has been introduced in the SmartPlayer personal account.
In this section, the user will be able to switch to IPTV mode from the SmartPlayer personal account and view the available channels.
Activating IPTV in the SmartPlayer Personal Account
To enable IPTV functionality within SmartPlayer, one needs to navigate to the "Devices" section of the personal account.
The next step is for the user to select the desired device from the list by clicking on it.
After selecting the device, the user needs to go to the sidebar on the right to configure the settings. In this sidebar, the user must select the "Settings" section.
After navigating to settings, the user needs to find the "Content" section and click on it.
This section will expand, and the user will need to enable the "IP Television" option using the toggle switch.
Then, the user needs to click the "Save Changes" button at the bottom of the screen.
Operating Logic
The user needs to enable the capability to use IPTV mode on the device through the device settings in their personal account (in this case, the server saves data about the enabling/disabling of IPTV mode).
After that, in the separate "IP Television" section of the personal account, the user needs to upload or configure channels for IPTV operation. When setting up channels and categories, the server saves the data into two different databases, which are used for IPTV operation. That is, upon requesting these databases, the server provides the information to the client application.
Having configured IPTV in the personal account, the user can launch it on the device and use IPTV for their needs using a remote control/input device. The user can also conclude the IPTV session using the remote control/input device.
Main Page
The next step for the user is to navigate to "IP Television". Upon accessing the "IP Television" section, the main page will be displayed to the user. On this page, three main blocks are available at the top:
- Channels
- Sections
- Upload
After configuring these blocks, the user will be able to start working with IPTV.
"Channels" Block
Within the "Channels" block, users can add new channels to the list for broadcasting in IPTV player mode and find ready-made channels using the search bar.
This action can be performed using the "+" icon located at the top left of the screen. Also, in this section of the page, users can delete a channel using the "Trash" icon, which is located next to the search bar.
To create a channel, the following parameters need to be specified:
- Name - allows entering the name of the channel.
- Number - allows specifying the channel number in the list. Important: channel numbering must not repeat, otherwise the channel cannot be created.
- IP address - this field is for entering the channel's URL that will be broadcasted.
- Category - users need to specify the category to which the channel belongs. This setting is not mandatory. Within the SmartPlayer platform, channels can exist without categories.
- Logo - allows selecting and setting an image for the channel as a logo.
After filling in all the parameters mentioned above, users can create a channel by clicking the "Save" button. If necessary, users can return to the previous window by clicking the "Cancel" button. If a user has a channel they no longer need, they can delete it by clicking on the "Trash" icon, also located at the top left. Before doing this, they need to select the channel using a checkbox.
"Categories" Block
In the "Categories" block, users can view the available sections for storing channels.
If there are many sections, users can utilize the search bar.
Users can also add a new section within this block. This action can be performed using the "+" icon at the top left of the screen. When creating a section, it's necessary to specify its name.
If a user has a channel they no longer need, they can delete it by clicking on the "Trash" icon, also located at the top left. Before this action, they need to select the channel using a checkbox.
"Upload" Block
In this block, users can upload and download a ".csv" file with a prepared list of channels.
This feature is relevant for users who have a large number of channels to upload.
For the correct upload of channels, it is necessary to:
- Select a file on the device (by default, a ".csv" file is uploaded and downloaded)
- Specify a delimiter for the data (default is ",")
- Choose one of two encodings (UTF-8 or Windows 1251)
Работа IPTV на Android OS
После включения и настройки IPTV в личном кабинете пользователь может зажать на пульте центральную кнопку "ОК" на 5 секунд и запустить таким образом режим IPTV.
Если у пользователя есть настроенные каналы (описанные выше по статье настройки IPTV в личном кабинете) то IPTV начнет работать нормально. Если же каналы не были добавлены, то при переходе в режим IPTV покажется черный экран.
IPTV на Android OS может работать со следующим списком потоков:
- HLS
- SmoothStream
- DASH
- UDP
- HTTP
Для работы с IPTV на устройстве используются следующие кнопки:
- Клавиша "OK"/одно нажатие кнопки "Вверх"/ одно нажатие кнопки "Вниз" - открывает боковое меню с каналами. Через пять секунд бездействия сайд меню будет закрыто.
- Одно нажатие клавиши "Влево"/Одно нажатие клавиши "Вправо" - открывает каталог категорий каналов. Через пятнадцать секунд бездействия данное меню будет закрыто.
- Клавиша "Back" - закрывает указанные выше меню/делает шаг назад. Также клавиша позволяет выключить режим IPTV при нажатии на экране проигрывания канала.
Тонкости и нюансы при работе с Android OS
- При вставке в качестве канала YouTube стрима необходимо использовать ссылку из адрессной строки, а не из кнопки "Поделиться/Share" в меню YouTube.
- В меню переключения каналов при переходе на следующий канала (его выделение без переключения) система автоматически переключиться на выделенный канала через одну секунду.
- В центре экрана может появиться ошибка при работе канала и воспроизведение канала остановиться. Для этого пользователю необходимо переключиться на другой канал.
Работа IPTV на WEB OS
Переключение в режим IPTV на WEB OS также производится по кнопкам вправо или влево. Окно с каналами и категориями висит пять секунд. IPTV может работать со следующим списком потоков:
- HLS
- MP 4 по ссылке (Начинающийся к HTTP)
- RTSP (Могут быть проблемы со звуком и графические артефакты)
Для работы с IPTV на устройстве используются следующие кнопки:
- Одно нажатие клавиши "Влево"/Одно нажатие клавиши "Вправо" - открывает каталог с категориями каналов.
- Одно нажатие клавиши "Вверх"/Одно нажатие клавиши "Вниз" - открывается боковое меню каналов.
- Нажатие клавиши "ОК" - позволяет выбрать выделенный нужный канал или категорию.
- Кнопка "0" - выключает режим IPTV на устройстве.
Тонкости и нюансы при работе с WEB OS
- Стриминг с YouTube парсится не через адресную строку, а с помощью ссылки по кнопке "Поделиться/Share"
- Если приходит не валидный поток данных, то отображаться только будет черный экран
Пример отображения каналов и категорий в работающем IPTV
Итоговый результат
Пользователь понимает, знает и умеет пользоваться функциональностью IPTB в личном кабинете платформы SmartPlayer. Полученные знания позволят ему использовать данную возможность для реализации нескольких режимов работы устройства.