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

  • Question
  • Updated 3 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).

http://www.longtailvideo.com/support/...

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 stuntbeardS

stuntbeard

  • 1 Post
  • 0 Likes
  • thankful

Posted 3 years ago

  • 1
Photo of Scott

Scott, Official Rep

  • 3780 Posts
  • 241 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.