[Webkit-unassigned] [Bug 56458] User media videoconferencing patch 0: adding compilation guards

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 17 12:09:43 PDT 2011


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


Leandro GraciĆ” Gil <leandrogracia at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #86049|1                           |0
        is obsolete|                            |




--- Comment #11 from Leandro GraciĆ” Gil <leandrogracia at chromium.org>  2011-03-17 12:09:44 PST ---
(From update of attachment 86049)
View in context: https://bugs.webkit.org/attachment.cgi?id=86049&action=review

>>>> Source/WebKit/chromium/features.gypi:86
>>>> +        'ENABLE_USER_MEDIA=1',
>>> 
>>> 'ENABLE_USER_MEDIA' doesn't tell me anything about what feature it enables. I realize that the spec uses "user media" in the interface names, eg. NavigatorUserMedia, getUserMedia(), etc, but the term didn't mean anything to me until I looked at the spec and it even after reading the spec it doesn't make me think  "video conferencing". 
>>> 
>>> I don't have any great suggestions, maybe 'ENABLE_MEDIA_STREAM_API'?
>> 
>> Good suggestion. I'm not very convinced about ENABLE_USER_MEDIA either, but couldn't figure anything much better. I'll make the changes to ENABLE_MEDIA_STREAM_API.
> 
> Typically enable guards don't include 'API', eg 'GEOLOCATION', 'DEVICE_ORIENTATION', 'BLOB', so maybe 'ENABLE_MEDIA_STREAM'.

Fixed.

>> Tools/Scripts/build-webkit:264
>> +      define => "ENABLE_USER_MEDIA", default => 0, value => \$userMediaSupport },
> 
> Does Chromium use this script? How does a default of o interact with a default of 1 in the gypi?

Default changed to isChromium() as seems more appropriate. I've left the 1 in the gypi file to make sure that the build bots always compile with this new feature enabled.

-- 
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