use a lower level write func for cng packets

This commit is contained in:
Anthony Minessale 2012-09-26 12:10:37 -05:00
parent 155ecd9650
commit 4bb5c93e4a
1 changed files with 1 additions and 1 deletions

View File

@ -977,7 +977,7 @@ static int check_srtp_and_ice(switch_rtp_t *rtp_session)
switch_frame_flag_t frame_flags = SFF_NONE;
data[0] = 65;
rtp_session->cn++;
rtp_common_write(rtp_session, NULL, (void *) data, 2, rtp_session->cng_pt, 0, &frame_flags);
switch_rtp_write_manual(rtp_session, (void *) data, 2, 0, rtp_session->cng_pt, ntohl(rtp_session->send_msg.header.ts), &frame_flags);
}