commit | c3b6e8569f87866ca0638038d1591dcfd76dae37 | [log] [tgz] |
---|---|---|
author | François Beaufort <beaufort.francois@gmail.com> | Wed Apr 12 11:54:56 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 12 11:54:56 2023 |
tree | a2d8aed8ea45bafce043a81438eeaa4a5a91c2a6 | |
parent | db6bf42f121bb2637c433ce5b36f9be6ad209c77 [diff] |
MediaRecorder: start() throws when type is not supported. This CL updates start() MediaRecorder to throw NotSupportedError when there is an error when starting recording. Moreover, it checks that the type ("audio/webm" for instance) is supported for each audio and video track. Test: https://github.com/web-platform-tests/wpt/pull/26666 Spec: https://w3c.github.io/mediacapture-record/MediaRecorder.html#dom-mediarecorder-start - step #13 Bug: 1423413 Change-Id: I6aee49f6076ca033504fe5308bca9bc8b777ffde Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4355396 Reviewed-by: Markus Handell <handellm@google.com> Commit-Queue: Fr <beaufort.francois@gmail.com> Cr-Commit-Position: refs/heads/main@{#1129189}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.