mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-23 11:44:14 +00:00
add rtp-autofix-timing (defauts to true even when not present) set to false to disable it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12903 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
5103ce7979
commit
3a24486f1c
3 files changed
+15
-1
No files matched your search
@@ -716,7 +716,7 @@ static switch_status_t sofia_read_frame(switch_core_session_t *session, switch_f
|
||||
return SWITCH_STATUS_GENERR;
|
||||
}
|
||||
|
||||
if (tech_pvt->check_frames++ < MAX_CODEC_CHECK_FRAMES) {
|
||||
if (sofia_test_pflag(tech_pvt->profile, PFLAG_AUTOFIX_TIMING) && tech_pvt->check_frames++ < MAX_CODEC_CHECK_FRAMES) {
|
||||
if (!tech_pvt->read_impl.encoded_bytes_per_packet) {
|
||||
tech_pvt->check_frames = MAX_CODEC_CHECK_FRAMES;
|
||||
goto skip;
|
||||
|
||||
Reference in new issue
Block a user