fix: ice issue (#95)

* fix: ice issue

* fix: review comment
This commit is contained in:
Hoan Luu Huu
2023-04-13 19:43:56 +07:00
committed by GitHub
parent 0fe8843729
commit b311d4af48

View File

@@ -611,7 +611,8 @@ Duration=${payload.duration} `
direction,
sdp: offeredSdp,
};
if (reason && opts.flags && !opts.flags.includes('reset')) opts.flags.push('reset');
// Dont reset ICE - causes audiocodes webrtrc to fail with "missing ice-ufrag and ice-pwd in re-invite"
// if (reason && opts.flags && !opts.flags.includes('reset')) opts.flags.push('reset');
let response = await this.offer(opts);
if ('ok' !== response.result) {