WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
135291
[MSE] YouTube playback stalls & readyState drops to HAVE_CURRENT_DATA at end of stream with unbalanced buffered SourceBuffers
https://bugs.webkit.org/show_bug.cgi?id=135291
Summary
[MSE] YouTube playback stalls & readyState drops to HAVE_CURRENT_DATA at end ...
Jer Noble
Reported
2014-07-25 09:04:13 PDT
[MSE] Playback stalls & readyState drops to HAVE_CURRENT_DATA at end of stream with unbalanced buffered SourceBuffers
Attachments
Patch
(13.47 KB, patch)
2014-07-25 10:55 PDT
,
Jer Noble
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2
(502.70 KB, application/zip)
2014-07-25 11:58 PDT
,
Build Bot
no flags
Details
Patch
(14.58 KB, patch)
2014-07-25 13:26 PDT
,
Jer Noble
sam
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jon Lee
Comment 1
2014-07-25 10:17:12 PDT
<
rdar://problem/17715503
>
Jer Noble
Comment 2
2014-07-25 10:55:52 PDT
Created
attachment 235525
[details]
Patch
Jon Lee
Comment 3
2014-07-25 11:42:11 PDT
Comment on
attachment 235525
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=235525&action=review
> Source/WebCore/Modules/mediasource/SourceBuffer.cpp:1462 > + MediaTime start = length ? virtualRanges->end(length - 1) : MediaTime::zeroTime();
Is the added check necessary since an invalid index will return zeroTime() anyway?
Build Bot
Comment 4
2014-07-25 11:58:34 PDT
Comment on
attachment 235525
[details]
Patch
Attachment 235525
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/5917561690521600
New failing tests: media/track/add-and-remove-track.html
Build Bot
Comment 5
2014-07-25 11:58:37 PDT
Created
attachment 235535
[details]
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-09 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Jer Noble
Comment 6
2014-07-25 13:26:03 PDT
Created
attachment 235539
[details]
Patch
Sam Weinig
Comment 7
2014-07-25 14:39:43 PDT
Comment on
attachment 235539
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=235539&action=review
> Source/WebCore/ChangeLog:3 > + [MSE] Playback stalls & readyState drops to HAVE_CURRENT_DATA at end of stream with unbalanced buffered SourceBuffers
Please add the radar for future Sam's sake and also change the title to explain why this is important (aka Youtube is broken).
> Source/WebCore/platform/graphics/PlatformTimeRanges.h:54 > > + MediaTime start(unsigned index) const; > MediaTime start(unsigned index, bool& valid) const; > + MediaTime end(unsigned index) const; > MediaTime end(unsigned index, bool& valid) const; > + MediaTime duration(unsigned index) const; > + MediaTime maximumBufferedTime() const;
You don't have to do this now, but you should eventually switch these to return Optional<MediaTime> if they can fail.
Jer Noble
Comment 8
2014-07-25 14:48:40 PDT
Comment on
attachment 235539
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=235539&action=review
>> Source/WebCore/ChangeLog:3 >> + [MSE] Playback stalls & readyState drops to HAVE_CURRENT_DATA at end of stream with unbalanced buffered SourceBuffers > > Please add the radar for future Sam's sake and also change the title to explain why this is important (aka Youtube is broken).
Will do.
>> Source/WebCore/platform/graphics/PlatformTimeRanges.h:54 >> + MediaTime maximumBufferedTime() const; > > You don't have to do this now, but you should eventually switch these to return Optional<MediaTime> if they can fail.
Neat, I learned something new today.
Jer Noble
Comment 9
2014-07-25 15:39:26 PDT
Committed
r171624
: <
http://trac.webkit.org/changeset/171624
>
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