WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 214262
215213
[iOS 14] MediaStream becomes inactive after video it was assigned to is removed from the DOM
https://bugs.webkit.org/show_bug.cgi?id=215213
Summary
[iOS 14] MediaStream becomes inactive after video it was assigned to is remov...
Artjom
Reported
2020-08-06 05:09:36 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-08-06 10:44:00 PDT
<
rdar://problem/66634379
>
youenn fablet
Comment 2
2020-08-06 10:54:06 PDT
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?
Artjom
Comment 3
2020-08-10 00:25:36 PDT
(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.
Alexey Proskuryakov
Comment 4
2020-08-10 09:29:37 PDT
*** This bug has been marked as a duplicate of
bug 214262
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug