Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Issue 2076673005: MSE: Plumb ChunkDemuxer appendData failures into append Error algorithm (Closed)

Created:
4 years, 6 months ago by wolenetz
Modified:
4 years, 6 months ago
Reviewers:
chcunningham, foolip, dcheng
CC:
chromium-reviews, posciak+watch_chromium.org, blink-reviews, mlamouri+watch-blink_chromium.org, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, haraken, blink-reviews-api_chromium.org, servolk
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MSE: Run appendError on appendData failures This change lets ChunkDemuxer::AppendData signal parse failure back to Blink SourceBuffer by its return value. SourceBuffer synchronously uses that signal to run the append error algorithm (which can enqueue an 'error' event on the SourceBuffer, among other steps). In parallel, ChunkDemuxer::ReportError_Locked() still notifies WMPI and HTMLMediaElement asynchronously via Pipeline of the error state. BUG=620903 TEST=Updated mediasource-errors.html, ChunkDemuxerTests, PipelineIntegrationTests Committed: https://crrev.com/4f0ed2f67852f56ecc8d5ca1605b1ff81a26afd9 Cr-Commit-Position: refs/heads/master@{#401439}

Patch Set 1 #

Patch Set 2 : Fixed the 3 media_unittests crash regressions from PS1 #

Patch Set 3 : Fixed the 5 ChunkDemuxerTest non-crash regressions from PS1 #

Patch Set 4 : Fixed the 3 non-crash PipelineIntegrationTest regressions from PS1 #

Patch Set 5 : Fixed the layout test #

Total comments: 8

Patch Set 6 : Fix flaky layout test and addressed Philip's and dcheng@'s comments #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+415 lines, -314 lines) Patch
M media/blink/websourcebuffer_impl.h View 1 chunk +3 lines, -4 lines 0 comments Download
M media/blink/websourcebuffer_impl.cc View 1 2 3 4 5 6 2 chunks +7 lines, -6 lines 0 comments Download
M media/filters/chunk_demuxer.h View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M media/filters/chunk_demuxer.cc View 1 2 3 4 5 6 4 chunks +5 lines, -7 lines 0 comments Download
M media/filters/chunk_demuxer_unittest.cc View 1 2 3 4 5 6 90 chunks +251 lines, -233 lines 0 comments Download
M media/test/pipeline_integration_test.cc View 1 2 3 4 5 6 12 chunks +39 lines, -26 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-errors.html View 1 2 3 4 5 11 chunks +39 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasource/SourceBuffer.h View 1 2 3 4 5 6 2 chunks +13 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp View 1 2 3 4 5 6 7 chunks +47 lines, -28 lines 0 comments Download
M third_party/WebKit/public/platform/WebSourceBuffer.h View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebSourceBufferClient.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2076673005/80001
4 years, 6 months ago (2016-06-18 00:18:17 UTC) #5
wolenetz
Please take a look at patch set 5: chcunningham@: everything foolip@: OWNERS review for third_party/WebKit/public/platform/WebSourceBuffer.h ...
4 years, 6 months ago (2016-06-18 00:27:55 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-18 01:53:38 UTC) #8
dcheng
https://codereview.chromium.org/2076673005/diff/80001/third_party/WebKit/public/platform/WebSourceBuffer.h File third_party/WebKit/public/platform/WebSourceBuffer.h (right): https://codereview.chromium.org/2076673005/diff/80001/third_party/WebKit/public/platform/WebSourceBuffer.h#newcode40 third_party/WebKit/public/platform/WebSourceBuffer.h:40: class WebSourceBuffer { This is obviously a preexisting class, ...
4 years, 6 months ago (2016-06-18 06:20:06 UTC) #10
foolip
https://codereview.chromium.org/2076673005/diff/80001/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h File third_party/WebKit/Source/modules/mediasource/SourceBuffer.h (right): https://codereview.chromium.org/2076673005/diff/80001/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h#newcode135 third_party/WebKit/Source/modules/mediasource/SourceBuffer.h:135: // |decodeError| is only valid if |runAppendError| is true. ...
4 years, 6 months ago (2016-06-20 12:04:17 UTC) #11
chcunningham
Will get to this first thing tomorrow.
4 years, 6 months ago (2016-06-21 02:00:01 UTC) #12
wolenetz
On 2016/06/21 02:00:01, chcunningham wrote: > Will get to this first thing tomorrow. Layout test ...
4 years, 6 months ago (2016-06-21 17:47:44 UTC) #13
wolenetz
Please take a look. Same review coverage as before (with 1 additional public/platform file) https://codereview.chromium.org/2076673005/diff/80001/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h ...
4 years, 6 months ago (2016-06-21 19:38:09 UTC) #14
chcunningham
lgtm Nice! Couldn't find any issues.
4 years, 6 months ago (2016-06-21 21:17:30 UTC) #15
foolip
lgtm https://codereview.chromium.org/2076673005/diff/80001/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h File third_party/WebKit/Source/modules/mediasource/SourceBuffer.h (right): https://codereview.chromium.org/2076673005/diff/80001/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h#newcode135 third_party/WebKit/Source/modules/mediasource/SourceBuffer.h:135: // |decodeError| is only valid if |runAppendError| is ...
4 years, 6 months ago (2016-06-22 12:39:52 UTC) #16
wolenetz
On 2016/06/22 12:39:52, Philip Jägenstedt wrote: > lgtm > > https://codereview.chromium.org/2076673005/diff/80001/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h > File third_party/WebKit/Source/modules/mediasource/SourceBuffer.h (right): ...
4 years, 6 months ago (2016-06-22 19:06:52 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2076673005/100001
4 years, 6 months ago (2016-06-22 19:07:27 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/24983) ios-device-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 6 months ago (2016-06-22 19:10:11 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2076673005/120001
4 years, 6 months ago (2016-06-22 21:25:17 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 6 months ago (2016-06-22 22:55:35 UTC) #26
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 22:57:46 UTC) #28
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4f0ed2f67852f56ecc8d5ca1605b1ff81a26afd9
Cr-Commit-Position: refs/heads/master@{#401439}

Powered by Google App Engine
This is Rietveld 408576698