get-display-media

Continue recording with getDisplayMedia on page after reload

我只是一个虾纸丫 提交于 2021-02-10 14:26:54
问题 I'm recording my screen on a webpage with navigator.mediaDevices.getDisplayMedia . But when I reload the page, it stops. I'd like to automatically continue recording. Is it possible? Maybe I could use the localstorage somehow, that the reloaded page would try to record again, but then the prompt to choose the screen to record appears again, but I'd like to have picked the same screen to record automatically as before, so that the users aren't bothered after every page reload. Is there any way

Check if browser/platform support screen capturing via `getDisplayMedia`

回眸只為那壹抹淺笑 提交于 2020-02-03 04:34:09
问题 We can request a media stream to a screen or windows via navigator.mediaDevices.getDisplayMedia() . However, this immediately prompts the user to decide which kind of capturing to use. I need to check if the browser/platform even support screen capturing. Of course, it is possible to check for 'getDisplayMedia' in navigator.mediaDevices , but this just tells us if the API is supported by the browser. In particular, on FF and Chrome on Android, the API is defined and I can call getDisplayMedia

Bug reporter: Alternatives to getDisplayMedia?

淺唱寂寞╮ 提交于 2019-12-11 01:44:59
问题 I am trying to implement a bug reporter on my website. My goal is that the user will be able to describe the problem audibly and record the browser tab while walking through the problem. The bug report will then just be a video file, which can be emailed to me. It appears that the proposed navigator.mediaDevices.getDisplayMedia is exactly what I want, but it appears no browser has implemented it, nor have I found any plans for implementation on roadmaps. Use of var constraints = {video: {