-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial burst #3
Comments
Any solution for this ? I like to throttle an mp3 stream with init burst |
This comment has been minimized.
This comment has been minimized.
Awesome ! Thank you very much I am going to try it ! |
Works like a charm ! Thank you very much ! |
The above code links are now throttle.js and server.js After converting that to CoffeeScript I looked at it and realized it probably can't work for me. I'm throttling an audio stream before encoding it so that it's realtime, before sending the encoded data to multiple clients. I can't just add an extra throttle per client because it can't undo the original throttling. I managed to solve this with a simple initial burst from an array of chunks. I might make it into a module. |
In some applications (such as media streaming), it's desirable to send the beginning of a stream at a maximum rate to quickly fill client buffers. Similar to http://stackoverflow.com/a/32874710.
The text was updated successfully, but these errors were encountered: