OLD | NEW |
| (Empty) |
1 Tests that an RTCPeerConnection can signal that remote streams are added and rem
oved. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS local_stream.getAudioTracks()[0].remote is false | |
7 PASS local_stream.getVideoTracks()[0].remote is false | |
8 PASS pc.setRemoteDescription(sessionDescription, requestSucceeded1, requestFaile
dUnexpectedly); did not throw exception. | |
9 PASS remote stream was added | |
10 PASS event.stream.getVideoTracks().length is 1 | |
11 PASS event.stream.getAudioTracks().length is 1 | |
12 PASS event.stream.active is true | |
13 PASS event.stream.getAudioTracks()[0].remote is true | |
14 PASS event.stream.getVideoTracks()[0].remote is true | |
15 PASS requestSucceeded was called. | |
16 PASS pc.getRemoteStreams().length is 1 | |
17 PASS pc.setRemoteDescription(sessionDescription, requestSucceeded2, requestFaile
dUnexpectedly); did not throw exception. | |
18 PASS remote stream was removed | |
19 PASS event.stream.getVideoTracks().length is 0 | |
20 PASS event.stream.getAudioTracks().length is 0 | |
21 PASS event.stream.active is false | |
22 PASS requestSucceeded was called. | |
23 PASS pc.getRemoteStreams().length is 0 | |
24 PASS successfullyParsed is true | |
25 | |
26 TEST COMPLETE | |
27 | |
OLD | NEW |