[webkit-dev] exposing getUserMedia and RTCPeerConnection in Tech Preview?
youenn fablet
youennf at gmail.com
Thu Dec 1 03:10:19 PST 2016
It is good if we already have these runtime flags.
Then we might just need to make the related IDLs exposed according that
flag through EnabledAtRuntime keyword.
y
Le jeu. 1 déc. 2016 à 11:55, Alexandre GOUAILLARD <agouaillard at gmail.com> a
écrit :
> Bonjour youenn,
>
> Eric avait fait ca en mars cette année. Tu peux regarder les commits
> ci-dessous. J'ai vérifie hier, les flags de compil sont toujours a OFF, et
> les runtimes sont aussi gardes. Je ne sais pas pourquoi les API sont
> accessibles.
>
> https://bugs.webkit.org/show_bug.cgi?id=158393
>
> https://trac.webkit.org/browser/trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h?rev=202704
>
> https://trac.webkit.org/changeset/198492
>
> Note that I documented those two flags on the webkit wiki on march 26 this
> year, after eric split the original MEDIA_STREAM into two:
> https://trac.webkit.org/wiki/FeatureFlags
>
> Alex.
>
>
> On Thu, Dec 1, 2016 at 6:48 PM, youenn fablet <youennf at gmail.com> wrote:
>
> Hi Philipp,
>
> Thanks for bringing that up.
> I think we should add runtime flags for getUserMedia and RTCPeerConnection
> and set them to off in Safari Tech Preview until stable enough.
>
> y
>
>
> Le mer. 30 nov. 2016 à 14:40, Philipp Hancke <fippo at appear.in> a écrit :
>
> It has been brought to my attention that apparently Safari Tech Preview
> Release 18 (Safari 10.1, WebKit 12603.1.12) is exposing RTCPeerConnection
> and navigator.mediaDevices.getUserMedia.
>
> Since a check for
> navigator.mediaDevices.getUserMedia && window.RTCPeerConnection
> and redirecting browsers that support neither is pretty common this is
> rather unfortunate.
>
> The getUserMedia implementation does not seems to work on one of the most
> basic GUM samples at
> https://webrtc.github.io/samples/src/content/getusermedia/gum/
> I am actually not seeing GUM resolve or reject the promise at all.
>
> And RTCPeerConnection did not work either in
> https://webrtc.github.io/samples/src/content/peerconnection/pc1/
>
> What is the plan here?
>
> Philipp
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
>
>
> --
> Alex. Gouaillard, PhD, PhD, MBA
>
> ------------------------------------------------------------------------------------
> President - CoSMo Software Consulting, Singapore
>
> ------------------------------------------------------------------------------------
> sg.linkedin.com/agouaillard
>
> -
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20161201/b91ad968/attachment.html>
More information about the webkit-dev
mailing list