- From: <bugzilla@jessica.w3.org>
- Date: Mon, 11 Feb 2013 14:32:35 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20948
Bug ID: 20948
Summary: timestampOffset should reopen media source just like
append
Classification: Unclassified
Product: HTML WG
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Media Source Extensions
Assignee: adrianba@microsoft.com
Reporter: adrianba@microsoft.com
QA Contact: public-html-bugzilla@w3.org
CC: mike@w3.org, public-html-media@w3.org
Currently step 5 of the appendArrayBuffer|Stream methods reopens the media
source if its state is "ended". However, the timestampOffset throws
INVALID_STATE_ERR in this situation. This means that if you can't set the
timestamp offset and then append without doing something else to cause the
media source to be reopened first.
Proposal: Change step 3 of the timestampOffset property setting to match steps
4 and 5 of appendArrayBuffer:
"If the readyState attribute of the parent media source is not in the "open"
state, then throw an INVALID_STATE_ERR exception and abort these steps."
becomes
"If the readyState attribute of the parent media source is in the "closed"
state then throw an INVALID_STATE_ERR exception and abort these steps.
If the readyState attribute of the parent media source is in the "ended" state
then run the following steps:
1.Set the readyState attribute of the parent media source to "open"
2.Queue a task to fire a simple event named sourceopen at the parent media
source."
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 11 February 2013 14:32:37 UTC