Skip to content

Instantly share code, notes, and snippets.

View gurupras's full-sized avatar

Guru Prasad gurupras

View GitHub Profile
@skrater
skrater / mse_ws_vp8.html
Created May 8, 2017 02:05
Websocket Media Source Extensions
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>MSE Demo</title>
</head>
<body>
<h1>MSE Demo</h1>
<div>
<video controls width="80%"></video>
@adammw
adammw / client.js
Last active September 13, 2022 02:33
simple-peer / socket.io test
var Peer = require('simple-peer');
var io = require('socket.io-client');
var debug = require('debug')('client');
var socket = io.connect();
var peers = {};
var useTrickle = true;
socket.on('connect', function() {
debug('Connected to signalling server, Peer ID: %s', socket.id);
});