This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>WebRTC 1 to 1 handshake V3</title> | |
</head> | |
<body> | |
<button type="button" onclick="startVideo();">Start video</button> | |
<button type="button" onclick="stopVideo();">Stop video</button> | |
| |
<button type="button" onclick="connect();">Connect</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>MQTT signaling</title> | |
<meta charset="urt-8"/> | |
<script src="http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.javascript.git/plain/src/mqttws31.js"></script> | |
</head> | |
<body> | |
<button type="button" onclick="startVideo();">Start video</button> | |
<button type="button" onclick="stopVideo();">Stop video</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>WebRTC over milkcocoa</title> | |
</head> | |
<body> | |
<button type="button" onclick="startVideo();">Start video</button> | |
<button type="button" onclick="stopVideo();">Stop video</button> | |
<button type="button" onclick="call();">Connect</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Capture Crop</title> | |
</head> | |
<body> | |
Media Source list<br /> | |
<select id="mic_list" size="5" onchange="micSelected();"> | |
</select> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>WebRTC 1to1</title> | |
<!--- this is demo for http://www.slideshare.net/mganeko/chromebook-webrtc --> | |
<!-- please install simple message server from here: https://chrome.google.com/webstore/detail/simple-message-server/bihajhgkmpfnmbmdnobjcdhagncbkmmp --> | |
</head> | |
<body> | |
<button type="button" onclick="startVideo();">Start video</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// This code parses binary format of WebM file. | |
// recognizes only some important TAGs | |
// | |
// Limitation: | |
// This programs reads all binary at once in memory (100MB). | |
// It is very bad imprementation, but it is still enough for some small WebM file. | |
// | |
// Usage: | |
// node parse_webm.js filename |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function logSIMD(arg1, arg2, opt, res) { | |
console.log(opt + '( ' + arg1.toSource() + ' , ' + arg2.toSource() + ' ) ==> ' + res.toSource()); | |
} | |
var a = SIMD.Float32x4(1.0,2.0,3.0,4.0); | |
var b = SIMD.Float32x4(5.0,6.0,7.0,8.0); | |
var c = SIMD.Float32x4.add(a,b); | |
//console.log(c.toSource()); | |
logSIMD(a, b, "add", c); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>recording Firefox 201510</title> | |
</head> | |
<body> | |
<h2>MediaRecorder Demo for Firefox</h2> | |
<button id="start_button" onclick="startVideo()">StartVideo</button> | |
<button id="stop_button" onclick="stopVideo()">StopVideo</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let remoteVideo0 = document.getElementById('webrtc-remote-video-0'); | |
let remoteVideo1 = document.getElementById('webrtc-remote-video-1'); | |
let remoteVideo2 = document.getElementById('webrtc-remote-video-2'); | |
let remoteVideo3 = document.getElementById('webrtc-remote-video-3'); | |
let canvasMix = document.getElementById('canvas_mix'); | |
canvasMix.addEventListener('mousedown', clickMixCenter, false); | |
canvasMix.addEventListener('mousemove', moveMixCenter, false); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let remoteVideo0 = document.getElementById('webrtc-remote-video-0'); | |
let remoteVideo1 = document.getElementById('webrtc-remote-video-1'); | |
let remoteVideo2 = document.getElementById('webrtc-remote-video-2'); | |
let remoteVideo3 = document.getElementById('webrtc-remote-video-3'); | |
let canvasMix = document.getElementById('canvas_mix'); | |
let ctxMix = canvasMix.getContext('2d'); | |
ctxMix.fillStyle = 'rgb(128, 192, 128)'; | |
let mixStream = null; |
OlderNewer