added stop button in video call

This commit is contained in:
Arjun 2026-07-04 13:24:32 +05:30
parent af24596591
commit 5b2ecc6720
5 changed files with 64 additions and 7 deletions

View file

@ -1451,7 +1451,7 @@ const ipcSchemas = {
// main app window (handled in the main process).
'video:popoutAction': {
req: z.object({
action: z.enum(['toggle-camera', 'toggle-share', 'end-call', 'expand']),
action: z.enum(['toggle-camera', 'toggle-share', 'stop-speaking', 'end-call', 'expand']),
}),
res: z.object({}),
},
@ -1469,7 +1469,7 @@ const ipcSchemas = {
// Push channel: main → app window with a popout control-bar action.
'video:popout-action': {
req: z.object({
action: z.enum(['toggle-camera', 'toggle-share', 'end-call', 'expand']),
action: z.enum(['toggle-camera', 'toggle-share', 'stop-speaking', 'end-call', 'expand']),
}),
res: z.null(),
},