summaryrefslogtreecommitdiff
path: root/rtp.c
AgeCommit message (Collapse)Author
2006-06-09Move payloadtype back home to rtp.c Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09Rename ast_rtp_early_media to ast_rtp_early_bridge to avoid confusion.Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08move 'struct ast_rtp' back to rtp.c where it belongsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08Avoid using the name "early media" for media that is not earlyOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33108 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵Kevin P. Fleming
again :-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06Merge of the "sdpcleanup" branch. Thanks to John Martin for a lot of testsOlle Johansson
and some patches (all disclaimed). - Don't change RTP properties if we reject a re-INVITE - Don't add video to an outbound channel if there's no video on the inbound channel - Don't include video in the "preferred codec" list for codec selection - Clean up and document code that parses and adds SDP attachments Since we do not transcode video, we can't handle video the same way as audio. This is a bug fix patch. In future releases, we need to work on a solution for video negotiation, not codecs but formats and framerates instead. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05clean up various formatting issuesRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05Move definition of RTP structure to rtp.h (preparing for future changes)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05Issue #2863 - Improved RTCP support (John Martin, Fredrik Olsson)Olle Johansson
Thanks to everyone involved in working with this! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04- 5 is the highest used debug level, so let's stay thereOlle Johansson
- Change formatting of RTP debug to align better git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04- Doxygen fixOlle Johansson
- Debug message change git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31Merged revisions 31161 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r31161 | kpfleming | 2006-05-31 17:26:38 -0500 (Wed, 31 May 2006) | 2 lines silence a warning message that is not a warning ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31Add support for using a jitterbuffer for RTP on bridged calls. This includesRussell Bryant
a new implementation of a fixed size jitterbuffer, as well as support for the existing adaptive jitterbuffer implementation. (issue #3854, Slav Klenov) Thank you very much to Slav Klenov of Securax and all of the people involved in the testing of this feature for all of your hard work! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16mark RTP sessions that are not carrying DTMFKevin P. Fleming
allow native bridging of RTP sessions that are not carrying DTMF even when the bridge needs to listen to DTMF (when SIP INFO is used for DTMF, for example) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16clean up some compiler warnings (no reason to use signed integers for buffer ↵Kevin P. Fleming
lengths, ever) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16- Format fixesOlle Johansson
- Adding if(option_debug) in front of complicated debug messages... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11cast sockaddr_in to sockaddr because we need that.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11Go ahead and merge STUN mods for RTP in preparation for some STUN Mark Spencer
support in SIP. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11Set "MARK" whenever SSRC changes (bug #6934)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10Fix buglet on debugMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09Make SIP early media work more efficiently without so many reinvitesMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-02- fix typo in rtp.c, devicestate.hOlle Johansson
- add information about subscriptions and realtime dial plans in sip.conf.sample git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27Change channel locking to API, nifty janitor project. (issue #7039 reported ↵Joshua Colp
by Mithraen) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15- use '=' to copy struct sockaddr_inLuigi Rizzo
- localize a variable - replace three replicas of the same code with a much simpler construct removing replicated var = var->next; - use '?' instead of 'if' for an assignment git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14- use '?' instead of if statements for assignment;Luigi Rizzo
- fix indentation in a few places - use a variable to store the 'other' channel, thus removing the need for some duplicated code; - use '=' instead of memcpy to copy struct sockaddr_in git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) ↵Tilghman Lesher
rand() to threadsafe ast_random() git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31make an error message more descriptive (issue #6855)Russell Bryant
M rtp.c git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-18convert malloc+memset to ast_callocRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-15Merged revisions 13095 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r13095 | tilghman | 2006-03-15 12:07:06 -0600 (Wed, 15 Mar 2006) | 2 lines Reverting patch from bug 6667 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-13Merged revisions 12792 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r12792 | tilghman | 2006-03-13 09:28:35 -0600 (Mon, 13 Mar 2006) | 2 lines Bug 6667 - Fix for RFC2833 issues ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12793 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14Bug 4377 - Initial round of loader changesTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01use string fields for some stuff in ast_channelKevin P. Fleming
const-ify some more APIs remove 'type' field from ast_channel, in favor of the one in the channel's tech structure allow string field module users to specify the 'chunk size' for pool allocations update chan_alsa to be compatible with recent const-ification patches git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-31define a global null_frame object so when queueing a null frame, you don'tRussell Bryant
have to allocate one on the stack git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24Whitespace change, extra <tab> added from my tab storage.Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17don't generate any message for native bridge attempts unless all the basic ↵Kevin P. Fleming
checks have passed and we're actually going to try it git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07Add support for H.264 with SIP and recordingMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03update copyright headers for files changed this yearKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03fix breakage from rev 7730 (failure to unlock list in get_proto)Kevin P. Fleming
minor cleanups and simpler usage of list macros git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03Bug #6109: Fix unprotected list in RTP, implement AST_LIST macros, update ↵Olle Johansson
doxygen docs git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30update doxygen docs to specify authorsRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20Major RTP fixes for using inbound SDP on outbound connection, get rid of Mark Spencer
old local rtp stuff... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-30do not allow an rtp message with zero type (issue #5749)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29remove extraneous svn:executable propertiesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-11Fix wrap around for rtp (bug #5595)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08issue #5595Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01allow DTMF timeout to be configurable (issue #5160)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24Doxygen documentation update from oej (issue #5505)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14Make sure when the timeout occurs that we actually break the bridge (bug #5252)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14use existing sample size in frame instead of recalculating it (issue #5390)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13Fix call timeouts with rtp bridge etc (bug #5252)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6759 65c4cc65-6c06-0410-ace0-fbb531ad65f3