Skip to content

Instantly share code, notes, and snippets.


Steve Seguin steveseguin

  • be awesome corp
  • Toronto, Canada
View GitHub Profile
View 69_line_p2p_data_transfer_sample.js
<div id="results" style="overflow:scroll;max-height:300px;">
<script> //
var connectionID = Math.random()*100000001; // we need to create a stream ID; it needs to be secure/unique, up to ~50 chars.
function RecvDataWindow(){
var iframe = document.createElement("iframe");
iframe.src = ""+connectionID+"&cleanoutput"; // See the info at for options
steveseguin /
Created Aug 7, 2021 — forked from saket424/
to publish to videoroom 1234 as user gstwebrtcdemo use 'python3 --server wss:// gstwebrtcdemo'
import random
import ssl
import websockets
import asyncio
import os
import sys
import json
import argparse
import string
from websockets.exceptions import ConnectionClosed
steveseguin / Dockerfile
Created Aug 7, 2021 — forked from tobiasfriden/Dockerfile
Gstreamer WebRTC python demo working Dockerfile
View Dockerfile
FROM maxmcd/gstreamer:1.14-buster
WORKDIR /usr/src
RUN apt-get update && apt-get install -y python3-pip \
pkg-config \
libcairo2-dev \
gcc \
python3-dev \
libgirepository1.0-dev \
steveseguin / emojis.json
Created Jun 6, 2021 — forked from oliveratgithub/emojis.json
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
View emojis.json
"emojis": [
{"emoji": "👩‍👩‍👧‍👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "&#128105;&zwj;&#128105;&zwj;&#128103;&zwj;&#128103;", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👧‍👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "&#128105;&zwj;&#128105;&zwj;&#128103;&zwj;&#128102;", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👦‍👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "&#128105;&zwj;&#128105;&zwj;&#128102;&zwj;&#128102;", "category": "People & Body (family)", "order": ""},
{"emoji": "👨‍👩‍👧‍👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "&#128104;&zwj;&#128105;&z
View mini.css
.tile {
max-width:200px !important;
video {
max-width:200px !important;
View discordbot.json
"jcalado":"jcalado is awesome",
"python":"python > node"
View rotate.css
body {
margin: 0;
video.tile {
position: absolute;
transform: rotate(90deg);
transform-origin: bottom left;
width: 100vh;

You hereby grant Steve Seguin (Steve) a perpetual, worldwide, royalty-free, irrevocable, non-exclusive, and transferable license to use, reproduce, prepare derivative works of, publicly display, publicly perform, distribute the submissions, and to sublicense such rights to others. The rights granted may be exercised in any form or format, and Steve may distribute and sublicense to others on any licensing terms, including without limitation: (a) open source licenses like the GNU General Public License (GPL), or the Berkeley Software Distribution license (BSD); or (b) binary, proprietary, or commercial licenses.

You hereby represent that you are the sole and original author of all Submissions and that, to the best of your knowledge, the submissions do not infringe upon the rights of any third party.

You implicitly agree to these terms with your continued submission.

steveseguin /
Last active Jun 30, 2021
Contributions to projects

VDO.Ninja Contributor License Agreement (CLA)

To ensure the long-term viability of the open-source VDO.Ninja project, and for the protection of its creator and its users, we request that contributors to the project first agree to some basic terms. The terms when accepted applies to all of your past, present and future contributions.

Contribution Policy

Contributions that only take 20 lines of code or less will have its Intellectual Property implicitly transferred to Stephen Seguin, the creator of VDO.Ninja. You agree with this rule by pushing your code or works to github, by sending the code or works to one of VDO.Ninja's core developers, or by distributing your code or works in any other way.

For all code contributions that take more than 20 lines, you are invited to digitally sign the CLA with the provided CLA Assissant service. You may also print, sign, scan, and then email the CLA to

steveseguin / getUserMedia.js
Last active Apr 21, 2020
Camera getUserMedia /w Mobile Support
View getUserMedia.js
function grabVideo(quality=0, audioEnable=false){
if( activatedPreview == true){log("activeated preview return");return;}
activatedPreview = true;
log("trying with quality:");
var audioSelect = document.querySelector('select#audioSource');
var videoSelect = document.querySelector('select#videoSource');
var iOS = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform);