|
MSE: Start letting SourceBuffer begin to do initialization segment received algorithm
This change is the first in a three-sided set of changes, and introduces
WebSourceBufferClient for handling media engine notifications
of newly received initialization segments.
It adds logic to make the addition of a SourceBuffer into
MediaSource.activeSourceBuffers more compliant once all three sides
land: addition will be done per the MSE spec's first initialization
flag logic rather than other non-compliant approaches like at
addSourceBuffer() time or on transition to HAVE_METADATA. Insertion
logic is included to preserve correct ordering of
activeSourceBuffers.
Updated and new layout tests are included.
R=acolwell@chromium.org,philipj@opera.com,tkent@chromium.org
TEST=No mediasource layout test regression
BUG= 249428, 397243
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181861
Total comments: 6
Total comments: 16
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+240 lines, -62 lines) |
Patch |
 |
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/media/media-source/mediasource-addsourcebuffer.html
|
View
|
|
7 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/media/media-source/mediasource-append-buffer.html
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/media/media-source/mediasource-append-legacystream.html
|
View
|
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/media/media-source/mediasource-buffered.html
|
View
|
1
|
7 chunks |
+65 lines, -21 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/media/media-source/mediasource-buffered-expected.txt
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/media/media-source/mediasource-removesourcebuffer.html
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/media/media-source/mediasource-sourcebufferlist.html
|
View
|
1
2
3
4
|
4 chunks |
+36 lines, -12 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/media/media-source/mediasource-sourcebufferlist-expected.txt
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/media/media-source/mediasource-util.js
|
View
|
1
2
3
4
|
3 chunks |
+12 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/modules/mediasource/MediaSource.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/modules/mediasource/MediaSource.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+26 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/modules/mediasource/SourceBuffer.h
|
View
|
1
2
3
4
|
4 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/modules/mediasource/SourceBuffer.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/modules/mediasource/SourceBufferList.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/modules/mediasource/SourceBufferList.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
public/platform/WebSourceBuffer.h
|
View
|
1
2
3
4
5
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A |
public/platform/WebSourceBufferClient.h
|
View
|
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
Total messages: 16 (4 generated)
|