OLD | NEW |
1 | 1 |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script type="text/javascript" src="webrtc_test_utilities.js"></script> | 4 <script type="text/javascript" src="webrtc_test_utilities.js"></script> |
5 <script type="text/javascript" src="webrtc_test_common.js"></script> | 5 <script type="text/javascript" src="webrtc_test_common.js"></script> |
6 <script type="text/javascript" src="webrtc_test_audio.js"></script> | 6 <script type="text/javascript" src="webrtc_test_audio.js"></script> |
7 <script type="text/javascript"> | 7 <script type="text/javascript"> |
8 $ = function(id) { | 8 $ = function(id) { |
9 return document.getElementById(id); | 9 return document.getElementById(id); |
10 }; | 10 }; |
(...skipping 18 matching lines...) Expand all Loading... |
29 'video': 'a=crypto:1 AES_CM_128_HMAC_SHA1_80 ' + | 29 'video': 'a=crypto:1 AES_CM_128_HMAC_SHA1_80 ' + |
30 'inline:d0RmdmcmVCspeEc3QGZiNWpVLFJhQX1cfHAwJSoj', | 30 'inline:d0RmdmcmVCspeEc3QGZiNWpVLFJhQX1cfHAwJSoj', |
31 'data': 'a=crypto:1 AES_CM_128_HMAC_SHA1_80 ' + | 31 'data': 'a=crypto:1 AES_CM_128_HMAC_SHA1_80 ' + |
32 'inline:NzB4d1BINUAvLEw6UzF3WSJ+PSdFcGdUJShpX1Zj' | 32 'inline:NzB4d1BINUAvLEw6UzF3WSJ+PSdFcGdUJShpX1Zj' |
33 }; | 33 }; |
34 | 34 |
35 setAllEventsOccuredHandler(reportTestSuccess); | 35 setAllEventsOccuredHandler(reportTestSuccess); |
36 | 36 |
37 // Test that we can setup call with legacy settings. | 37 // Test that we can setup call with legacy settings. |
38 function callWithLegacySdp() { | 38 function callWithLegacySdp() { |
39 transformSdp = function(sdp) { | 39 setOfferSdpTransform(function(sdp) { |
40 return removeBundle(useGice(useExternalSdes(sdp))); | 40 return removeBundle(useGice(useExternalSdes(sdp))); |
41 }; | 41 }); |
42 createConnections({ | 42 createConnections({ |
43 'mandatory': {'RtpDataChannels': true, 'DtlsSrtpKeyAgreement': false} | 43 'mandatory': {'RtpDataChannels': true, 'DtlsSrtpKeyAgreement': false} |
44 }); | 44 }); |
45 setupDataChannel({reliable: false}); | 45 setupDataChannel({reliable: false}); |
46 navigator.webkitGetUserMedia({audio: true, video: true}, | 46 navigator.webkitGetUserMedia({audio: true, video: true}, |
47 addStreamToBothConnectionsAndNegotiate, printGetUserMediaError); | 47 addStreamToBothConnectionsAndNegotiate, printGetUserMediaError); |
48 waitForVideo('remote-view-1'); | 48 waitForVideo('remote-view-1'); |
49 waitForVideo('remote-view-2'); | 49 waitForVideo('remote-view-2'); |
50 } | 50 } |
51 | 51 |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 style="display:none" autoplay></video></td> | 292 style="display:none" autoplay></video></td> |
293 <!-- Canvases are named after their corresponding video elements. --> | 293 <!-- Canvases are named after their corresponding video elements. --> |
294 <td><canvas width="320" height="240" id="remote-view-1-canvas" | 294 <td><canvas width="320" height="240" id="remote-view-1-canvas" |
295 style="display:none"></canvas></td> | 295 style="display:none"></canvas></td> |
296 <td><canvas width="320" height="240" id="remote-view-2-canvas" | 296 <td><canvas width="320" height="240" id="remote-view-2-canvas" |
297 style="display:none"></canvas></td> | 297 style="display:none"></canvas></td> |
298 </tr> | 298 </tr> |
299 </table> | 299 </table> |
300 </body> | 300 </body> |
301 </html> | 301 </html> |
OLD | NEW |