Is it feasible to implement seeking to not-yet-downloaded positions?

  • 1
  • Question
  • Updated 5 years ago
  • Answered
It would be great if we could call setPosition() for any offset in the file and SM2 would start downloading immediately from there if the browser/transport supported that. For example, flash supports this pretty well via rtmp. Some browsers support "psuedostreaming" using range http headers (or params).

I'd like to host a 3-hour m4a file on s3/cloudfront and be able to seek to any position (without progressive downloading) on all major browsers by a combination of flash/rtmp and html5/http.

So, have you tried implementing this? Do you know if it would be worth it for someone else to try?
Photo of stuntbeard


  • 1 Post
  • 0 Reply Likes
  • thankful

Posted 5 years ago

  • 1
Photo of Scott

Scott, Official Rep

  • 3873 Posts
  • 253 Reply Likes
In HTML5, "pseudo-streaming" is a possibility provided that support is present for things like range requests (HTTP partials) on the server side.

Via RTMP, I think you can seek to arbitrary positions once the stream is "ready", and connected.