Skip to content

Instantly share code, notes, and snippets.

View fippo's full-sized avatar

Philipp Hancke fippo

View GitHub Profile
no selected candidate:
"{
"inbound_rtp_video_1": {
"id": "inbound_rtp_video_1",
"timestamp": 1439236038290.1577,
"type": "inboundrtp",
"bitrateMean": 713166.8518518517,
"bitrateStdDev": 399240.049895856,
"framerateMean": 29.037037037037035,
"framerateStdDev": 3.261918424780596,
@fippo
fippo / index.js
Last active August 29, 2015 14:17
requirebin sketch
var servers = {username: "1427391317", credential: "yaRtZa0/GJOmOHy4ONLI3kHCJ6E=", url: "turn:104.130.195.95"};
var pc = new webkitRTCPeerConnection({
iceServers: [servers],
iceTransports: 'relay'
});
pc.oniceconnectionstatechange = function () { console.log('state', pc.iceConnectionState); };
var pc2 = new webkitRTCPeerConnection({
iceServers: [servers],
iceTransports: 'relay'
});