An open API service indexing awesome lists of open source software.

https://github.com/r3code/node-ogg-simple-stream

Simple server to stream OGG file over http. Allows to play specified file in browser html5 <audio>.
https://github.com/r3code/node-ogg-simple-stream

nodejs stream-ogg

Last synced: 4 months ago
JSON representation

Simple server to stream OGG file over http. Allows to play specified file in browser html5 <audio>.

Awesome Lists containing this project

README

          

# node-ogg-simple-stream
Simple server to stream OGG file over http. Allows to play specified file in browser html5 <audio>.

## Install
Download and install [Node.js 4 LTS](https://nodejs.org/en/).

## Run
```node play```

## Listen to the audio
Open browser at ```http://localhost:8125/sound.html``` and click "Play" button in the browser emedded html5 audio player.
By default server available from all network interfaces.

To receive stream in ffplay:
```ffplay -vn -nodisp -loop 0 -f ogg http://localhost:8125```
-loop 0 is set to play in infinite loop.