You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: pass permissions through loadSandboxProxy like csp
- Add permissions parameter to loadSandboxProxy in implementation.ts
- Build iframe allow attribute from permissions instead of hardcoding
- Update sandbox.ts to not hardcode allow attribute (set via notification)
- Add microphone + clipboardWrite permissions to transcript-server resource
- Update README to reflect permission configuration via resource _meta.ui
Copy file name to clipboardExpand all lines: examples/transcript-server/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ transcript-server/
76
76
77
77
## Notes
78
78
79
-
-**Microphone Permission**: Requires `allow="microphone"` on the sandbox iframe (configured in `basic-host/src/sandbox.ts`)
79
+
-**Microphone Permission**: Requires `allow="microphone"` on the sandbox iframe (configured via `permissions: { microphone: {} }`in the resource `_meta.ui`)
80
80
-**Browser Support**: Web Speech API is well-supported in Chrome/Edge, with Safari support. Firefox has limited support.
81
81
-**Continuous Mode**: Recognition automatically restarts when it ends, for seamless transcription
0 commit comments