Skip to content

Instantly share code, notes, and snippets.

@mganeko
mganeko / mediasource.html
Last active August 29, 2015 14:12
WebRTC mediasource select
<!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>
@mganeko
mganeko / signaling_milkcocoa_multi.html
Created December 5, 2014 08:04
WebRTC signaling over milkcocoa for multiple room / people
<!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>
@mganeko
mganeko / signaling_mqtt.html
Last active September 18, 2025 07:44
WebRTC signaling over MQTT
<!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>
@mganeko
mganeko / signaling_by_hand
Last active August 29, 2015 14:07
WebRTC Signaling by Hand
<!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>
&nbsp;&nbsp;&nbsp;&nbsp;
<button type="button" onclick="connect();">Connect</button>