summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/webcodecs/audio-encoder-config.https.any.js.ini
blob: b7e073d1b616f1edf8b87df5130a24e3f1f595e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[audio-encoder-config.https.any.html]
  expected:
    if (os == "android") and fission: [OK, TIMEOUT]
  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Emtpy codec]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Unrecognized codec]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Sample rate is too small]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Sample rate is too large]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Too few channels]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Way too many channels]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Bit rate too big]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() doesn't support config:Too many channels]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() doesn't support config:Bitrate is too low]
    expected: FAIL

  [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":8000,"numberOfChannels":1}]
    expected: FAIL

  [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2}]
    expected: FAIL

  [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"bitrate":128000,"bogus":123}]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus complexity too big]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus packetlossperc too big]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus frame duration too small]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus frame duration too big]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Invalid Opus frameDuration]
    expected: FAIL

  [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"opus":{"complexity":5,"frameDuration":20000,"packetlossperc":10,"useinbandfec":true}}]
    expected: FAIL

  [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"opus":{"format":"opus","complexity":10,"frameDuration":60000,"packetlossperc":20,"usedtx":true,"bogus":456}}]
    expected: FAIL

  [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"opus":{}}]
    expected: FAIL


[audio-encoder-config.https.any.worker.html]
  expected:
    if (os == "android") and fission: [OK, TIMEOUT]
  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Emtpy codec]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Unrecognized codec]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Sample rate is too small]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Sample rate is too large]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Too few channels]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Way too many channels]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Bit rate too big]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() doesn't support config:Too many channels]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() doesn't support config:Bitrate is too low]
    expected: FAIL

  [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":8000,"numberOfChannels":1}]
    expected: FAIL

  [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2}]
    expected: FAIL

  [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"bitrate":128000,"bogus":123}]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus complexity too big]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus packetlossperc too big]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus frame duration too small]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Opus frame duration too big]
    expected: FAIL

  [Test that AudioEncoder.isConfigSupported() rejects invalid config:Invalid Opus frameDuration]
    expected: FAIL

  [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"opus":{"complexity":5,"frameDuration":20000,"packetlossperc":10,"useinbandfec":true}}]
    expected: FAIL

  [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"opus":{"format":"opus","complexity":10,"frameDuration":60000,"packetlossperc":20,"usedtx":true,"bogus":456}}]
    expected: FAIL

  [AudioEncoder.isConfigSupported() supports:{"codec":"opus","sampleRate":48000,"numberOfChannels":2,"opus":{}}]
    expected: FAIL