Skip to content

Commit

Permalink
small update
Browse files Browse the repository at this point in the history
  • Loading branch information
onnet committed Oct 21, 2015
1 parent c52d527 commit 750dcca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions applications/blackhole/doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ From here, you can write your own Javascript callbacks, triggered everytime a re
<body>
<script>
var socket = io.connect('http://{BLACKHOLE_IP_ADDRESS}:5555');
socket.emit('subscribe', { account_id: '{ACCOUNT_ID}', auth_token: {AUTH_TOKEN}, binding: 'call.CHANNEL_CREATE.*' });
socket.emit('subscribe', { account_id: '{ACCOUNT_ID}', auth_token: {AUTH_TOKEN}, binding: 'call.CHANNEL_ANSWER.*' });
socket.emit('subscribe', { account_id: '{ACCOUNT_ID}', auth_token: {AUTH_TOKEN}, binding: 'call.CHANNEL_DESTROY.*' });
socket.emit('subscribe', { account_id: '{ACCOUNT_ID}', auth_token: {AUTH_TOKEN}, binding: 'conference.event.*' });
socket.emit('subscribe', { account_id: '{ACCOUNT_ID}', auth_token: '{AUTH_TOKEN}', binding: 'call.CHANNEL_CREATE.*' });
socket.emit('subscribe', { account_id: '{ACCOUNT_ID}', auth_token: '{AUTH_TOKEN}', binding: 'call.CHANNEL_ANSWER.*' });
socket.emit('subscribe', { account_id: '{ACCOUNT_ID}', auth_token: '{AUTH_TOKEN}', binding: 'call.CHANNEL_DESTROY.*' });
socket.emit('subscribe', { account_id: '{ACCOUNT_ID}', auth_token: '{AUTH_TOKEN}', binding: 'conference.event.*' });
socket.on('participants_event', function (data) {
console.log(data);
Expand Down

0 comments on commit 750dcca

Please sign in to comment.