following problem: i want to build a audio player which retrieves an InputStream from the HttpClient (Apache HttpClient) and play it (i use JLayer for the playback).
I can play the audio streams without any problem, but i cannot "scroll in the stream", because i dont know how much has been already downloaded into ram.
I found the skip method but i'm not sure if thats what im looking for, because it looks like it just reads and jumps over the byte, which means i download it twice.
Because you know everything, one further question
I'd like to show the amount of already downloaded bytes in the JSlider.
In some players theres a grey bar which shows the user how far he can play forward, is there something already implemented in the jslider?
I didnt find anything... or how could this be realized?
Thanks in advance
Joined: Jun 20, 2009
i open a new thread in the swing section
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com