diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-14 23:00:01 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-14 23:00:01 +0000 |
commit | 4f7500247c2eab9642b08afbb1fd609b52224fbf (patch) | |
tree | 824c0f67139c19d1e9c212fd6733597c45486db7 /include | |
parent | 5e89eeacf7feb4d664b26d70ba0694b8d9a0d511 (diff) |
Add a tolerance period for sync-triggered audiohooks
so that if packetization of audio is close (but not equal)
we don't end up flushing the audiohooks over small
inconsistencies in synchronization.
Related to issue #13005, and solves the issue
for most people who were experiencing the problem.
However, a small number of people are still experiencing
the problem on long calls, so I am not closing
the issue yet
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@149204 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/audiohook.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/audiohook.h b/include/asterisk/audiohook.h index 5f79d83b0..337590636 100644 --- a/include/asterisk/audiohook.h +++ b/include/asterisk/audiohook.h @@ -56,6 +56,8 @@ enum ast_audiohook_flags { AST_AUDIOHOOK_TRIGGER_SYNC = (1 << 2), /*!< Audiohook wants to be triggered when both sides have combined audio available */ }; +#define AST_AUDIOHOOK_SYNC_TOLERANCE 100 /*< Tolerance in milliseconds for audiohooks synchronization */ + struct ast_audiohook; /*! \brief Callback function for manipulate audiohook type |