Closed
Bug 522114
Opened 13 years ago
Closed 13 years ago
can only play the first few minutes of a video
Categories
(Core :: Audio/Video, defect, P2)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
status1.9.2 | --- | beta2-fixed |
People
(Reporter: blizzard, Assigned: roc)
References
()
Details
(Keywords: regression)
Attachments
(2 files)
736 bytes,
patch
|
cajbir
:
review+
|
Details | Diff | Splinter Review |
8.73 KB,
patch
|
kinetik
:
review+
|
Details | Diff | Splinter Review |
I think that we're not able to play past the end of the media cache. On the video above we play the first five minutes of the video and then it stops and shows itself at the end of the video. (The video is 15 minutes long, is about 146MB in size and it stops at about 5 minutes. I think our default media cache is 50MB?) Works OK in Firefox 3.5.
Reporter | ||
Updated•13 years ago
|
Flags: blocking1.9.2?
Comment 1•13 years ago
|
||
Two problems here: The media cache doesn't seem to be releasing blocks once they're played, so once the cache fills we continuously suspend and resume the stream to allow playback to continue. When the video ends prematurely, we've just resumed the stream. We get one OnDataAvailable callback on the stream, then an OnStopRequest which causes the media cache to treat the stream as ended.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → roc
Flags: blocking1.9.2? → blocking1.9.2+
Assignee | ||
Comment 2•13 years ago
|
||
Stupid bug made us think we were always pinned. To test this properly we need support for 'buffered'.
Attachment #406172 -
Flags: review?(chris.double)
Assignee | ||
Comment 3•13 years ago
|
||
We should reopen if the connection closes after a resume, even if it appeared to close normally. We still end prematurely if the connection is not seekable and we suspend, then the server closes our connection. That's just too bad, there's really no way to handle these scenarios. Fortunately with the pinning bug fixed we won't suspend nearly as much.
Attachment #406173 -
Flags: review?(kinetik)
Assignee | ||
Updated•13 years ago
|
Whiteboard: [needs review]
Updated•13 years ago
|
Attachment #406172 -
Flags: review?(chris.double) → review+
Updated•13 years ago
|
Attachment #406173 -
Flags: review?(kinetik) → review+
Assignee | ||
Updated•13 years ago
|
Whiteboard: [needs review] → [needs landing]
Updated•13 years ago
|
Priority: -- → P2
Assignee | ||
Comment 4•13 years ago
|
||
Checked in: http://hg.mozilla.org/mozilla-central/rev/d02342520b16 http://hg.mozilla.org/mozilla-central/rev/9de290615b21 Disabled test_resume because it's failing sometimes: http://hg.mozilla.org/mozilla-central/rev/50796c65175d
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Whiteboard: [needs landing] → [needs 192 landing]
Assignee | ||
Comment 5•13 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/efb34f0db626 http://hg.mozilla.org/releases/mozilla-1.9.2/rev/aeb61beac373
status1.9.2:
--- → final-fixed
Whiteboard: [needs 192 landing]
Assignee | ||
Comment 6•13 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/5e9f965502ef
You need to log in
before you can comment on or make changes to this bug.
Description
•