aboutsummaryrefslogtreecommitdiffstats
path: root/main/fixedjitterbuf.h
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-06 00:25:10 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-06 00:25:10 +0000
commitff4500e72298adb62afb2a7dffd19af266243278 (patch)
tree62de3655be109b5ef898cc639f8908ff9370829a /main/fixedjitterbuf.h
parent5482dbc0430efc94e35c5ab9d7a58c0743efadf9 (diff)
Merging the issue11259 branch.
The purpose of this branch was to take into account "burps" which could cause jitterbuffers to misbehave. One such example is if the L option to Dial() were used to inject audio into a bridged conversation at regular intervals. Since the audio here was not passed through the jitterbuffer, it would cause a gap in the jitterbuffer's timestamps which would cause a frames to be dropped for a brief period. Now ast_generic_bridge will empty and reset the jitterbuffer each time it is called. This causes injected audio to be handled properly. ast_generic_bridge also will empty and reset the jitterbuffer if it receives an AST_CONTROL_SRCUPDATE frame since the change in audio source could negatively affect the jitterbuffer. All of this was made possible by adding a new public API call to the abstract_jb called ast_jb_empty_and_reset. (closes issue #11259) Reported by: plack Tested by: putnopvut git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@135841 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/fixedjitterbuf.h')
-rw-r--r--main/fixedjitterbuf.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/fixedjitterbuf.h b/main/fixedjitterbuf.h
index 541e99d2d..868e24b66 100644
--- a/main/fixedjitterbuf.h
+++ b/main/fixedjitterbuf.h
@@ -85,7 +85,6 @@ int fixed_jb_remove(struct fixed_jb *jb, struct fixed_jb_frame *frameout);
void fixed_jb_set_force_resynch(struct fixed_jb *jb);
-
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif