项目作者: Xiermires

项目描述 :
A simple Audio Web API mp3 stream using websockets, vertx
高级语言: Java
项目地址: git://github.com/Xiermires/mp3-stream.git
创建时间: 2017-02-03T11:03:53Z
项目社区:https://github.com/Xiermires/mp3-stream

开源协议:

下载


mp3-stream

Playing streams with the Audio Web API using either a websocket or an audio tag from a rest service.

Server in Java (Vert.x)
Client in JavaScript

1) Websockets:

  1. Limited to one connection at a time.
  2. The audio is not blending fluently (frequent glitches each time a new chunk is loaded.

2) Audio tag

  1. Streams start over whenever requested. There is not a background stream clients can attach to.
  2. This later is not difficult to implement though, it follows similar principles.