# Seek to end of netstream?

**URL:** <https://forum.kirupa.com/t/seek-to-end-of-netstream/326846>\
**Category:** flash\
**Created:** [January 16, 2012, 12:34pm UTC](https://forum.kirupa.com/t/seek-to-end-of-netstream/326846 "2012-01-16T12:34:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fikontrollet](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Post date:** [January 16, 2012, 12:34pm UTC](https://forum.kirupa.com/t/seek-to-end-of-netstream/326846/1 "2012-01-16T12:34:26Z")

</div>

Heyo  
I’m quite sure I haven’t had this issue before. So maybe someone here can figure out what’s up and why it happens.

Problem:  
I’m playing a stream locally, but when I seek to the absolute end I get this error thrown : NetStream.Seek.InvalidTime

I’m using a H.264 encoded movie.  
I can seek to about 99%, but whatever codec I use (f4v, flv, h.264) wont let me seek to 100%.

Event though i get metadata.canSeekToEnd = true on both f4v and flv, (false on h.264) it still works better on h264 than with flv or f4v. Weird

Thoughts?
