mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 0b22439430b6d8d9a6d43a0908e86c0366f207c0
This commit is contained in:
parent
39ec04a065
commit
c8e806d0ef
93 changed files with 2118 additions and 597 deletions
|
@ -547,15 +547,17 @@ function validateMediaStreamTrackStats(statsReport, stats) {
|
|||
assert_optional_unsigned_int_field(stats, 'partialFramesLost');
|
||||
assert_optional_unsigned_int_field(stats, 'fullFramesLost');
|
||||
} else {
|
||||
assert_number_field(stats, 'audioLevel');
|
||||
assert_optional_number_field(stats, 'totalAudioEnergy');
|
||||
if (stats['remoteSource']) {
|
||||
assert_number_field(stats, 'audioLevel');
|
||||
assert_optional_number_field(stats, 'totalAudioEnergy');
|
||||
assert_optional_number_field(stats, 'totalSamplesDuration');
|
||||
}
|
||||
assert_optional_boolean_field(stats, 'voiceActivityFlag');
|
||||
assert_optional_number_field(stats, 'echoReturnLoss');
|
||||
assert_optional_number_field(stats, 'echoReturnLossEnhancement');
|
||||
|
||||
assert_optional_unsigned_int_field(stats, 'totalSamplesSent');
|
||||
assert_optional_unsigned_int_field(stats, 'totalSamplesReceived');
|
||||
assert_optional_number_field(stats, 'totalSamplesDuration');
|
||||
assert_optional_unsigned_int_field(stats, 'concealedSamples');
|
||||
assert_optional_unsigned_int_field(stats, 'concealmentEvents');
|
||||
assert_optional_number_field(stats, 'jitterBufferDelay');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue