28. サンプルコード <html> <head> </head> <body> <h2>CameraDemo</h2> <video id="live" autoplay controls></video> <script type="text/javascript"> video = document.getElementById("live") //for GoogleChrome navigator.webkitGetUserMedia("video audio", //Operaの場合はnavigator.getUserMedia function(stream) { video.src = window.webkitURL.createObjectURL(stream); }, function(err) { console.log("Unable to get video s
![WebRTCについて](https://cdn-ak-scissors.b.st-hatena.com/image/square/31d05ae4948ea5f6bccf52c4169ebe4b5c2f9405/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Frandom-120129033419-phpapp01-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)