Skip to content

Commit d646170

Browse files
committed
remove signaling
1 parent 7e47f25 commit d646170

File tree

2 files changed

+0
-77
lines changed

2 files changed

+0
-77
lines changed

webrtc/peer-to-peer-connections/rtcpeerconnection-event.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,10 @@ <h1>Description</h1>
2020

2121
peer = new window.RTCPeerConnection({"iceServers": [{"url": "stun:stun.l.google.com:19302"}]});
2222
peer.onicecandidate = onIceCandidate;
23-
connection = new WebSocket('ws://127.0.0.1:8080/');
2423

2524
function onIceCandidate(event) {
2625
t.step(function () {
2726
assert_own_property(event, "candidate", "a new candidate is created");
28-
config = {
29-
type: 'candidate',
30-
label: event.candidate.sdpMLineIndex,
31-
id: event.candidate.sdpMid,
32-
candidate: event.candidate.candidate
33-
};
34-
connection.send(config);
35-
});
36-
t.step(function () {
3727
t.done();
3828
});
3929
}

webrtc/peer-to-peer-connections/server.js

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)