Skip to content

Instantly share code, notes, and snippets.

@ivmos
Last active August 29, 2015 14:10
Show Gist options
  • Save ivmos/7fb79f59ab1f2a36ff27 to your computer and use it in GitHub Desktop.
Save ivmos/7fb79f59ab1f2a36ff27 to your computer and use it in GitHub Desktop.
Intro to WebRTC: Let's get media!!
<video id="v"/>
error = function(error) {
console.log(error);
}
navigator.webkitGetUserMedia({
video: true,
audio: true
},
function(stream) {
console.log("success callback");
},
error);
name: Intro to WebRTC
description: Let's get media!
authors:
- Iván Mosquera Paulo
resources:
- http://some.url.com/some/file.js
- http://other.url.com/other_filename.css
normalize_css: no
wrap: l
panel_js: 0
panel_css: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment