[Webkit-unassigned] [Bug 215213] New: [iOS 14] MediaStream becomes inactive after video it was assigned to is removed from the DOM
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 6 05:09:36 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=215213
Bug ID: 215213
Summary: [iOS 14] MediaStream becomes inactive after video it
was assigned to is removed from the DOM
Product: WebKit
Version: Other
Hardware: iPhone / iPad
OS: Other
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: artjomvinnikov at gmail.com
OS: iOS 14 Beta 3
Steps:
1. Request a stream with getUserMedia and feed it into <video> via srcObject
2. Remove video from the DOM
3. After ~5 seconds camera stream becomes inactive. Camera recording icon gets hidden from url bar, and stream.active returns false.
Small demo to reproduce: https://codesandbox.io/s/smoosh-thunder-1frcl?file=/index.html
Not sure if this is desired behaviour, but it doesn't happen with Safari 13.
--
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/20200806/16c24d53/attachment-0001.htm>
More information about the webkit-unassigned
mailing list