WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
213107
timestampOffset doesn't subtract presentationTimestamp from m_groupStartTimestamp
https://bugs.webkit.org/show_bug.cgi?id=213107
Summary
timestampOffset doesn't subtract presentationTimestamp from m_groupStartTimes...
Yuki Sekiguchi
Reported
2020-06-11 19:02:07 PDT
Media Source spec defines
https://www.w3.org/TR/media-source/#sourcebuffer-coded-frame-processing
> 1.3.1 Set timestampOffset equal to group start timestamp - presentation timestamp.
The comment matches to the spec, but the code is different from the spec and the comment
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/Modules/mediasource/SourceBuffer.cpp?rev=%09262766#L1485
> 1485 // 1.3.1 Set timestampOffset equal to group start timestamp - presentation timestamp. > 1486 m_timestampOffset = m_groupStartTimestamp;
I couldn't create a content which reproduce this bug. Sorry.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-07-01 11:25:57 PDT
<
rdar://problem/96304755
>
Ahmad Saleem
Comment 2
2023-03-22 13:42:47 PDT
It is now correct:
https://searchfox.org/wubkat/source/Source/WebCore/platform/graphics/SourceBufferPrivate.cpp#684
and Safari is passing all WPT tests as well:
https://wpt.fyi/results/media-source/mediasource-timestamp-offset.html?label=master&label=experimental&aligned=&view=subtest&q=timestamp+offset
Yuki Sekiguchi
Comment 3
2023-03-22 23:54:24 PDT
Thank you for the information!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug