From ab0ba3db76d1accec1ca944e62b325c8d92592a6 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sat, 3 Oct 2026 13:44:47 +0200 Subject: Cast: receiver position and pause/play on both clients The player's remote mode reads where the television is instead of the local playhead, which drifts. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-client/src/preload.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/meshbay-client/src/preload.js') diff --git a/packages/meshbay-client/src/preload.js b/packages/meshbay-client/src/preload.js index 665ec1f..43cf317 100644 --- a/packages/meshbay-client/src/preload.js +++ b/packages/meshbay-client/src/preload.js @@ -180,6 +180,8 @@ contextBridge.exposeInMainWorld('meshbay', { chromecastConnect: (opts) => ipcRenderer.invoke('cast:chromecast:connect', opts), chromecastReload: (opts) => ipcRenderer.invoke('cast:chromecast:reload', opts), chromecastDisconnect: () => ipcRenderer.invoke('cast:chromecast:disconnect'), + chromecastPause: () => ipcRenderer.invoke('cast:chromecast:pause'), + chromecastPlay: () => ipcRenderer.invoke('cast:chromecast:play'), }, // A sink that writes to disk as chunks arrive, never a buffer handed over at -- cgit v1.2.3