User:Golubjevaite/hackpact: Difference between revisions
Golubjevaite (talk | contribs) No edit summary |
Golubjevaite (talk | contribs) (→getusr) |
||
Line 8: | Line 8: | ||
= HACKPACT = | = HACKPACT = | ||
== | == getUserMedia == | ||
> Webcam filters <br> | |||
> Take photo button + clear button <br> | |||
> Canvas <br> | |||
> rgbSplit <br> | |||
> Javascript <br> | |||
> navigator.mediaDevices.getUserMedia() [https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getUserMedia / link] | |||
<pre> | |||
// Get media stream | |||
navigator.mediaDevices.getUserMedia({video: true, audio: false}) | |||
</pre> | |||
<br>[[File:webfilter1.jpeg|600px]] [[File:webfilter2.gif|600px]] |
Revision as of 19:52, 31 October 2020
PROJECT PROPOSAL
WHAT
HOW
WHY
HACKPACT
getUserMedia
> Webcam filters
> Take photo button + clear button
> Canvas
> rgbSplit
> Javascript
> navigator.mediaDevices.getUserMedia() / link
// Get media stream navigator.mediaDevices.getUserMedia({video: true, audio: false})