[Webkit-unassigned] [Bug 70897] Use a simple page client/controller for user consent in getUserMedia()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 9 02:35:39 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=70897





--- Comment #14 from Tommy Widenflycht <tommyw at google.com>  2011-11-09 02:35:39 PST ---
(In reply to comment #12)
> > > Could you remove the user consent query functionality from this patch? It complicates the patch and nobody (at least that I know of) is going to use it.
> > 
> > The query functionality in this patch is used to ask the platform about available media stream sources. The query results can then be presented to the user in the consent UI.
> 
> Tommy, are you happy with this response?

It's fine by me. I have nothing against a query interface, it just feels weird that the actual creation of the streams goes through a PageClient but the approval is supposed to go through the platform interface.

My main objection was that it for this initial patch it might be better to not have a query interface for complexity reasons. Approvals/declines can just as well be handled through the userMediaRequestSucceeded/userMediaRequestFailed callbacks in the UserMediaController.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list