Coder Social home page Coder Social logo

aurora-websocket's People

Contributors

cobalamin avatar fabslab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

aurora-websocket's Issues

Hi, I have a problem to use your lib.

Hi @fsbdev ,

I have downloaded your lib to test my websocket server.
The data arrived, but player has no sound.

I use a live aac stream, it doesn't like your server: request a file, the server send the whole file to client.

My server receive the aac stream from ffmpeg, and forward to client, so the data is very small, it only has 0.046s sound.

Do you have some idea for me?
Thanks very much.
David

Stream mp3 with mp3.js = UnderflowError

Hello, thx for your work :-)
I'd like to use your project to stream some music over websocket with aurora.js but i get an error.
Whith your flac exmple, it works well.
But when I try with your server exemple and an mp3 file, i get an UnderflowError.
Do you know how i can fix this ?
Thx

live streaming?

Hello!

I have experimented with your code for live streaming live generated audio (synthesized on demand in realtime). However, when playing in web browser, the audio stops sooner or later, and never get resumed automatically. It there ant way to get it back playing when more data is pushed to the client?

Thanks!

Streaming with demonstration server stops, node process at 100% CPU

I tried out the example client code + node server (with only the audioFolder and the port changed).
Streaming always stops at random points between a few seconds after playback starts, and about half a minute. I started logging when data events are emitted, and noticed it stops quite quickly, before sending the file. Looking at the output of top, I saw my suspicions confirmed: the node process running the server shoots to ~100% CPU usage in less than a second, stops sending anything, and audio abruptly ends as soon as the received data has been played back on the client.

System info:
Mac OS X 10.9.5
node v0.10.30

I tried this with different files, and it seems this is actually the same issue as #1. With a FLAC file, I got no further errors on the client, but with an MP3, I also get an UnderflowError as soon as the server hits 100% and stops sending anything.

P.S. Thank you for the great work so far, without this repo existing I might have lost the vision for my project ๐Ÿ˜„

Live Streaming with Aurora WS

Hi,

I have used your code to enable mp3 live streaming using FFMPEG
It is working as well as using AAC.

However, PCM seems to fail as well as any other format I was trying to use under IOS Safari.

Do you know maybe how to overcome this issue?

Thank You

Turn into an NPM package

Would be great to see this distributed as an NPM package, at the moment there is no way to use this package with dependency managers. Not even Bower.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.