Sign inSign up

drachtio/sample-ws-audio-fork

By drachtio

•Updated over 7 years ago

Sample websocket server that receives audio and text stream from mod_audio_fork

Image
0

1.6K

drachtio/sample-ws-audio-fork repository overview

⁠sample-ws-audio-fork

Sample websocket server that receives audio and text stream from mod_audio_fork⁠.

⁠Installation

npm install
``

## Running
With no command-line arguments, the application listens on port 3001 and writes incoming raw audio packets to file at /tmp/audio.raw.  Any incoming text frames are logged to the console.

The listening port or file to write to can be changed as illustrated below:

```bash
node app.js --port 8080 outfile.raw

Tag summary

Content type

Image

Digest

Size

23.1 MB

Last updated

over 7 years ago

docker pull drachtio/sample-ws-audio-fork