OSMF HTTP Stream seek bug...
(this posted in flash couldn't find osmf forum!)
hi,
i have built osmf player allows users seek when resuming, scrub beginning.
eg:
a stream 1 minute long.
user starts play @ 25 seconds.
user can scrub 5 seconds or forward 55 seconds.
this works rtmp - timetrait reports correctly , video displays correctly.
eg:
start @ 25 seconds, timetrait reports: duration = 60, current position = 25 , displaying video 25.
seek 5 seconds rewinds current duration = 60, position = 5, displaying video 5.
but...
with http streams...
start @ 25 seconds. timetrait reports: duration = 60, current position = 25 , displaying video 50.
seek 5 seconds rewinds before start of stream , gives me media complete... end of stream.
start @ 30 seconds, timetrait reports duration = 60, current position = 30 , displaying video 60 so gives me media complete... end of stream.
it pretty clear happening http stream seeking resetting start index seek point, if had started play with:
netstream.play(seekpoint);
rather than:
netstream.play();
netstream.seek(seekpoint);
this, hasten add, horrendous issue client's point of view means cannot allow resume of content.
does have ideas, workarounds?
g
hi,
please use latest osmf and, if still replicates, please provide stream example , sample code.
More discussions in Developers
adobe
Comments
Post a Comment