This commit is contained in:
yumoqing 2024-10-09 15:12:34 +08:00
parent 2386f49327
commit 94a39305fc

View File

@ -275,7 +275,7 @@ bricks.RTCP2PConnect = class {
if (pc.connectionState == 'connected'){
if (this.opts.data_connect){
var dc = pc.createDataChannel();
if (this.requester and this.opts.data_connect){
if (this.requester && this.opts.data_connect){
await this.createDataChannel(peer);
}
}