mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-11-12 03:28:20 +08:00
[feat] receive remote audio with panel playback and bounded WAV capture
This commit is contained in:
1 parent
02b10d0d8e
commit
82b8cc11bc
15 files changed
+287
-7
No files matched your search
@@ -255,7 +255,7 @@ export class BrowserPanel {
|
||||
if (typeof body.view_id !== "string" || !client.views.has(body.view_id))
|
||||
throw new Failure("VIEW_UNAUTHORIZED");
|
||||
const name = req.url?.match(
|
||||
/^\/api\/(ready|devices|status|connect|video_open|control|unlock|recovery|input)$/,
|
||||
/^\/api\/(ready|devices|status|connect|video_open|control|unlock|recovery|input|audio)$/,
|
||||
)?.[1];
|
||||
if (!name) throw new Failure("UNKNOWN_ACTION");
|
||||
const { view_id, ...args } = body;
|
||||
|
||||
Reference in new issue
Block a user