mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Update web-platform-tests to revision e29e596073468910d8655a8ec23262f17543e147
This commit is contained in:
parent
e56db1f322
commit
5e2118728a
67 changed files with 1403 additions and 821 deletions
|
@ -69,11 +69,6 @@ function validateSenderRtpParameters(param) {
|
|||
When getParameters is called, the RTCRtpParameters dictionary is constructed
|
||||
as follows:
|
||||
|
||||
- encodings is populated based on SSRCs and RIDs present in the current remote
|
||||
description, including SSRCs used for RTX and FEC, if signaled. Every member
|
||||
of the RTCRtpEncodingParameters dictionaries other than the SSRC and RID fields
|
||||
is left undefined.
|
||||
|
||||
- The headerExtensions sequence is populated based on the header extensions that
|
||||
the receiver is currently prepared to receive.
|
||||
|
||||
|
@ -144,15 +139,6 @@ function validateRtpParameters(param) {
|
|||
|
||||
/*
|
||||
dictionary RTCRtpEncodingParameters {
|
||||
[readonly]
|
||||
unsigned long ssrc;
|
||||
|
||||
[readonly]
|
||||
RTCRtpRtxParameters rtx;
|
||||
|
||||
[readonly]
|
||||
RTCRtpFecParameters fec;
|
||||
|
||||
RTCDtxStatus dtx;
|
||||
boolean active;
|
||||
RTCPriorityType priority;
|
||||
|
@ -166,16 +152,6 @@ function validateRtpParameters(param) {
|
|||
double scaleResolutionDownBy;
|
||||
};
|
||||
|
||||
dictionary RTCRtpRtxParameters {
|
||||
[readonly]
|
||||
unsigned long ssrc;
|
||||
};
|
||||
|
||||
dictionary RTCRtpFecParameters {
|
||||
[readonly]
|
||||
unsigned long ssrc;
|
||||
};
|
||||
|
||||
enum RTCDtxStatus {
|
||||
"disabled",
|
||||
"enabled"
|
||||
|
@ -189,18 +165,6 @@ function validateRtpParameters(param) {
|
|||
};
|
||||
*/
|
||||
function validateEncodingParameters(encoding) {
|
||||
assert_optional_unsigned_int_field(encoding, 'ssrc');
|
||||
|
||||
assert_optional_dict_field(encoding, 'rtx');
|
||||
if(encoding.rtx) {
|
||||
assert_unsigned_int_field(encoding.rtx, 'ssrc');
|
||||
}
|
||||
|
||||
assert_optional_dict_field(encoding, 'fec');
|
||||
if(encoding.fec) {
|
||||
assert_unsigned_int_field(encoding.fec, 'ssrc');
|
||||
}
|
||||
|
||||
assert_optional_enum_field(encoding, 'dtx',
|
||||
['disabled', 'enabled']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue