This commit is contained in:
yumoqing 2024-10-10 17:53:16 +08:00
parent 241e8a9cdd
commit bfbebbdaef

View File

@ -132,7 +132,7 @@ bricks.Signaling = class {
this.send_data(d); this.send_data(d);
var opts = bricks.extend({}, this.connect_options); var opts = bricks.extend({}, this.connect_options);
opts.peer_info = peer; opts.peer_info = peer;
var h = new k(this, session, this.connect_opts); var h = new k(this, session, opts);
this.add_handler(sessionid, h.recvdata_handler); this.add_handler(sessionid, h.recvdata_handler);
return h return h
} }