Skip to content

Commit

Permalink
mediacapabilities: ignore audio/red in tests
Browse files Browse the repository at this point in the history
BUG=chromium:1240649,webrtc:11640

Change-Id: I9a0abeec057c64a17ce0f681664ae4c7c46eb706
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3100128
Reviewed-by: Johannes Kron <kron@chromium.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/master@{#912633}
  • Loading branch information
fippo authored and chromium-wpt-export-bot committed Aug 17, 2021
1 parent 57fe7dd commit dedaeb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion media-capabilities/decodingInfo.webrtc.html
Expand Up @@ -152,7 +152,7 @@
var validAudioCodecs = (() => {
// Some codecs that are returned by getCapabilities() are not real codecs,
// exclude these from the test.
var excludeList = [ 'audio/CN', 'audio/telephone-event' ];
var excludeList = [ 'audio/CN', 'audio/telephone-event', 'audio/red' ];
var audioCodecs = [];
RTCRtpReceiver.getCapabilities("audio")['codecs'].forEach(codec => {
if (excludeList.indexOf(codec.mimeType) < 0 &&
Expand Down
2 changes: 1 addition & 1 deletion media-capabilities/encodingInfo.webrtc.html
Expand Up @@ -152,7 +152,7 @@
var validAudioCodecs = (() => {
// Some codecs that are returned by getCapabilities() are not real codecs,
// exclude these from the test.
var excludeList = [ 'audio/CN', 'audio/telephone-event' ];
var excludeList = [ 'audio/CN', 'audio/telephone-event', 'audio/red' ];
var audioCodecs = [];
RTCRtpSender.getCapabilities("audio")['codecs'].forEach(codec => {
if (excludeList.indexOf(codec.mimeType) < 0 &&
Expand Down

0 comments on commit dedaeb0

Please sign in to comment.