You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Settings gets the library's new optional Network selector field after Network name. It is kept, not hidden: empty changes nothing, the form is built from the library's fields, and hiding it would need a Decoder-side exception to the library's list for a field that does nothing when empty.
README (en/ru/zh-CN): camex 6.2.0 and the new field. Version 2.29.0 (versionCode 70).
Checked locally in Docker: unit tests, lint (13 warnings, as the baseline), assembleDebug, check-version.sh; e2e on API 21 and 34: UDP 19/19, TCP 20/20 (camex 6.2.0, client decoder, tunnel up again after Network → Save).
• Upgrade camex to 6.2.0 to restore tunnel connectivity.
• Expose the library’s optional Network selector in Settings, including values supplied by connect
links.
• Document the selector in three languages and release Decoder 2.29.0.
Merge Risk 🟡 Medium
Blast radius 🟢 Low💥 1 capability
1 affected end-to-end capability after fault-specific containment; implementation boundaries do not widen its functional scope.
The changed dependency is configured through the Camex settings and its resulting VPN path is consumed to reach cameras.
The settings, tunnel establishment, routing, and camera viewing are implementation hops of one bounded integration and not independent capabilities.
No separate affected functional scope is established by the available source.
## 2.29.0 — 2026-11-23- camex 6.2.0 in the tunnel (#302). Settings has a new optional **Network selector** field
after Network name, needed only when the server's network sets a selector (the server then
answers only for that network). Empty, nothing changes. Save accepts it only with a network
name and without a psk.
Before: the Decoder used the prior camex tunnel release and its existing field/protocol contract.
After: the dependency introduces a new optional Network selector and corresponding server/network-selection behavior while retaining the existing dynamic field, persistence, validation, VPN startup, and camera-consumer integration.
New correctness condition: empty selector configurations must preserve prior behavior, while configurations for servers that require a selector must select the intended network and remain compatible with existing server/client states.
These are mixed-version and configuration-compatibility cases, not merely routine use of the existing field infrastructure.
The exact implementation and whether it adds further ordering or native-state conditions could not be checked because the submodule source is unavailable.
## 2.29.0 — 2026-11-23- camex 6.2.0 in the tunnel (#302). Settings has a new optional **Network selector** field
after Network name, needed only when the server's network sets a selector (the server then
answers only for that network). Empty, nothing changes. Save accepts it only with a network
name and without a psk.
Potential damage 🟡 Medium🩹 Temporary loss
A tunnel negotiation, configuration, or native-library regression can prevent cameras reachable only through camex from being viewed.
This is a capability loss rather than an integrity or confidentiality failure on the available evidence: no changed persistent camera data or external transaction is shown.
Reverting the application restores the prior library; alternatively, disabling Join or correcting the selector/server configuration can restore operation.
The new selector may require coordinated server configuration, so recovery can require a compatible server/network definition and a first successful re-save/adoption of the setting.
Recoverable after application rollback or configuration correction, provided the camex server remains available and the user can supply a compatible network name/selector.
No automatic repair worker or persistent-state migration was identified.
A server-side network selection mismatch may require manual configuration before reconnecting.
## 2.29.0 — 2026-11-23- camex 6.2.0 in the tunnel (#302). Settings has a new optional **Network selector** field
after Network name, needed only when the server's network sets a selector (the server then
answers only for that network). Empty, nothing changes. Save accepts it only with a network
name and without a psk.
Use the library-owned field definitions, as this PR does: the existing Settings form already renders and persists them, so a separate app-specific selector implementation would duplicate the library contract. Review the submodule’s behavior and the reported UDP/TCP device results because the library changes themselves are not expanded in this diff.
Files changed (6) +13 / -6
Documentation (4) +10 / -3
CHANGELOG.mdRecord the 2.29.0 tunnel fix+7/-0
Record the 2.29.0 tunnel fix
• Adds release notes for camex 6.2.0 and the optional Network selector. Documents when the selector applies and its network-name and PSK constraints.
• Moves the tunnel dependency from commit 3577182 to 1102755, identified in the PR as camex 6.2.0. This supplies the updated tunnel and its Network selector field to the existing library-driven Settings form.
1. Selector field is missing from the form 📎 Requirement gap≡ Correctness
Description
The CHANGELOG and README describe a Network selector field after Network name that is filled from a
connect link’s e= parameter, but Decoder has no selector form field, CamexTunnel.SELECTOR
wiring, or e= parsing. When text is shared to Decoder, loadSettings() saves it as a camera URL
while NetworkPanel reads tunnel settings from saved preferences, so the link cannot populate a
selector and users cannot join a network that requires one through the advertised flow.
+## 2.29.0 — 2026-11-23++- camex 6.2.0 in the tunnel (#302). Settings has a new optional **Network selector** field+ after Network name, needed only when the server's network sets a selector (the server then
Evidence
The added CHANGELOG claim says a connect link fills the selector from e=, and the README describes
the field, but the diff adds documentation rather than the corresponding Decoder implementation.
Decoder’s text-sharing entry point saves shared text as a camera URL, while NetworkPanel loads
tunnel configuration from preferences populated by the settings form; neither path transfers e=
into a selector, and the Decoder sources contain no selector form code or SELECTOR reference.
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution
## Issue description
The CHANGELOG and README describe a Network selector field and `e=` connect-link handling that Decoder does not implement. The settings form has no selector field, and shared text does not populate tunnel settings.
## Fix Focus Areas
- CHANGELOG.md[15-20]
- README.md[92]
- android/app/src/main/java/com/openipc/decoder/Decoder.java[724-746]
- android/app/src/main/java/com/openipc/decoder/NetworkPanel.java[64-89]
## Recommended Fix
Add an optional selector field after Network name in the tunnel Settings form, using the camex library’s field list. Keep it empty by default, pass its value through `CamexTunnel.SELECTOR`, and add an intentional connect-link ingestion path that parses `e=`, saves it to the selector preference, and uses it for the tunnel connection. Confirm the field and link behavior match the documentation; if link ingestion is not implemented, remove or qualify the `e=` claim.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
2. Selector is not validated before saving 📎 Requirement gap≡ Correctness
Description
No code in the diff checks the selector against the network name or the PSK, although the CHANGELOG
states it is accepted only with a network name and without a psk. A selector saved with an empty
network name or alongside a psk reaches the server unchecked and fails only at connect time.
+ answers only for that network); a connect link fills it from `e=`. Empty, nothing changes.+ It is accepted only with a network name and without a psk.
Evidence
Rule 3 requires a selector to be accepted only with a network name and without a PSK. The CHANGELOG
line says it is accepted only with a network name and without a psk, but the diff has no validation
logic, and the repository has no selector code for such a check to sit in.
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution
Issue description
The selector constraint (accepted only with a network name and without a psk) is documented in CHANGELOG.md but not enforced anywhere in the diff.
Fix Focus Areas
- CHANGELOG.md[19-20]
Recommended Fix
When the tunnel settings are saved or the connect link is applied, reject or clear a non-empty selector if the network name is empty or a psk is set, and show the user why. Add a unit test for each case: selector with no network name, selector with psk, and selector with network name and no psk.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Tip of the day
💡 Did you know, you can keep summaries lean with Findings visible per group, which tucks the rest behind a View link
Selector field missing from the form: the field is there. NetworkPanel builds the Settings form from the camex library's CamexTunnel.fields() (in the bundles/camex submodule, not in this diff), and 6.2.0 lists Network selector after Network name. The part that was right: Decoder takes no camex connect link, so nothing fills the field from e=. The CHANGELOG and the PR text said it did; fixed in the last commit, the selector is typed in.
Selector not validated before saving: it is. Save runs CamexTunnel.check(n) (NetworkPanel.java, the Save handler) and keeps the dialog open with the reason. The library's check refuses a selector without a network name or with a psk.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #302.
bundles/camex: 6.0.0 → 6.2.0 (1102755).Checked locally in Docker: unit tests, lint (13 warnings, as the baseline), assembleDebug,
check-version.sh; e2e on API 21 and 34: UDP 19/19, TCP 20/20 (camex 6.2.0, client decoder, tunnel up again after Network → Save).