--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Unchecked runtime.lastError while running desktopCapture.chooseDesktopMedia: Tab capture is not supported yet.
Anyone know why chrome.desktopCapture.chooseDesktopMedia is not working for tabs, or it is actually NOT supported?
I have Version 36.0.1985.125
-Enda
This didn't work the last time I tested:
chrome.desktopCapture.chooseDesktopMedia(["screen", "window", "tab"], function(){});
This should work:
var captureOptions = { audio : true, video : true }; chrome.tabCapture.capture(captureOptions, function(){});
chrome.desktopCapture.chooseDesktopMedia(["tab"], function(){});
If it is still not working which seems to be the case for me, what is the recommended way of selecting a chrome tab to share.
as chrome.tabCapture.capture will only share the currently active tab where the extension was invoked.
Is my best option to do a window share using chrome.desktopCapture.chooseDesktopMedia then select chrome and navigate to the tab I want to share?
Thanks.