Skip to content

Commit

Permalink
rtp_relay: reset late flag for new negotiations
Browse files Browse the repository at this point in the history
(cherry picked from commit 22fe3be)
  • Loading branch information
razvancrainea committed Aug 9, 2022
1 parent b19462d commit 3cc86d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/rtp_relay/rtp_relay_ctx.c
Expand Up @@ -1553,6 +1553,8 @@ static void rtp_relay_indlg(struct dlg_cell* dlg, int type, struct dlg_cb_params
} else {
rtp_sess_set_late(sess);
}
} else if (body && msg->REQ_METHOD == METHOD_INVITE) {
rtp_sess_reset_late(ctx->established);
}
RTP_RELAY_CTX_UNLOCK(ctx);
if (!ret)
Expand Down

0 comments on commit 3cc86d7

Please sign in to comment.