/WebSocketAudioServer

Demo server for streaming audio over a WebSocket connection.

Primary LanguageC#MIT LicenseMIT

WebSocket Audio Server

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.

Usage

Works on Microsoft Windows only.

  1. 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
  2. Open WebSocketAudioServer.sln in Visual Studio.
  3. Compile and run.
  4. Choose the audio device to stream.