This commit is contained in:
yumoqing 2024-10-08 18:50:05 +08:00
parent b28d506522
commit 483b2e8e43

View File

@ -104,7 +104,7 @@ bricks.Signaling = class {
session: session session: session
}; };
this.send_data(d); this.send_data(d);
opts = this.connect_options.copy(); 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, this.connect_opts);
this.add_handler(sessionid, h.recvdata_handler); this.add_handler(sessionid, h.recvdata_handler);