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 216918
220461
MediaStreamRecorder does not work in WKWebView-based browsers like Chrome
https://bugs.webkit.org/show_bug.cgi?id=220461
Summary
MediaStreamRecorder does not work in WKWebView-based browsers like Chrome
Urs Wolfer
Reported
2021-01-08 06:46:50 PST
While the following example works fine in Safari on iOS 14.3, it seems not to work in Chrome on the same device:
https://jsfiddle.net/vyapfckd/1/
(Pressing the start buttons works, but the download button fails to deliver the result.)
Attachments
Add attachment
proposed patch, testcase, etc.
Ali Juma
Comment 1
2021-01-08 07:05:22 PST
(In reply to Urs Wolfer from
comment #0
)
> While the following example works fine in Safari on iOS 14.3, it seems not > to work in Chrome on the same device: >
https://jsfiddle.net/vyapfckd/1/
> > (Pressing the start buttons works, but the download button fails to deliver > the result.)
Thanks for reporting this! The issue is that the 'download' attribute is not supported in WKWebView. Chrome can workaround this for file downloads (by detecting that we're trying to navigate to a MIME type that can't be rendered by WKWebView) but there's no way to work around this for blobs.
Bug 174076
and
bug 216918
are related to this.
Bug 217747
might fix this when it makes it into a release.
youenn fablet
Comment 2
2021-01-08 07:12:59 PST
Thanks Urs for reporting and Ali for the links. Let's continue tracking this in
bug 216918
. *** This bug has been marked as a duplicate of
bug 216918
***
Urs Wolfer
Comment 3
2021-01-12 12:21:07 PST
Thank you for your feedback. I can confirm that the 'download' attribute caused the issue in this example. In another, more complex, setup, recordrtc was in use, which also seems to fail with Chrome on iOS. Using MediaStreamRecorder directly works fine in both Chrome and Firefox on iOS 14.3.
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