9
0
Fork 0

mgcp: Add a hack to allow to patch the SSRC

This is a hack and we will need to do this only if a MDCX with
a new IP address is arriving.
This commit is contained in:
Holger Hans Peter Freyther 2012-10-04 10:19:33 +02:00
parent 796e1a2125
commit f612e431ff
1 changed files with 2 additions and 1 deletions

View File

@ -123,7 +123,8 @@ static void patch_and_count(struct mgcp_endpoint *endp, struct mgcp_rtp_state *s
state->ssrc = rtp_hdr->ssrc;
state->seq_offset = (state->seq_no + 1) - seq;
state->timestamp_offset = state->last_timestamp - timestamp;
state->patch = endp->allow_patch;
#warning "Always allow to patch the SSRC"
state->patch = 1;
LOGP(DMGCP, LOGL_NOTICE,
"The SSRC changed on 0x%x SSRC: %u offset: %d from %s:%d in %d\n",
ENDPOINT_NUMBER(endp), state->ssrc, state->seq_offset,