4 <script type=
"application/javascript" src=
"pc.js"></script>
8 <script type=
"application/javascript">
11 title:
"Renegotiation: add DataChannel"
15 runNetworkTest(function (options) {
16 test = new PeerConnectionTest(options);
17 addRenegotiation(test.chain,
18 commandsCreateDataChannel,
19 commandsCheckDataChannel);
21 // Insert before the second PC_LOCAL_WAIT_FOR_MEDIA_FLOW
22 test.chain.insertBefore('PC_LOCAL_WAIT_FOR_MEDIA_FLOW',
23 commandsWaitForDataChannel,
27 test.setMediaConstraints([{audio: true}], [{audio: true}]);