Skip to content

Commit

Permalink
remove signaling
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 committed May 28, 2014
1 parent 7e47f25 commit d646170
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 77 deletions.
10 changes: 0 additions & 10 deletions webrtc/peer-to-peer-connections/rtcpeerconnection-event.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,10 @@ <h1>Description</h1>

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

function onIceCandidate(event) {
t.step(function () {
assert_own_property(event, "candidate", "a new candidate is created");
config = {
type: 'candidate',
label: event.candidate.sdpMLineIndex,
id: event.candidate.sdpMid,
candidate: event.candidate.candidate
};
connection.send(config);
});
t.step(function () {
t.done();
});
}
Expand Down
67 changes: 0 additions & 67 deletions webrtc/peer-to-peer-connections/server.js

This file was deleted.

0 comments on commit d646170

Please sign in to comment.