[Webkit-unassigned] [Bug 227865] New: [MSE] SourceBuffer.appendState is only ever WaitingForSegment
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 11 20:04:14 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=227865
Bug ID: 227865
Summary: [MSE] SourceBuffer.appendState is only ever
WaitingForSegment
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jean-yves.avenard at apple.com
Per MSE spec, a source buffer has a parsing state attribute that can be of any 3 values: WAITING_FOR_SEGMENT, PARSING_INIT_SEGMENT, PARSING_MEDIA_SEGMENT
https://w3c.github.io/media-source/#sourcebuffer-segment-parser-loop
This internal state is used to safeguard incorrectly calling SourceBuffer.setAppendMode [1] or modifying SourceBuffer.timeStampOffset [2] while we're in the middle of processing a media segment and to throw an exception if we are.
https://w3c.github.io/media-source/#dom-sourcebuffer-mode
https://w3c.github.io/media-source/#dom-sourcebuffer-timestampoffset
However, in the current code, SourceBuffer::m_appendState is only ever set to AppendStateType::WaitingForSegment
The state value should be updated in the Segment Parser Loop that is handled by SourceBufferPrivate but isn't.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210712/9967f752/attachment-0001.htm>
More information about the webkit-unassigned
mailing list