Skip to content

fix: make getUserMedia APIs work again on C72+ - #16763

Merged
codebytere merged 2 commits into
masterfrom
brenca/cfrunloop
Feb 6, 2019
Merged

codebytere merged 2 commits into
masterfrom
brenca/cfrunloop

Conversation

@brenca

@brenca brenca commented Feb 6, 2019 •

Copy link
Copy Markdown
Contributor

Description of Change

Fixes #16508
Fixes #16513

Pretty much what the title says, got the fix from https://bitbucket.org/chromiumembedded/cef/commits/e94b3e2478491e5867e970687afcd53323a6fbe8

Checklist

Release Notes

Notes:

Fixed getUserMedia on v5.0.x and up.

@brenca brenca added the 5-0-x label Feb 6, 2019
@brenca
brenca requested review from a team and deepak1556 February 6, 2019 01:09
@MarshallOfSound

Copy link
Copy Markdown
Member

@brenca Not required for this PR but do you know if it's possible to write a test to check that the API isn't Completely Broken during an upgrade. E.g. expect(mediaStream).to.not.be.a.black.square.of.nothing()?

@deepak1556

Copy link
Copy Markdown
Member

Upstream fix: https://chromium-review.googlesource.com/c/chromium/src/+/1049931/

Not sure why this wasn't part of //content client, could have benefitted all embedders.

Fixes #16508
Fixes #16513

@deepak1556 deepak1556 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@deepak1556

deepak1556 commented Feb 6, 2019 •

Copy link
Copy Markdown
Member

Might need dependency on //services/video_capture/public/mojom:constants.

@codebytere
codebytere merged commit ff461d9 into master Feb 6, 2019
@release-clerk

release-clerk Bot commented Feb 6, 2019

Copy link
Copy Markdown

Release Notes Persisted

@trop

trop Bot commented Feb 6, 2019

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "5-0-x", please check out #16768

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

getDisplayMedia with Chrome 72 throwing Not Allowed Fix CHECK failure introduced by chromium feature navigator.webkitGetUserMedia spec

4 participants