mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
refactor(remote-control): gate live bridge by capability
This commit is contained in:
1 parent
8cfc40f59b
commit
3e398f1d1a
7 files changed
+99
-22
No files matched your search
@@ -97,6 +97,13 @@ Type definitions:
|
||||
|
||||
## Renderer Integrations
|
||||
|
||||
All renderer integrations resolve the Electron remote-control bridge through
|
||||
`RuntimeCapabilitiesService.supportsRemoteControl`. A partial Electron bridge
|
||||
is treated as unsupported unless it exposes all remote-control methods:
|
||||
`updateRemoteControlStatus`, `onChannelChange`, and
|
||||
`onRemoteControlCommand`. This keeps PWA/self-hosted builds and partial test
|
||||
bridges from accidentally activating desktop-only remote-control behavior.
|
||||
|
||||
## Shared helpers
|
||||
|
||||
- File: `libs/portal/shared/util/src/lib/remote-channel-navigation.ts`
|
||||
|
||||
Reference in new issue
Block a user