|
@@ -91,7 +91,7 @@ DataConnection.prototype._setupDataChannel = function() {
|
|
|
this._dc = this._pc.createDataChannel(this.peer, { reliable: false });
|
|
|
// Experimental reliable wrapper.
|
|
|
if (this._options.reliable) {
|
|
|
- this._reliable = new Reliable(this._dc);
|
|
|
+ this._reliable = new Reliable(this._dc, util.debug);
|
|
|
}
|
|
|
this._configureDataChannel();
|
|
|
} else {
|
|
@@ -101,7 +101,7 @@ DataConnection.prototype._setupDataChannel = function() {
|
|
|
self._dc = evt.channel;
|
|
|
// Experimental reliable wrapper.
|
|
|
if (self._options.reliable) {
|
|
|
- self._reliable = new Reliable(self._dc);
|
|
|
+ self._reliable = new Reliable(self._dc, util.debug);
|
|
|
}
|
|
|
self._configureDataChannel();
|
|
|
};
|