Bug 158799
| Summary: | gUM crashes when creating a MediaStream with only an audio or only a video MediaStreamTrack | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | George Ruan <gruan> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | eric.carlson, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | All | ||
| OS: | Other | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=43239 | ||
George Ruan
http://www.w3.org/TR/mediacapture-streams/#methods-5
Currently, the implementation of gUM expects
- The parameter to gUM to have both audio and video constraints to have non-falsy values.
- Both a video and audio source to be available.
The implementation crashes since UserMediaRequest::constraintsValidated expects defined parameters audioSource and videoSource.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/26817452>
Eric Carlson
This turned out to be a bug in unrelated code.