diff options
author | Matthew Jordan <mjordan@digium.com> | 2012-03-14 18:56:15 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2012-03-14 18:56:15 +0000 |
commit | a699bb72ad8d255c84998e97addd2e20ab3f6b7b (patch) | |
tree | 46e9a4a5333a9fbb37db219e234ef252aa99df57 /channels | |
parent | a22b6f6e4b8722ce8c2a174b2e883f0f6ba1f33d (diff) |
Add tests for main/jitterbuf.c
This patch adds unit tests for main/jitterbuf.c. This includes checking for
the following:
* Nominal insertion and retrieval of frames
* Insertion and retrieval of frames where the frames are inserted out of
order with respect to the previous frame
* Insertion and retrieval of frames where some number of frames that would
occur in the expected sequence are instead dropped
* Insertion and retrieval of frames with an arrival time that does not occur
at the same rate as the surrounding frames
* Resynchronization of the jitter buffer when an inserted frame breaks the
resynchronization threshold
* Overfilling of the jitter buffer
For each of the tests, both JB_TYPE_VOICE and JB_TYPE_CONTROL permutations
exist.
Review: https://reviewboard.asterisk.org/r/1815
(issue: ASTERISK-18964)
Reported by: Kris Shaw
Tested by: Kris Shaw, Matt Jordan
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@359406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
0 files changed, 0 insertions, 0 deletions