OLD | NEW |
1 Test adding and removing tracks. | 1 Test adding and removing tracks. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS stream1.getAudioTracks().length is 1 | 6 PASS stream1.getAudioTracks().length is 1 |
7 PASS stream1.getVideoTracks().length is 1 | 7 PASS stream1.getVideoTracks().length is 1 |
8 PASS stream2.getAudioTracks().length is 1 | 8 PASS stream2.getAudioTracks().length is 1 |
9 PASS stream2.getVideoTracks().length is 1 | 9 PASS stream2.getVideoTracks().length is 1 |
10 PASS stream1.getAudioTracks().length is 0 | 10 PASS stream1.getAudioTracks().length is 0 |
11 PASS stream1.getTrackById(audioTrack.id) is null | 11 PASS stream1.getTrackById(audioTrack.id) is null |
12 PASS stream1.getVideoTracks().length is 0 | 12 PASS stream1.getVideoTracks().length is 0 |
13 PASS stream1.getTrackById(videoTrack.id) is null | 13 PASS stream1.getTrackById(videoTrack.id) is null |
14 PASS stream1.getAudioTracks().length is 1 | 14 PASS stream1.getAudioTracks().length is 1 |
15 PASS stream1.getVideoTracks().length is 1 | 15 PASS stream1.getVideoTracks().length is 1 |
16 PASS stream1.getAudioTracks()[0].kind is audioTrack.kind | 16 PASS stream1.getAudioTracks()[0].kind is audioTrack.kind |
17 PASS stream1.getAudioTracks()[0].label is audioTrack.label | 17 PASS stream1.getAudioTracks()[0].label is audioTrack.label |
18 PASS stream1.getVideoTracks()[0].kind is videoTrack.kind | 18 PASS stream1.getVideoTracks()[0].kind is videoTrack.kind |
19 PASS stream1.getVideoTracks()[0].label is videoTrack.label | 19 PASS stream1.getVideoTracks()[0].label is videoTrack.label |
20 PASS stream1.getAudioTracks().length is 1 | 20 PASS stream1.getAudioTracks().length is 1 |
21 PASS stream1.getVideoTracks().length is 1 | 21 PASS stream1.getVideoTracks().length is 1 |
22 PASS stream1.getAudioTracks().length is 2 | 22 PASS stream1.getAudioTracks().length is 2 |
23 PASS stream1.getVideoTracks().length is 2 | 23 PASS stream1.getVideoTracks().length is 2 |
24 PASS stream2.ended is true | 24 PASS stream2.ended is true |
25 PASS stream1.addTrack(audioTrack) threw exception Error: InvalidStateError: DOM
Exception 11. | 25 PASS stream1.addTrack(audioTrack) threw exception InvalidStateError: An attempt
was made to use an object that is not, or is no longer, usable.. |
26 PASS stream1.removeTrack(audioTrack) threw exception Error: InvalidStateError: D
OM Exception 11. | 26 PASS stream1.removeTrack(audioTrack) threw exception InvalidStateError: An attem
pt was made to use an object that is not, or is no longer, usable.. |
27 PASS successfullyParsed is true | 27 PASS successfullyParsed is true |
28 | 28 |
29 TEST COMPLETE | 29 TEST COMPLETE |
30 | 30 |
OLD | NEW |