aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
AgeCommit message (Collapse)AuthorFilesLines
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-3012/+0
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-31Poking at a structure when it may not even be allocated is not healthy. ↵file1-8/+5
Essentially make sure an RTCP structure exists before trying to delete it's scheduled item. (issue #7514 reported by jmls fixed by AuPix) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38573 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-21Merge a new implementation of ast_inet_ntoa, our thread safe replacement forrussell1-47/+32
inet_ntoa, which uses thread specific data (aka thread local storage) instead of stack allocatted buffers to store the result. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38042 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-13allow users of RTP to use G726-32 AAL2 packing even when RFC3551 packing has ↵kpfleming1-14/+29
been requested (Sipura/Grandstream ATAs and others will need this) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37501 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12G726-32 changes:kpfleming1-0/+3
split support for G726-32 into RFC3551 and AAL2 packing orders, since both are in use change "G726-32" to be RFC3551 packing order, in spite of devices that use AAL2 order with this MIME type add ability to directly transcode between packing orders git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37494 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07Merged revisions 37307 via svnmerge from file1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r37307 | file | 2006-07-07 19:57:53 -0400 (Fri, 07 Jul 2006) | 2 lines Change message regarding marker bit forcing when SSRC changes to be shown only during debug so it doesn't overload high capacity systems ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37308 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07resolve some pointer signedness warningsrussell1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37285 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-21Only delete scheduled item if it existsoej1-7/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35333 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09- RTP debug message formattingoej1-4/+4
- Add rtcp report to SIP history git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33371 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09Move payloadtype back home to rtp.c oej1-0/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33349 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09Rename ast_rtp_early_media to ast_rtp_early_bridge to avoid confusion.oej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33174 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-08move 'struct ast_rtp' back to rtp.c where it belongskpfleming1-3/+62
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33133 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-08Avoid using the name "early media" for media that is not earlyoej1-5/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33108 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming1-4/+4
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06Merge of the "sdpcleanup" branch. Thanks to John Martin for a lot of testsoej1-4/+3
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: http://svn.digium.com/svn/asterisk/trunk@32597 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05clean up various formatting issuesrussell1-106/+106
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32305 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05Move definition of RTP structure to rtp.h (preparing for future changes)oej1-62/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32255 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05Issue #2863 - Improved RTCP support (John Martin, Fredrik Olsson)oej1-26/+707
Thanks to everyone involved in working with this! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32230 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-04- 5 is the highest used debug level, so let's stay thereoej1-4/+4
- Change formatting of RTP debug to align better git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32088 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-04- Doxygen fixoej1-3/+3
- Debug message change git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32087 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31Merged revisions 31161 via svnmerge from kpfleming1-1/+2
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: http://svn.digium.com/svn/asterisk/trunk@31162 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31Add support for using a jitterbuffer for RTP on bridged calls. This includesrussell1-12/+8
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: http://svn.digium.com/svn/asterisk/trunk@31052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-16mark RTP sessions that are not carrying DTMFkpfleming1-4/+26
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: http://svn.digium.com/svn/asterisk/trunk@27559 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-16clean up some compiler warnings (no reason to use signed integers for buffer ↵kpfleming1-5/+5
lengths, ever) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27524 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-16- Format fixesoej1-14/+19
- Adding if(option_debug) in front of complicated debug messages... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27305 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11cast sockaddr_in to sockaddr because we need that.rizzo1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26952 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11Go ahead and merge STUN mods for RTP in preparation for some STUN markster1-9/+307
support in SIP. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26920 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11Set "MARK" whenever SSRC changes (bug #6934)markster1-0/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26759 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10Fix buglet on debugmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26525 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09Make SIP early media work more efficiently without so many reinvitesmarkster1-5/+92
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26019 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02- fix typo in rtp.c, devicestate.hoej1-1/+1
- add information about subscriptions and realtime dial plans in sip.conf.sample git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24342 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27Change channel locking to API, nifty janitor project. (issue #7039 reported ↵file1-26/+26
by Mithraen) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22905 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15- use '=' to copy struct sockaddr_inrizzo1-25/+8
- 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: http://svn.digium.com/svn/asterisk/trunk@20224 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14- use '?' instead of if statements for assignment;rizzo1-37/+16
- 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: http://svn.digium.com/svn/asterisk/trunk@20197 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) ↵tilghman1-3/+3
rand() to threadsafe ast_random() git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31make an error message more descriptive (issue #6855)russell1-2/+2
M rtp.c git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16724 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-18convert malloc+memset to ast_callocrussell1-6/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-15Merged revisions 13095 via svnmerge from tilghman1-36/+21
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: http://svn.digium.com/svn/asterisk/trunk@13096 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-13Merged revisions 12792 via svnmerge from tilghman1-21/+36
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: http://svn.digium.com/svn/asterisk/trunk@12793 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14Bug 4377 - Initial round of loader changestilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10084 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01use string fields for some stuff in ast_channelkpfleming1-1/+1
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: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31define a global null_frame object so when queueing a null frame, you don'trussell1-17/+15
have to allocate one on the stack git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9001 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24Whitespace change, extra <tab> added from my tab storage.oej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8517 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17don't generate any message for native bridge attempts unless all the basic ↵kpfleming1-0/+3
checks have passed and we're actually going to try it git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8120 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07Add support for H.264 with SIP and recordingmarkster1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7855 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03update copyright headers for files changed this yearkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7751 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03fix breakage from rev 7730 (failure to unlock list in get_proto)kpfleming1-13/+5
minor cleanups and simpler usage of list macros git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7739 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03Bug #6109: Fix unprotected list in RTP, implement AST_LIST macros, update ↵oej1-113/+108
doxygen docs git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7730 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30update doxygen docs to specify authorsrussell1-1/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20Major RTP fixes for using inbound SDP on outbound connection, get rid of markster1-30/+97
old local rtp stuff... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7551 f38db490-d61c-443f-a65b-d21fe96a405b