bugfix: when releasing media we were restarting ICE which we dont want to do

This commit is contained in:
Dave Horton
2022-12-19 21:28:43 -05:00
parent d9c4e01c36
commit f74dff3b59

View File

@@ -590,7 +590,8 @@ Duration=${payload.duration} `
direction,
sdp: req.body,
};
if (reason && opts.flags && !opts.flags.includes('reset')) opts.flags.push('reset');
// DH: this was restarting ICE, which we don't want to do
//if (reason && opts.flags && !opts.flags.includes('reset')) opts.flags.push('reset');
let response = await this.offer(opts);
if ('ok' !== response.result) {