Serving Audio Data From A Java Servlet For An Html5 Audio Control
This may be a Servlets question or an HTML5 question, depending on what the solution turns out to be... :) I've got a (Tomcat) Servlet serving up short clips of audio which are the
Solution 1:
is there a way in HTML to request that the browser buffer the entire audio file on playing in order to allow replays rather than the server needing necessarily to support range requests?
Even if there is, it will not be supported on all browsers, especially mobiles/ipads/etc.
does anyone have any experience of responding to range requests from a Servlet?
There's implementation provided by BalusC. I have ported it to my environment and, apart some minor issues, (which are most likely unrelated to the implementation but to the client side specifics) it works great.
Post a Comment for "Serving Audio Data From A Java Servlet For An Html5 Audio Control"