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.
<rdar://problem/66634379>
Thanks Artjom, this might be the memory leak that happens when video element is not rendered but playing. This should be fixed by https://bugs.webkit.org/show_bug.cgi?id=214262 patch in https://trac.webkit.org/changeset/264312. I would think this change is included in latest iOS beta 4. Can you validate this?
(In reply to youenn fablet from comment #2) > Thanks Artjom, this might be the memory leak that happens when video element > is not rendered but playing. > This should be fixed by https://bugs.webkit.org/show_bug.cgi?id=214262 patch > in https://trac.webkit.org/changeset/264312. > I would think this change is included in latest iOS beta 4. > Can you validate this? Yes, updating to Beta 4 resolved the issue. Thanks.
*** This bug has been marked as a duplicate of bug 214262 ***