Skip to content

Instantly share code, notes, and snippets.

View mtrabelsi's full-sized avatar
🇩🇪
the moon

Marwen Trabelsi mtrabelsi

🇩🇪
the moon
View GitHub Profile
@ePirat
ePirat / spec.md
Last active May 1, 2024 17:58
Icecast Protocol specification

Icecast protocol specification

What is the Icecast protocol?

When speaking of the Icecast protocol here, actually it's just the HTTP protocol, and this document will explain further how source clients need to send data to Icecast.

HTTP PUT based protocol

Since Icecast version 2.4.0 there is support for the standard HTTP PUT method. The mountpoint to which to send the data is specified by the URL path.

@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active April 20, 2024 16:52
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@yetithefoot
yetithefoot / stuns
Last active April 2, 2024 10:49 — forked from zziuni/stuns
STUN+TURN servers list
{url:'stun:stun01.sipphone.com'},
{url:'stun:stun.ekiga.net'},
{url:'stun:stun.fwdnet.net'},
{url:'stun:stun.ideasip.com'},
{url:'stun:stun.iptel.org'},
{url:'stun:stun.rixtelecom.se'},
{url:'stun:stun.schlund.de'},
{url:'stun:stun.l.google.com:19302'},
{url:'stun:stun1.l.google.com:19302'},
{url:'stun:stun2.l.google.com:19302'},
@mcfiredrill
mcfiredrill / gist:4951364
Last active September 15, 2017 22:52
retrieving metadata from icecast streams for an html5 audio player
possible solutions
===================
1. On the server side, make a request to the stream with this request header:
Icy-MetaData:1
This will return a response header like this:
icy-metaint:8192
This supposedly tells you there is a metadata packet in the stream every 8192 bytes.
You could read in the metadata in a program on the server this way, and when it changes,
send a message to the client using SSEs or something.