Play (live) audio using HTML5 by streaming from a WebSocket connection.
This is a demo server for the WebSocket Audio project. It streams the output of a local audio device over a WebSocket connection.
Works on Microsoft Windows only.
- FFmpeg is required for encoding to Vorbis WebM:
- Download the Windows build of FFmpeg
- Place
ffmpeg.exe
in the directory the project will be run from. E.g.bin/Debug/ffmpeg.exe
- Open WebSocketAudioServer.sln in Visual Studio.
- Compile and run.
- Choose the audio device to stream.