|
@@ -1,4 +1,4 @@
|
|
-
|
|
+
|
|
(function(exports){
|
|
(function(exports){
|
|
var binaryFeatures = {};
|
|
var binaryFeatures = {};
|
|
binaryFeatures.useBlobBuilder = (function(){
|
|
binaryFeatures.useBlobBuilder = (function(){
|
|
@@ -1795,11 +1795,9 @@ ConnectionManager.prototype.connect = function(label) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
- var options = {
|
|
+ var options = util.extend({
|
|
- reliable: false,
|
|
|
|
- serialization: 'binary',
|
|
|
|
label: label || 'peerjs'
|
|
label: label || 'peerjs'
|
|
- };
|
|
+ }, this._options);
|
|
|
|
|
|
|
|
|
|
while (!!this.connections[options.label]) {
|
|
while (!!this.connections[options.label]) {
|