feat: implement screen recording via chrome.tabCapture with offscreen document
- Use chrome.tabCapture.getMediaStreamId() from service worker - Pass stream ID to offscreen document for MediaRecorder - Recording survives page navigation (unlike getDisplayMedia) - Requires user to click extension icon first (activeTab permission) - Add esbuild to build offscreen.ts separately - Update prompt docs with recording instructions
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
"devDependencies": {
|
||||
"@types/chrome": "^0.0.315",
|
||||
"concurrently": "^8.2.2",
|
||||
"esbuild": "^0.27.2",
|
||||
"typescript": "^5.8.2",
|
||||
"vite": "^5.4.21",
|
||||
"vite-plugin-static-copy": "^3.1.1"
|
||||
|
||||
Reference in New Issue
Block a user