[Webkit-unassigned] [Bug 202706] New: getDisplayMedia stop working when I change the tab or I minimize safari
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 8 14:12:06 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=202706
Bug ID: 202706
Summary: getDisplayMedia stop working when I change the tab or
I minimize safari
Product: WebKit
Version: Safari Technology Preview
Hardware: Macintosh
OS: macOS 10.14
Status: NEW
Severity: Normal
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bertonibrunoeugenio at gmail.com
CC: youennf at gmail.com
Hello,
I have my Javascript application that has the functionallity to share the screen and it sends the frames threw websockets.
I'm trying to implement the getDisplayMedia function of Safari 13 in order to share my screen and I'm using these contraints in the getDisplayMedia function:
var basicConstraints = {
video: {
frameRate: {
max: 3
}
}
};
And I have the next scenario:
1) User A open Safari 13 browser
2) User B open Safari 13 browser
3) User A starts sharing his screen
4) User B is able to see User A screen
5) User A changes to another tab or he minimize safari
Expected:
6) User B is able to see the other tab of User A or the browser minimized.
Actual result:
6) User B stop receiving message from webSockets and the sharing screen is freeze.
Another thing that I noticed, is that when user A change to another Tab or minimize the browser, the process "Safari Web Content" starts to decress from 500mb to 12mb (more or less) and the only way that user B can see Usear A screens refreshed again, user A need to stop sharing and start sharing again.
Could be that the browser is consuming less resources to that tab when I lost focus on the tab that I started sharing the screen? or maybe is there another constraint that I need to send in the getMediaDisplay function?
Regards,
Bruno.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191008/9c1740a5/attachment-0001.html>
More information about the webkit-unassigned
mailing list