Commit fe5d5f0c authored by Simon Morlat's avatar Simon Morlat
Browse files

bugfix: do not adapt timestamp while a RFC2833 dtmf is sent

parent 0e794109
......@@ -175,7 +175,7 @@ static uint32_t get_cur_timestamp(MSFilter * f, mblk_t *im)
uint32_t netts;
int difftime_ts;
if (im){
if (im && d->dtmf==0){ /*do not perform timestamp adjustment while a dtmf is being sent, otherwise durations are erroneous */
uint32_t packet_ts=mblk_get_timestamp_info(im);
if (d->last_sent_time==-1){
d->tsoff = curts - packet_ts;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment