Skip to main content
Version: arkhangelsk

ICU_TerminalApp

Lyra3.ICU.TerminalApp

Подготовка к установке Lyra3.ICU.TerminalApp

Установка Lyra3.ICU.TerminalApp

Установить приложение:

apt install -y mvs-lyra3-icu-terminalapp

Создать в мастере ICU сущность монитора в зависимости от необходимой роли (view или control)

config

новые параметры в релизе 1.8.0 не менять без необходимости

Значения webCodecsPlayerWorkersCount и turnOffTimeSynchronizationInLivePlayerуказать как в примере ниже

Отредактировать файл конфигурации /etc/mvs.lyra3.icu/Lyra3.ICU.TerminalApp.yml:

logger:
level: info # error | warn | info | verbose | debug | silly

icuConnection:
apiUrl: http://<icu-server-ip>:3340

hpConnection:
authorization:
hpKey: qTQcxsjxAE78LgqKy8H8IQGs8eNkBKIj #Get from ICU-Unit in Master Platform
coreApiUrl: http://<core-ip>:3302
authApiUrl: http://<auth-ip>:3304
icuApiUrl: http://<hp-icu-ip>:3342
icuStorageUrl: http://<hp-icustorage>:3344
jumboApiUrl: http://<jumbo-ip>:3310
storageUrl: https://<fqdn-mvs-platform>/storage

monitorId: f94aae62-85fc-4200-8ac9-0f1844180eb3 #Get from Master-ICU https://<fqdn>:<port_master> with type Control or View

# defines the way the local stream is displayed on different pages and component
# possible values are:
# Video:Original - shows stream via WebCodecs in original quality (GERS.channel.url)
# Video:Preview - shows stream via WebCodecs in preview quality (GERS.channel.secondaryUrl)
# Image:Preview - shows image, which will update every 6 seconds
streamDisplayMode:
pages:
videoManagement:
1x1: Video:Original
1x2: Video:Original
pip: Video:Preview
2x2: Image:Preview
2x3: Image:Preview
3x3: Image:Preview
4x4: Image:Preview

videoManagementFullscreen:
1x1: Video:Original
1x2: Video:Original
pip: Video:Preview
2x2: Video:Preview
2x3: Video:Preview
3x3: Video:Preview
4x4: Video:Preview

# defines the quality for video in live / archive player
# possible values are: Original, Preview
playerVideoQuality:
1x1: Original
1x2: Original
pip: Preview
2x2: Preview
2x3: Preview
3x3: Preview
#4x4: Preview # optional parameter for configuring layout 4x4 for player

webCodecsPlayerWorkersCount: 1 # amount of threads, used for receiving frames to display live video
turnOffTimeSynchronizationInLivePlayer: false # turns off time syncronization between channels in live player, on beds and sources pages. strange as it may sound, changing value to "true", might remove visual asynchrony in player

ui:
locale: ru # ru | en | be | fr
browserWindow:
fullscreen: true
width: 1350
height: 900
hideCursor: true

currentDateTime:
# https://github.com/iamkun/dayjs/blob/dev/docs/en/API-reference.md#list-of-all-available-formats
timeFormat: 'HH:mm:ss'
dateFormat: 'DD MMM'

crashReporter:
enabled: true
productName: 'Lyra3.ICU.Terminal.App'
companyName: 'MVS'
submitURL: 'http://192.168.2.189:1127/post'
  • monitorId копируется из мастера.
    Добавить (+Add) в мастере монитор управления и скопировать monitorId. Аналогично для обзорного монитора.

Добавить в автозагрузку и запустить сервис:

systemctl enable --now Lyra3.ICU.TerminalApp.service