Re: [mediacapture-main] What happens when a machine suspends? (#668)

The code at https://github.com/w3c/mediacapture-main/issues/668#issuecomment-622997049 achieves the same result at Chromium 81.0.4044.122 (stable).

The tests were performed without adjusting default Power Manager settings at OS (4.15.0-20-lowlatency, i686 GNU/Linux).

The default setting for when laptop lid is closed is "Lock screen". 

When setting the value to "Suspend" and `checkPixels()` is not executed the `MediaStream` is still being rendered at `<video>` element after closing laptop lid for 1 minute.

Have not tried "Hibernate" or "Switch off diplay" options.

![Screenshot_2020-05-02_21-39-21](https://user-images.githubusercontent.com/4174848/80893065-8ddd8000-8cbe-11ea-9321-1db517a77049.png)


-- 
GitHub Notification of comment by guest271314
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/668#issuecomment-623018135 using your GitHub account

Received on Saturday, 2 May 2020 21:50:07 UTC