Ticket #999 (closed bug: worksforme)
HTTP media provider, when seeking towards the end, sometimes goes into infinite buffer
| Reported by: | pablo | Owned by: | jeroen |
|---|---|---|---|
| Priority: | Milestone: | Flash 5.3 | |
| Component: | Keywords: | ||
| Cc: | Forum thread: |
Description
This is something of an edge case; requires the following conditions to be met to occur:
- HTTP streamer
- Flash 10.1
- User seeks to unloaded area of the stream towards the end
- Repeat set to something other than none
Sometimes (but not always) the stream will hang.
Change History
comment:2 Changed 3 years ago by pablo
- Status changed from new to closed
- Resolution set to fixed
Fixed in 1151
comment:3 Changed 3 years ago by pablo
- Status changed from closed to reopened
- Resolution fixed deleted
- Milestone changed from Flash 5.2 to Flash 5.3
Gotten some reports that this behavior is still broken in IE8.
See: forum thread
comment:4 Changed 3 years ago by jeroen
A Bits customer has the same issue. Could actually have another cause as well (the server not returning the keyframe the client asked for). I'd be happy to investigate this one, since I have a hunch on where things are wrong.
comment:5 Changed 3 years ago by pablo
- Owner changed from pablo to jeroen
- Status changed from reopened to new
comment:6 Changed 3 years ago by jeroen
- Status changed from new to closed
- Resolution set to worksforme
The "infinite buffer" does seem to be fixed. Unable to reproduce it on WIN/IE8, WIN/FF, MAC/FF, MAC/Safari, with videos that consistently fail in 5.2
Responded to the forum thread as well. My guess is that the PHP scripts used by these customers from time to time completely stall in pushing bytes out, causing either the stream to collapse or the NetStream object to fire NetStream.Play.Stop events.

This appears to be due to a bug in Flash, where a NetSream.play() closely follows a NetStream.close() called near the end of a clip in some cases. Removing the reference to NetStream.stop() in the complete() function seems to resolve the issue.