Hey all,<div><br></div><div><br></div><div>Inside code</div><div><br></div><div>switch_rtp.c file:</div><div><br></div><blockquote> static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_type, switch_frame_flag_t *flags, switch_io_flag_t io_flags)<br>
................<br> if (check || (bytes && !switch_test_flag(rtp_session, SWITCH_RTP_FLAG_USE_TIMER))) {<br><span class="Apple-tab-span" style="white-space:pre">                        </span>if (!bytes && switch_test_flag(rtp_session, SWITCH_RTP_FLAG_USE_TIMER)) {<span class="Apple-tab-span" style="white-space:pre">        </span>/* We're late! We're Late! */<br>
<span class="Apple-tab-span" style="white-space:pre">                                </span>if (!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_NOBLOCK) && status == SWITCH_STATUS_BREAK) {<br><span class="Apple-tab-span" style="white-space:pre">                                        </span>switch_cond_next();<br>
<span class="Apple-tab-span" style="white-space:pre">                                        </span>continue;<br><span class="Apple-tab-span" style="white-space:pre">                                </span>}<br><span class="Apple-tab-span" style="white-space:pre">                                <br></span><span class="Apple-tab-span" style="white-space:pre">                                </span>return_cng_frame(); <------- this lane to return cng frame if late.<br>
<span class="Apple-tab-span" style="white-space:pre">                        </span>}<br><span class="Apple-tab-span" style="white-space:pre">                </span>}<br><br><br></blockquote>Could someone explain why we want to return cng frame when package is late? this is caused for me to hear very bad noise audio.<div>
<br></div><div>Can I disable return CNG frame?<br><div><br></div><div><br></div><div>Cheers<br><blockquote><br><br><br><br></blockquote></div></div>