]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 180373 via svnmerge from
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 5 Mar 2009 18:40:32 +0000 (18:40 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 5 Mar 2009 18:40:32 +0000 (18:40 +0000)
commitd7230bd376797b602d60ccf77f0f92f63d6eefa5
treefad9458f9040a51c090d2890a55a8fdff8d90e8a
parent4d325168c0456aff8c66ffb889b3a80a3abb91d3
Merged revisions 180373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r180373 | kpfleming | 2009-03-05 12:29:38 -0600 (Thu, 05 Mar 2009) | 15 lines

  Merged revisions 180372 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r180372 | kpfleming | 2009-03-05 12:22:16 -0600 (Thu, 05 Mar 2009) | 9 lines

    Fix problems when RTP packet frame size is changed

    During some code analysis, I found that calling ast_rtp_codec_setpref() on an ast_rtp session does not work as expected; it does not adjust the smoother that may on the RTP session, in fact it summarily drops it, even if it has data in it, even if the current format's framing size has not changed. This is not good.

    This patch changes this behavior, so that if the packetization size for the current format changes, any existing smoother is safely updated to use the new size, and if no smoother was present, one is created. A new API call for smoothers, ast_smoother_reconfigure(), was required to implement these changes.

    Review: http://reviewboard.digium.com/r/184/
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@180378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/frame.h
main/frame.c
main/rtp.c