Skip to content

Instantly share code, notes, and snippets.

View yannickmodahgouez's full-sized avatar
😎

Yannick Gouez yannickmodahgouez

😎
View GitHub Profile
@yannickmodahgouez
yannickmodahgouez / spec.md
Created February 3, 2017 20:48 — forked from ePirat/spec.md
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.

aCoderContext_->sample_rate = 48 /*mediaInfo.sampleRate*/;
aCoderContext_->channels = 2;