Skip to content

Commit

Permalink
remove debug from lib to index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mweibel committed Mar 7, 2012
1 parent 9928317 commit 29c388a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 8 additions & 0 deletions index.html
@@ -1,6 +1,14 @@
<html>
<head>
<script type="text/javascript" src="sdptojingle.js"></script>
<script type="text/javascript">
new window.webkitPeerConnection("STUN stun.l.google.com:19302", function(msg) {
var jingle = SDPToJingle.createJingleStanza(msg);
console.log(jingle);
var jinglestanza = '<jingle>' + jingle.audio + jingle.video + '</jingle>';
console.log(SDPToJingle.parseJingleStanza(jinglestanza));
});
</script>
</head>
<body>
</body>
Expand Down
9 changes: 1 addition & 8 deletions sdptojingle.js
Expand Up @@ -378,11 +378,4 @@ var SDPToJingle = (function() {
return _generateSdpFromDescription(description);
}
};
}());

new window.webkitPeerConnection("STUN stun.l.google.com:19302", function(msg) {
var jingle = SDPToJingle.createJingleStanza(msg);
console.log(jingle);
var jinglestanza = '<jingle>' + jingle.audio + jingle.video + '</jingle>';
console.log(SDPToJingle.parseJingleStanza(jinglestanza));
})
}());

0 comments on commit 29c388a

Please sign in to comment.