soundcloud / areweplayingyet

html5 audio benchmarks
BSD 2-Clause "Simplified" License
311 stars 69 forks source link

Safari Mobile emulates byte ranges and doesn't keep connection open #5

Open yvg opened 13 years ago

yvg commented 13 years ago

This is an issue when stream gets invalid after an amount of time, resulting in a falsified timerange update and the impossibility to listen to long streams.

tsenart commented 13 years ago

This is not a problem with Safari. The problem is that our AWS S3 signed urls have a validity. Daniel increased recently the validity to 1.5 times the duration of the sound but if the user pauses for a long time and resumes afterwards the url will be invalid and nothing is retrieved. I am not sure if there is speced behavior for this.

yvg commented 13 years ago

We need to check according specs and rfc to see if this is a valid behavior.