Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

video recorder using webrtc and javascript

<device type="media" onchange="update(this.data)"></device>
<video autoplay></video>
<script>
  function update(stream) {
    document.querySelector('video').src = stream.url;
  }
</script>
Source by www.html5rocks.com #
 
PREVIOUS NEXT
Tagged: #video #recorder #webrtc #javascript
ADD COMMENT
Topic
Name
2+3 =