Is it possible to avoid downloading song up to the supplied position using SoundManager2?

Posted by dinjas on Stack Overflow See other posts from Stack Overflow or by dinjas
Published on 2012-08-20T02:02:59Z Indexed on 2012/09/13 3:39 UTC
Read the original article Hit count: 268

I'm using the SoundManager2 JavaScript SDK on a site that streams synchronized audio from SoundCloud to multiple clients simultaneously. When a new user loads the page, the audio is loaded, and a position parameter is set to specify where playback should begin.

The problem arises when the track is really long (say 60 minutes), and the current track position is substantially far into the track (e.g. 30 minutes). When this is the case, it takes a really long time before playback begins because the track has to download/buffer up to the current position. Is there a way to avoid downloading the 30 minutes of audio that I don't need?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about soundcloud