Skip to content

Commit

Permalink
whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbenet committed Jan 27, 2013
1 parent 39bc0ad commit 67b3fad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/webrtc.io.js
@@ -1,7 +1,7 @@
//CLIENT

// Fallbacks for vendor-specific variables until the spec is finalized.

var PeerConnection = window.PeerConnection || window.webkitPeerConnection00 || window.webkitRTCPeerConnection;
var URL = window.URL || window.webkitURL || window.msURL || window.oURL;
var getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia;
Expand All @@ -15,10 +15,10 @@ var getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || nav
rtc = module.exports = {};
}


// Holds a connection to the server.
rtc._socket = null;

// Holds identity for the client
rtc._me = null;

Expand Down Expand Up @@ -110,7 +110,7 @@ var getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || nav
}
});

rtc.on('remove_peer_connected', function(data) {
rtc.on('remove_peer_connected', function(data) {
rtc.fire('disconnect stream', data.socketId);
delete rtc.peerConnections[data.socketId];
});
Expand Down Expand Up @@ -253,7 +253,7 @@ var getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || nav
if (getUserMedia) {
rtc.numStreams++;
getUserMedia.call(navigator, options, function(stream) {

rtc.streams.push(stream);
rtc.initializedStreams++;
onSuccess(stream);
Expand Down

0 comments on commit 67b3fad

Please sign in to comment.