|
@@ -14,10 +14,12 @@ function DataConnection(peer, dc, options) {
|
|
this.open = false;
|
|
this.open = false;
|
|
|
|
|
|
this.label = options.label;
|
|
this.label = options.label;
|
|
|
|
+ // Firefox is not this finely configurable.
|
|
this.metadata = options.metadata;
|
|
this.metadata = options.metadata;
|
|
- this.serialization = options.serialization;
|
|
|
|
|
|
+ this.serialization = util.browserisms !== 'Firefox' ? options.serialization : 'binary';
|
|
|
|
+ this._isReliable = util.browserisms !== 'Firefox' ? options.reliable : true;
|
|
|
|
+
|
|
this.peer = peer;
|
|
this.peer = peer;
|
|
- this._isReliable = options.reliable;
|
|
|
|
|
|
|
|
this._dc = dc;
|
|
this._dc = dc;
|
|
if (!!this._dc) {
|
|
if (!!this._dc) {
|