I am implementing a video player in Actionscript and I need to be able to define the starting play time for the videos. Netstream.seek(pos) works for flv files but fails for H.264 files (the player starts playing the video from the beginning). Anyone knows what might be the problem?
(I am using Netstream for this instead of adding a parameter with the starting time when I call the Netstream.play method because I don't have Flash Media Server).
canseekontime = true
in video metadata and server support. for seeking to a keyframe you need to find a fileposition inkeyframes.filepositions
with the same index askeyframes.times
item that's closest to your target time. after you know it you'll have to do something likestream.play(path.extension?start=12345[fileposition you need])
depending on server implementation – www0z0k