Skip to content

Instantly share code, notes, and snippets.

View elv-peter's full-sized avatar

Peter Tseng elv-peter

View GitHub Profile
@elv-peter
elv-peter / sync_test.sh
Created March 5, 2020 03:44
Generate live HLS stream that causes audio to be out-of-sync for HLS.js
#!/bin/bash
#
# https://github.com/terabit-software/dynamic-stream-server/blob/master/scripts/sync_test.sh
#
# Tool to check video and audio sync.
# Loop with 1 beep per second with 4 increasing frequencies.
# Can be used to measure delays up to 4 seconds.
# The grid is accurate to about 1ms.
#
# Beep duration: 0.125s
@elv-peter
elv-peter / hellocat.md
Last active March 13, 2019 00:57
Bitcode example instructions

Prerequisites

  • Docker and Git installed
  • These are MacOS instructions

Steps

  1. Clone https://github.com/eluv-io/content-bitcode
  2. Run Docker to get a Linux build environment:
cd content-bitcode
docker run -ti --rm=true -v $(pwd):/content-bitcode eluvio-content-bitcode