User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36 Steps to reproduce: I create firefox extension, and browser.tabCapture.capture method doesn't exist while chrome.tabCapture.capture exists Actual results: browser.tabCapture.capture never resolves Expected results: browser.tabCapture.capture should work like chrome.tabCapture.capture, or could you please give me some alternative method for getting mediastream from current tab sounds
2 years ago
Component: Untriaged → WebExtensions: Compatibility
Product: Firefox → Toolkit
Summary: browser.tabCapture.capture method doesn't exist while chrome.tabCapture.capture exists → Implement tabCapture API
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1261339
Hi guys! I have have been working on the same problem 2 month already. We adopt Chrome extension functionality to FF Add-on. And we have a problem with tabCapture. Any plans to realize this feature in nearest future?
I think tabCapture and pageCapture are two different things, although they sound quite similar. https://developer.chrome.com/extensions/tabCapture > Use the chrome.tabCapture API to interact with tab media streams. https://developer.chrome.com/extensions/pageCapture > Use the chrome.pageCapture API to save a tab as MHTML.
Yep! Thank you! We do know this difference, but the problem is that that tabCapture is not implemented in Firefox
Sorry, my comment was directed to zombie who marked this as a duplicate.
Huh, sorry I jumped too quick on the duplicate button. (another excellent naming job by the Chrome team)
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: DUPLICATE → ---
Do you plan to implement https://developer.chrome.com/extensions/tabCapture#method-captureOffscreenTab ? It is experimental in Chrome, but our legacy Firefox extension heavily relies on this feature (make previews of websites in "background"), so we can't really move it to WebExt without loosing functional.
I'll note in passing that this is more or less already implemented on the platform side.
Our extension is also depending on this API. We use it to manage the currently playing video/audio on each tab. Does anyone know if there is any alternatives?
+1 for this feature
You need to log in before you can comment on or make changes to this bug.