auto-tab-discard
auto-tab-discard copied to clipboard
[Suggestion] Do Not Discard Tabs When Microphone/Webcam/etc Are In Use
trafficstars
Simple feature idea. I use a couple of web based voip chat things that I usually just have to set as whitelisted, because for some reason they don't count as having media playing. I wouldn't mind an "if webcam/microphone are in use, don't discard this tab" checkbox or two separately for each (webcam and microphone).
This is a good idea, however, there is no easy way to implement this as far as I know. The tabs API does not return the status of the user media (https://developer.chrome.com/extensions/tabs#type-Tab). Detecting media streams inside each page is also not possible without asking for the user permission on each request.