when releasing media, use asymetric flag so that rtpengine does react to a spurious final packet from freeswitch by incorrectly sending rtp there

This commit is contained in:
Dave Horton
2022-07-26 12:25:58 +01:00
parent 3b83c1bda8
commit 7d2125788f
+1
View File
@@ -552,6 +552,7 @@ Duration=${payload.duration} `
if (reason && dlg.type === 'uas' && ['release-media', 'anchor-media'].includes(reason)) {
this.logger.info(`got a reinvite from FS to ${reason}`);
sdp = dlg.other.remote.sdp;
answerMedia.flags = ['asymmetric', 'port latching'];
}
else {
sdp = await dlg.other.modify(response.sdp);