dunya icon indicating copy to clipboard operation
dunya copied to clipboard

Try and get fixed-bitrate audio seeking working

Open alastair opened this issue 11 years ago • 4 comments

Theoretically we should be able to seek into the middle of a file without it being 100% loaded if it's fixed-bitrate and we send the correct headers. Work out how to do this.

alastair avatar Feb 10 '14 10:02 alastair

Some technical notes in soundmanager docs: http://www.schillmania.com/projects/soundmanager2/doc/technotes/#byte-serving

alastair avatar Feb 13 '14 10:02 alastair

If people are listening to audio, we don't want them to be able to download it very easily. Restrict the speed to the bitrate of the audio.

At the same time, we need un-restricted access for people who have API access to the audio. It should be unrestricted if someone from staff is logged in, or they have a correct downloader auth token set.

alastair avatar Jun 03 '14 09:06 alastair

Not all browsers support byte serving very well. Current testing shows that IE 9 and 10 work with MP3. Firefox works with ogg and wav. Mp3 support is in Nightly, due to be released as Fx33 in October. Chrome and Safari is unknown, but it looks like neither windows nor Linux can do byte serving with mp3s.

alastair avatar Jun 16 '14 13:06 alastair

This is needed for @sankalpg very soon for his interfaces

alastair avatar Aug 13 '15 18:08 alastair