feat(ui-flow): handle restart-screen-share IPC for stream recovery
Wire restart-screen-share to platform.refreshScreenSharePreview so the renderer can restart local capture or drop stale remote preview tiles. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -922,6 +922,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
}
|
||||
return true
|
||||
}
|
||||
if (t === 'restart-screen-share') {
|
||||
await platform.refreshScreenSharePreview(msg.userId)
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'set-voice-mute') {
|
||||
try {
|
||||
await platform.setVoiceMute({ muted: msg.muted, deafened: msg.deafened })
|
||||
|
||||
Reference in New Issue
Block a user