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>.
- Host: GitHub
- URL: https://github.com/r3code/node-ogg-simple-stream
- Owner: r3code
- Created: 2016-07-29T07:53:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-18T15:03:01.000Z (over 9 years ago)
- Last Synced: 2025-10-14T15:45:41.589Z (4 months ago)
- Topics: nodejs, stream-ogg
- Language: JavaScript
- Size: 5.02 MB
- Stars: 4
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.