Skip to content

Instantly share code, notes, and snippets.

@redannick
redannick / AppendByteVideoLoop
Last active September 18, 2019 10:12
Seamless flv looping
package
{
import flash.events.AsyncErrorEvent;
import flash.events.NetStatusEvent;
import flash.events.SecurityErrorEvent;
import flash.media.Video;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.net.NetStreamAppendBytesAction;
import flash.utils.ByteArray;
@redannick
redannick / gist:9894637
Last active August 29, 2015 13:57
getUserMedia mediastream buffer
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<script type="text/javascript">
'use strict';
(function(){
var frameStore = {};
function toggle_visibility() {
function toggle(id){
@redannick
redannick / windows-setup-notes.md
Last active March 1, 2019 14:03
Notes on how to get https://github.com/greenpeace/planet4-docker-compose up and running on windows using WSL.

Notes on how to get https://github.com/greenpeace/planet4-docker-compose up and running on windows using WSL.

  • Use windows 10 pro 1809+ and profressional with docker for windows

  • install latest ubuntu on WSL (18.04) from microsoft store

  • Update windows hosts file with paths: add: