From a7a3909552f3fc3e1e201674cf85e4a04f0405f9 Mon Sep 17 00:00:00 2001 From: Mathieu Cassagnes Date: Fri, 27 Apr 2018 23:48:23 -0400 Subject: [PATCH] Added 'tab' and to desktop capture source types for Chrome extension --- chrome/ScreenSharing/background-script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/ScreenSharing/background-script.js b/chrome/ScreenSharing/background-script.js index 2c8b6a8..ecff13d 100644 --- a/chrome/ScreenSharing/background-script.js +++ b/chrome/ScreenSharing/background-script.js @@ -1,7 +1,7 @@ // this background script is used to invoke desktopCapture API // to capture screen-MediaStream. -var session = ['screen', 'window']; +var session = ['screen', 'window', 'tab']; function getSourceID(sender, callback) { // as related in https://code.google.com/p/chromium/issues/detail?id=413602 and https://code.google.com/p/chromium/issues/detail?id=425344 :