Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,31 @@ Versions after 2.17 are `MAJOR.MINOR.PATCH` (2.17 is followed by 2.17.1 or 2.18.
`docs/testing.md`, "Versions and releases"); the headings below keep the numbers as they
were released.

## 2.26.0 — 2026-11-18

- Decoder takes the "brass" look of our apps (#286, brass 1.3.0 of the brand project); the app
icon and the TV banner stay blue and white:
- the menu over the video is a brass panel of brass keys with serif labels; an item that is
on is pressed brass with an amber glow (was an orange fill), the remote's focus an amber
frame (was light blue), a slot without a camera has dim text; the version stays on Exit;
- the status line over the video is amber monospace capitals on a dark plate;
- the dialogs (camera, Start on boot, Reset) are brass panels with a serif title, dark text
fields, amber radio buttons and check boxes with the amber focus ring, brass buttons;
- **Network** opens one **Settings** dialog: a **Decoder** section with **Allow remote
access** (new; off, the debug page is closed and the app opens no port), the page's port
and password, and a **Camex** section with **Join a camex server** (was "On: connect now
and at every start"), the tunnel's state and the library's fields;
- the camex fields come from the camex 4.2.0 library (was 4.1.2): its labels (**Proto**
for the transport), the hints of empty fields, the key hidden with **Show the key** under
it, the client name `decoder-<the last four of ANDROID_ID>` by default;
- the web page: the title **Decoder** with the version, "Elegant video player", a panel with
rivets and the plate **Video wall**, a board of rows with lamps (Decoder, Cameras, Screen,
Camex), brass JSON, Log, Report and switches, the wall in a frame, the camera on screen in
amber; the tab's title and icon show the worst lamp. `/stats.json` has `camex`.
- The web page's port (Qodo on #285): a Save while the socket was opening is no longer lost; a
new port is tried at once after all ports failed; the address on screen follows a move; a
tunnel start waits for the new port after a Save; Network saved off cancels a waiting start.

## 2.25.0 — 2026-11-18

- The web (debug) page's port is set in **Network** → **Web page port** (default 8085, as
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Every item, the remote, sharing a URL from another app and **Reset**: [Usage](do

## Network (a tunnel to the cameras)

Decoder has a tunnel built in, [OpenIPC camex](https://github.com/OpenIPC/camex) 4.1.2: cameras that are clients of the same camex server are watched from anywhere, without a separate VPN app. **Network** in the menu (a row under the grid) holds the server (`host:port`), the client name (the box's ID on the server), UDP or TCP, the server's public key, the pre-shared key, the server timeout, the port and the password of the debug page and **On**: connect now and at every start. Off by default. The server gives the address, MTU and routes; only the tunnel network and the server's routes (none wider than a /8) go through it, the local network is reached as before. The state is shown in the dialog (Connecting, Connected with the address, VPN consent needed, Failed) and in a notification. A camera reached through the tunnel plays over TCP with Auto. The debug page is on port 8085 unless Network sets another; when that port is taken (another app on the device serves its page there), Decoder takes the next free one (8086, 8087, …) and shows the real address. Decoder tells the server the port its page really is on (for nginx there; a camex server 3.19.0 or later), and the tunnel lets in only that port of Decoder's own page: another app's page is not reached through it. The password, when set, guards that page from the local network and through the tunnel alike; empty (the default), the page is open.
Decoder has a tunnel built in, [OpenIPC camex](https://github.com/OpenIPC/camex) 4.2.0: cameras that are clients of the same camex server are watched from anywhere, without a separate VPN app. **Network** in the menu (a row under the grid) opens the **Settings** dialog. Its **Decoder** section holds **Allow remote access** (the debug page; off, the app opens no port at all), the page's port and its password. Its **Camex** section holds **Join a camex server** (connect now and at every start; off by default) and the tunnel's state, then the server (`host:port`), the client name (the box's ID on the server; by default `decoder-` and the last four characters of the device's Android ID), **Proto** (UDP or TCP), the server's public key, the pre-shared key (hidden, with **Show the key** under it), MTU, keepalive and the server timeout, as the camex library lists them. The server gives the address, MTU and routes; only the tunnel network and the server's routes (none wider than a /8) go through it, the local network is reached as before. The state is shown in the dialog (Connecting, Connected with the address, VPN consent needed, Failed) and in a notification. A camera reached through the tunnel plays over TCP with Auto. The debug page is on port 8085 unless Network sets another; when that port is taken (another app on the device serves its page there), Decoder takes the next free one (8086, 8087, …) and shows the real address. Decoder tells the server the port its page really is on (for nginx there; a camex server 3.19.0 or later), and the tunnel lets in only that port of Decoder's own page: another app's page is not reached through it. The password, when set, guards that page from the local network and through the tunnel alike; empty (the default), the page is open.

<p align="center">
<img src="screenshots/network.jpg" alt="The Network dialog on a TV box: connected, the server and the client name" width="400">
Expand Down
2 changes: 1 addition & 1 deletion README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@

## Network (туннель к камерам)

В Decoder встроен туннель [OpenIPC camex](https://github.com/OpenIPC/camex) 4.1.2: камеры, подключённые клиентами к тому же серверу camex, видны откуда угодно, без отдельного VPN-приложения. Пункт **Network** в меню (ряд под сеткой): сервер (`host:port`), имя клиента (идентификатор приставки на сервере), UDP или TCP, открытый ключ сервера, общий ключ (psk), таймаут сервера, порт и пароль отладочной страницы и **On** — подключиться сейчас и при каждом запуске. По умолчанию выключено. Адрес, MTU и маршруты выдаёт сервер; через туннель идут только его сеть и маршруты сервера (не шире /8), локальная сеть доступна как прежде. Состояние видно в окне (Connecting, Connected с адресом, VPN consent needed, Failed) и в уведомлении. Камера за туннелем в режиме Auto идёт по TCP. Отладочная страница — на порту 8085, если в Network не задан другой; если порт занят (на устройстве его держит страница другого приложения), Decoder берёт следующий свободный (8086, 8087, …) и показывает настоящий адрес. Серверу Decoder сообщает порт, на котором страница на самом деле (для nginx на сервере; нужен сервер camex 3.19.0 или новее), а туннель пропускает только этот порт собственной страницы Decoder: страница другого приложения через него недоступна. Пароль, если задан, закрывает эту страницу одинаково из локальной сети и через туннель; пустой (по умолчанию) — страница открыта.
В Decoder встроен туннель [OpenIPC camex](https://github.com/OpenIPC/camex) 4.2.0: камеры, подключённые клиентами к тому же серверу camex, видны откуда угодно, без отдельного VPN-приложения. Пункт **Network** в меню (ряд под сеткой) открывает окно **Settings**. Раздел **Decoder**: **Allow remote access** (отладочная страница; выключено — у приложения нет ни одного сетевого порта), порт и пароль страницы. Раздел **Camex**: **Join a camex server** (подключиться сейчас и при каждом запуске; по умолчанию выключено) и состояние туннеля, затем сервер (`host:port`), имя клиента (идентификатор приставки на сервере; по умолчанию `decoder-` и четыре последних знака Android ID устройства), **Proto** (UDP или TCP), открытый ключ сервера, общий ключ (psk; скрыт, под ним **Show the key**), MTU, keepalive и таймаут сервера — как их перечисляет библиотека camex. Адрес, MTU и маршруты выдаёт сервер; через туннель идут только его сеть и маршруты сервера (не шире /8), локальная сеть доступна как прежде. Состояние видно в окне (Connecting, Connected с адресом, VPN consent needed, Failed) и в уведомлении. Камера за туннелем в режиме Auto идёт по TCP. Отладочная страница — на порту 8085, если в Network не задан другой; если порт занят (на устройстве его держит страница другого приложения), Decoder берёт следующий свободный (8086, 8087, …) и показывает настоящий адрес. Серверу Decoder сообщает порт, на котором страница на самом деле (для nginx на сервере; нужен сервер camex 3.19.0 или новее), а туннель пропускает только этот порт собственной страницы Decoder: страница другого приложения через него недоступна. Пароль, если задан, закрывает эту страницу одинаково из локальной сети и через туннель; пустой (по умолчанию) — страница открыта.

<p align="center">
<img src="screenshots/network.jpg" alt="Окно Network на ТВ-приставке: подключено, сервер и имя клиента" width="400">
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@

## Network(通往摄像头的隧道)

Decoder 内置 [OpenIPC camex](https://github.com/OpenIPC/camex) 4.1.2 隧道:作为客户端接入同一台 camex 服务器的摄像头,可以在任何地方观看,无需另装 VPN 应用。菜单中的 **Network**(网格下方一行)包含:服务器(`host:port`)、客户端名称(设备在服务器上的 ID)、UDP 或 TCP、服务器公钥、预共享密钥、服务器超时、调试页面端口和密码,以及 **On**:立即连接并在每次启动时连接。默认关闭。地址、MTU 和路由由服务器下发;只有隧道网络和服务器的路由(不宽于 /8)经过隧道,本地网络照常访问。状态显示在对话框(Connecting、Connected 及地址、VPN consent needed、Failed)和通知中。经隧道访问的摄像头在 Auto 模式下走 TCP。调试页面默认位于 8085 端口,可在 Network 中更改;若该端口被占用(设备上另一个应用的页面在用),Decoder 会使用下一个空闲端口(8086、8087……)并显示实际地址。Decoder 告知服务器页面实际所在的端口(供服务器上的 nginx 使用;需 camex 服务器 3.19.0 或更新版本),隧道只放行 Decoder 自身页面的这个端口:无法经隧道访问其他应用的页面。设置密码后,无论从本地网络还是经隧道访问,该页面都需要密码;为空(默认)时页面开放。
Decoder 内置 [OpenIPC camex](https://github.com/OpenIPC/camex) 4.2.0 隧道:作为客户端接入同一台 camex 服务器的摄像头,可以在任何地方观看,无需另装 VPN 应用。菜单中的 **Network**(网格下方一行)打开 **Settings** 对话框。**Decoder** 部分包含 **Allow remote access**(调试页面;关闭时应用不打开任何端口)、页面端口和密码。**Camex** 部分包含 **Join a camex server**(立即连接并在每次启动时连接;默认关闭)和隧道状态,然后是服务器(`host:port`)、客户端名称(设备在服务器上的 ID;默认为 `decoder-` 加设备 Android ID 的后四位)、**Proto**(UDP 或 TCP)、服务器公钥、预共享密钥(隐藏,下方有 **Show the key**)、MTU、keepalive 和服务器超时,均按 camex 库列出。地址、MTU 和路由由服务器下发;只有隧道网络和服务器的路由(不宽于 /8)经过隧道,本地网络照常访问。状态显示在对话框(Connecting、Connected 及地址、VPN consent needed、Failed)和通知中。经隧道访问的摄像头在 Auto 模式下走 TCP。调试页面默认位于 8085 端口,可在 Network 中更改;若该端口被占用(设备上另一个应用的页面在用),Decoder 会使用下一个空闲端口(8086、8087……)并显示实际地址。Decoder 告知服务器页面实际所在的端口(供服务器上的 nginx 使用;需 camex 服务器 3.19.0 或更新版本),隧道只放行 Decoder 自身页面的这个端口:无法经隧道访问其他应用的页面。设置密码后,无论从本地网络还是经隧道访问,该页面都需要密码;为空(默认)时页面开放。

<p align="center">
<img src="screenshots/network.jpg" alt="电视盒子上的 Network 对话框:已连接、服务器和客户端名称" width="400">
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ android {
applicationId "com.openipc.decoder"
minSdk 21
targetSdk 36
versionCode 61
versionName "2.25.0"
versionCode 62
versionName "2.26.0"
// Keep only these locales of the libraries' resources, as in the other OpenIPC apps
resourceConfigurations += ['en', 'ru', 'zh-rCN']

Expand Down
Loading
Loading