forked from WebPlatformForEmbedded/WPEWebKit
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #409 from LibertyGlobal/jmanko/webrtc_upstream_intake
ONEM-36369: Intake of recent WebRTC-related commits from upstream
- Loading branch information
Showing
14,165 changed files
with
2,529,020 additions
and
766,838 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
4843f46ea7b6b6e17470e670d9c9f748c3455720 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
LayoutTests/http/tests/webcodecs/hevc-reordering-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
PASS Test HEVC reordering | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<script src="../../resources/testharness.js"></script> | ||
<script src="../../resources/testharnessreport.js"></script> | ||
</head> | ||
<body> | ||
<script> | ||
let decoder; | ||
promise_test(async () => { | ||
const response = await fetch("/media-resources/media-source/content/test-bframes-hevc.mp4"); | ||
const buffer = await response.arrayBuffer(); | ||
const hvcCOffset = [705, 130]; | ||
const frames = [ | ||
[99, 3973, 46304], | ||
[366, 50277, 4531], | ||
[233, 54808, 1371], | ||
[167, 56179, 379], | ||
[133, 56558, 172], | ||
[199, 56730, 120], | ||
[300, 56850, 313], | ||
[266, 57163, 112], | ||
[333, 57275, 150], | ||
[633, 57425, 6427] | ||
]; | ||
|
||
let frameTimestamps = []; | ||
decoder = new VideoDecoder({ | ||
output(frame) { | ||
frameTimestamps.push(frame.timestamp); | ||
frame.close(); | ||
}, | ||
error(e) { | ||
console.log(e); | ||
} | ||
}); | ||
decoder.configure({ | ||
codec: 'hev1.1.6.L120.90', | ||
codedWidth: 852, | ||
codedHeight: 480, | ||
visibleRect: {x: 0, y: 0, width: 852, height: 480}, | ||
displayWidth: 852, | ||
displayHeight: 480, | ||
format: 'hevc', | ||
description: new Uint8Array(buffer, hvcCOffset[0], hvcCOffset[1]) | ||
}); | ||
|
||
chunks = frames.map((frame, i) => new EncodedVideoChunk({type: i == 0 ? 'key' : 'delta', timestamp: frame[0], duration: 1, data: new Uint8Array(buffer, frame[1], frame[2])})); | ||
|
||
chunks.forEach(chunk => decoder.decode(chunk)); | ||
await decoder.flush(); | ||
|
||
assert_array_equals(frameTimestamps, frames.map(frame => frame[0]).sort((a,b) => a - b), "timestamps are ordered"); | ||
}, "Test HEVC reordering"); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...sts/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-capture-video.https-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT Capturing a video element and sending it via PeerConnection Test timed out | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
...s/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-track-stats.https-expected.txt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.