Screen recording using getUserMedia doesn't resume on unlock

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Screen recording using getUserMedia doesn't resume on unlock

Postby girivasans » Wed Sep 27, 2023 6:40 am

Hi,

We record windows desktop screen using navigator.mediaDevices.getUserMedia api. When the machine is locked (Win + l) during active desktop screen recording, recording (MediaStream) stopped and doesn't resume after unlocking the machine.
Is there a chromium flag/option to make recording (MediaStream) resume on unlocking the machine. Web Camera's MediaStream is getting stopped on machine lock and resumed on unlocking machine. And also I would like to understand why this is being handled in this manner for screen sharing/recording, compared to streaming web camera. Could you please let me know reasoning behind this ?

Please see https://chromium.googlesource.com/chrom ... ger.cc#963 and https://chromium.googlesource.com/chrom ... ger.cc#934
girivasans
Newbie
 
Posts: 2
Joined: Wed Sep 27, 2023 5:47 am

Re: Screen recording using getUserMedia doesn't resume on un

Postby magreenblatt » Wed Sep 27, 2023 9:19 am

How does it behave in Google Chrome? Your questions are about Chromium code, so you should ask on an appropriate Chromium mailing list (probably media-dev).
magreenblatt
Site Admin
 
Posts: 12748
Joined: Fri May 29, 2009 6:57 pm

Re: Screen recording using getUserMedia doesn't resume on un

Postby girivasans » Thu Sep 28, 2023 7:18 am

Screen recording/sharing with navigator.mediaDevices.getUserMedia api is not possible in Chrome without showing pop up for user permission.
Ours is a desktop app based on Chromium.
I am following up with media-dev email group. Thanks !
girivasans
Newbie
 
Posts: 2
Joined: Wed Sep 27, 2023 5:47 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 19 guests