Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
Added
Browse files Browse the repository at this point in the history
  • Loading branch information
ekr committed Feb 1, 2012
1 parent 4b7aad8 commit bb0d427
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions views/demo.html
Expand Up @@ -44,16 +44,19 @@ <h3>ROAP Test</h3>
<script>
function WebRTCDemo(me, them, start) {
var video = {};

var cc;

video.local = document.getElementById("localVideo");
video.remote = document.getElementById("remoteVideo");

return new CallingClient(default_config, me, them, video, function(cc) {
cc = new CallingClient(default_config, me, them, video, function() {
console.log("Calling client ready");
if (start) {
cc.startup();
}
});

return cc;
}
</script>

Expand Down

0 comments on commit bb0d427

Please sign in to comment.