Seeks to the key frame at (or the first one after) the given timestamp. This method will always fail for any IContainer that is not seekable (e.g. is streamed). When successful the next call to {@link #readNextPacket(IPacket)} will get the next keyframe from the sought for stream.
If the current thread is interrupted while this blocking method is running the method will return with a negative value. To check if the method exited because of an interruption pass the return value to {@link IError#make(int)} and then check {@link IError#getType()} to see if it is {@link IError.Type#ERROR_INTERRUPTED}.
WARNING:: This method will be deprecated in a future Xuggler release and replaced with the new API {@link #seekKeyFrame(int,long,long,long,int)}.
@param streamIndex The stream to search for the keyframe in; must be a stream the IContainer has either queried meta-data about or already ready a packet for.
@param timestamp The timestamp, in the timebase of the stream you're looking in (not necessarily Microseconds).
@param flags Flags to pass to com.xuggle.xuggler.io.IURLProtocolHandler's seek method.
@return >= 0 on success; <0 on failure.