You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
audiostream is a simple streaming API for audio files. It can easily be used
3
-
together with a HTTP server to stream audio.
5
+
together with a HTTP server to stream audio to a HTTP client.
4
6
5
7
This is package is used in an ongoing effort together with another private project.
6
8
@@ -10,8 +12,8 @@ This is package is used in an ongoing effort together with another private proje
10
12
* It will broadcast the files to any listeners in frames of bytes and the listeners can be read as a stream via channels.
11
13
12
14
## What does the API _not_ do?
13
-
* It does not implement the SHOUTcast_ or _Icecast_ protocol.
14
-
* It cannot decodeor convert audio files. A decoder package can solve this and _ffmpeg_ can deal with converting sample rates if needed.
15
+
* It does not implement the _SHOUTcast_ or _Icecast_ protocol.
16
+
* It cannot decode, convert or manipulate audio files. Its up to the implementor to deal with this. A [decoder package](https://github.com/hajimehoshi/go-mp3) can solve this and _ffmpeg_ can deal with converting sample rates if needed.
15
17
16
18
# Example
17
19
See how to use the audiostream together with an HTTP server in [examples/main.go](https://github.com/davidae/audiostream/blob/master/example/main.go)
0 commit comments