Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 613 Bytes

readme.md

File metadata and controls

24 lines (15 loc) · 613 Bytes

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.