Skip to content

fabslab/aurora-websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aurora-websocket

WebSocket streaming plugin for aurora.js

This will expose the following method on the aurora.js AV.Player class:

AV.Player.fromWebSocket(serverUrl, fileName)

Use your WebSocket server URI and track file name, eg:

var player = AV.Player.fromWebSocket('ws://localhost:8080', '01 Conundrum.flac');
player.play();

Look to the server-examples folder for the server implementation required. So far I have only provided an implementation in Node, feel free to pull request with others.

MIT Licensed.

About

WebSocket audio streaming plugin for aurora.js

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •