Closed
Bug 1123202
Opened 10 years ago
Closed 10 years ago
Call to removeSourceBuffer should abort pending buffer append
Categories
(Core :: Audio/Video, defect, P2)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: jya, Assigned: jya)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
2.64 KB,
patch
|
cajbir
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Per spec:
http://w3c.github.io/media-source/#widl-MediaSource-removeSourceBuffer-void-SourceBuffer-sourceBuffer
"When this method is invoked, the user agent must run the following steps:
1.If sourceBuffer specifies an object that is not in sourceBuffers then throw a NotFoundError exception and abort these steps.
2.If the sourceBuffer.updating attribute equals true, then run the following steps:
1.Abort the buffer append and stream append loop algorithms if they are running.
2.Set the sourceBuffer.updating attribute to false.
3.Queue a task to fire a simple event named abort at sourceBuffer.
4.Queue a task to fire a simple event named updateend at sourceBuffer.
"
Currently it does nothing.
Updated•10 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•10 years ago
|
||
properly issue abort/updateend when a source buffer is removed.
Attachment #8553001 -
Flags: review?(cajbir.bugzilla)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jyavenard
Status: NEW → ASSIGNED
Comment 2•10 years ago
|
||
Comment on attachment 8553001 [details] [diff] [review]
Execute abort() when detaching source buffer
Review of attachment 8553001 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/media/mediasource/SourceBuffer.h
@@ +78,5 @@
> void AppendBuffer(const ArrayBuffer& aData, ErrorResult& aRv);
> void AppendBuffer(const ArrayBufferView& aData, ErrorResult& aRv);
>
> void Abort(ErrorResult& aRv);
> + void Abort();
Add comment differentiating this from the Abort function above it.
Attachment #8553001 -
Flags: review?(cajbir.bugzilla) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Comment 5•10 years ago
|
||
Comment on attachment 8553001 [details] [diff] [review]
Execute abort() when detaching source buffer
Approval Request Comment
[Feature/regressing bug #]: MSE
[User impact if declined]: Less consistent testing. Sites more likely to serve flash video.
[Describe test coverage new/current, TreeHerder]: Landed on m-c.
[Risks and why]: This is an MSE-specific change for spec compliance. Risk is low.
[String/UUID change made/needed]: None.
Attachment #8553001 -
Flags: approval-mozilla-beta?
Attachment #8553001 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Updated•10 years ago
|
Attachment #8553001 -
Flags: approval-mozilla-beta?
Attachment #8553001 -
Flags: approval-mozilla-beta+
Attachment #8553001 -
Flags: approval-mozilla-aurora?
Attachment #8553001 -
Flags: approval-mozilla-aurora+
Comment 6•10 years ago
|
||
Assignee | ||
Comment 7•10 years ago
|
||
There's another place that I had missed
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 8•10 years ago
|
||
Spawned into bug 1128115. This patch actually fixed SourceBufferList.Remove rather than MediaSource.removeSourceBuffer.
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•