summaryrefslogtreecommitdiff
path: root/pjmedia
AgeCommit message (Collapse)Author
2012-03-08Fix #1440:Nanang Izzuddin
- Use separate buffer for outgoing RTCP. Previously, RTCP generation might override outgoing RTP payload (because of shared buffer). - Use exact size for RTCP-XR content buffer. Previously RTCP-XR content buffer size was set to PJMEDIA_MAX_MTU, quite huge wasted space. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3969 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-06Fix #1458: removed the problematic sound device direction setting.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3963 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-28Fix #1456: don't use SRTP internal state (tx_policy/rx_policy) directly for ↵Nanang Izzuddin
calling pjmedia_transport_srtp_start() in restarting SRTP after getting replay error. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3961 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-27Fix #1440: Send and parse RTCP compound packet, containing report ↵Nanang Izzuddin
(RR/SR/XR), SDES, and BYE. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3960 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-21Misc (re #1417): prevent buggy libc library from printing "(null)" in SDP ↵Benny Prijono
for the rtpmap attribute, e.g.: "a=rtpmap:8 PCMA/8000(null)". Thanks Roman Puls for the fix git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3957 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-12Fix #1447: fix internal function write_frame() of the switchboard to copy ↵Nanang Izzuddin
the whole source frame to the destination port buffer if the destination port is port 0 (previously it only copied as much as samples-per-frame of port 0). git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3941 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-12Fixed #1422: Option to configure or disable RTCP RTT normalization (thanks ↵Benny Prijono
Lars Helgeson for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3907 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-09Fixed #1416: Allow application to send data after ICE negotiation failsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3906 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-07Fixed #1421 (Audio is missing temporarily if SRTP is enabled due to lock ↵Benny Prijono
codec feature). The problem occured because when lock codec is called, the stream may not transmit any RTP packets yet, causing the RTCP statistic to return zero as the last RTP sequence number sent. The zero RTP sequence number would cause SRTP to refuse to encode the RTP packet with error replay status git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3900 74dad513-b988-da41-8d7b-12977e46ad98
2011-11-02Fix #1413: Fix G722.1 encoder to handle multiple frames per packet.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3880 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-31Fix #1410: Nanang Izzuddin
- Fixed bug in ipp_codecs.c pack_amr() in setting up AMR-WB frame size, i.e: using AMR-NB frame size table instead of AMR-WB's. - Updated AMR-WB default setting to use two frames-per-packet. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3879 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-27Re #1252 (misc): Add codec initialization before opening it in pjmedia streamLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3868 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25WAV playback is cut in the end if pjmedia_wav_player_port_set_pos() is ↵Benny Prijono
called. Thanks Eize Slange for the patch (re #1252) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3846 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25Misc (re #1252): error compiling the IPP wrapper if AMR-WB is enabled but ↵Benny Prijono
AMR-NB is disabled. Thanks Olle Frimanson for the report git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3845 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-19Misc: failed to create CSV file with TRACE_JB feature in stream.c because ↵Benny Prijono
Linux does not seem to create the file if it is opened with fopen(, "r+b") and the file does not exist yet. Thanks Dan for the patch (re #1252) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3831 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-14Support for OpenCORE AMR-NB codec on Windows. This closes #1388Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3817 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-14Committing re #1388: Support for OpenCORE AMR-NB codec (thank you Dan ↵Benny Prijono
Arrhenius for the contribution!) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3816 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-13Re #1378:Nanang Izzuddin
- Implemented new algorithm for JB progressive discard. - Added new API and for setting JB discard algorithm at run-time. - Updated JB test for the new algorithm. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3814 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-11Fixed #1385: fixed match_offer() of SDP negotiator in comparing rtpmap ↵Nanang Izzuddin
encoding params (specifying channel count) in preanswer and remote-offer. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3812 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-11Misc (#1252): Wrong APS/VAS frame header generation for AMR silence/NO_DATA ↵Nanang Izzuddin
frame caused by using wrong 'OR' operator, was logical 'OR' instead of bitwise (thanks Johan Lantz for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3809 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-09Fixed #1383: Update the transport adapter sample in pjsuaBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3804 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-03Fix #1378: replaced discard rate decision based on overflow precentage ↵Nanang Izzuddin
(precentage of excess delay compared to burst-level). git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3779 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-09More Symbian MDA fixes (re #1365):Nanang Izzuddin
- Added config setting to control sync/async start. Due to problem with async start: any volume query performed immediately after starting the device will always return zero. - Fixed get_default_param() to set the flags to zero (was copied from caps, i.e: input/output volume flags without setting the value). - Fixed stream_get_param() to also check the input and output volume level. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3748 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-08Slightly more clever RTP transport remote address switch: transmission won't ↵Benny Prijono
switch as long as we're receiving RTP/RTCP packets from the "correct" remote address, to avoid constantly switching to a new source address. Also when the remote peer address is in probation, RT(C)P packets from that address will be silently discarded, to avoid playback confusion. This closes #1366. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3745 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-08Fixed #1365: Applied volume setting (input & output) when the MDA audio ↵Nanang Izzuddin
device is started. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3744 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-24Fixed #1337 re: link error with the PLC stuff if G.711 codec is disabled.Benny Prijono
This basically is caused by the problem with library order in the Makefile. Since libpjmedia (which contains the PLC code) is specified first before the third party libs (which the codecs reside), the PLC didn't get picked up by the linker. It works if G.711 is enabled, because G.711 lives in libpjmedia. The real problem is because there is a circular dependency between pjmedia and third party libraries. The real solution would be to break down third party libraries into individual lib and arrange the link order correctly. This would need a bit of work in the Makefile though. For now, let's just hack pjmedia-test so that it links with the PLC if G.711 is disabled. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3681 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-22Fixed #1336 make doc now creates version specific docsPerry Ismangil
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3677 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-21Fixed #1335Liong Sauw Ming
Fixes assertion when interruptionListener is called from an unregistered thread on iPhone OS. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3674 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-07Misc (re #1252): fixed potential crash if pjmedia_aud_dev_cap_name() is ↵Benny Prijono
called with invalid capability git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3611 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-22Fixed #1315: fixed VAS to apply the output volume setting, set in creation ↵Nanang Izzuddin
param, after the stream is started. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3595 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-20Fixed #1307:Nanang Izzuddin
- Fixed AMR NO_DATA frame length definition in amr_helper.h. - Fixed bug packing/parsing AMR SID frames in processing SID type indicator (STI). - Enabled native VAD in IPP AMR-NB. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3589 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-27Fixed #1301: Wrong alaw value is generated by the non-table version of ↵Benny Prijono
pjmedia_linear2alaw() function for some specific PCM values (thanks K. Johnson for the fix) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3575 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-19Re #1268: Fixed compilation error problem due to typo.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3572 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-19Fixed #1268: Option for automatic/manual sending of RTCP SDES/BYE for the ↵Liong Sauw Ming
stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3571 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-18Re #1258: Updated jitter buffer test data after r3568 fix.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3569 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-18Fix #1258: Fixed bug in jitter buffer, i.e: unexpected state switches when ↵Nanang Izzuddin
prefetch mechanism is active, by separating prefetch mechanism from JB state. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3568 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-15Fixed #1257: Option for using simple FIFO delay buffer in echo canceller.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3567 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-10Misc (re #1252): fixed the assertion when jbuf_set_adaptive() is called with ↵Benny Prijono
fixed jbuf parameters git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3561 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-06Fixed #1251: Calling pjmedia_aud_subsys_shutdown() more than once may cause ↵Benny Prijono
crash (thanks Bill Gardner for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3559 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Added and updated copyright text in several files (with "standard" ↵Nanang Izzuddin
Teluu copyright text). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3550 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-02Fix #1249: fixed overwritten buffer bug in splitcomb put_frame().Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3548 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-28Fixed #1243: ICE bug: If RTCP is not in use, the agent MUST signal that ↵Liong Sauw Ming
using b=RS:0 and b=RR:0 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3547 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-25Fix #1233: Fixed SDP parser bug when parsing transport in SDP media line ↵Nanang Izzuddin
without format list. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3541 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Fix #1212:Nanang Izzuddin
- Updated pj_register_strerror() to just return PJ_SUCCESS when the same range and handler is being re-registered. - Removed the usage of static flag of error string handler registration in some modules, which prevent the re-registration of the handler, e.g: in restarting pjsua, as such flags never got reseted. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3455 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Re #1175 (Misc): coreaudio fixes:Liong Sauw Ming
* Setting audio session category is now during stream creation instead of in the factory initialization. * Reset the audio session category after an interruption. * By default, audio route change property listener is disabled as it is no longer required. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3454 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15Misc (re #1175) (thanks to Seth Hinze for the patch):Liong Sauw Ming
* uri_test: Fixes a divide by zero error when the benchmark is run on a really fast machine. * presence: Fixes a compiler warning about potential referencing of an uninitialized variable. * echo_speex: Allow for compilation when PJMEDIA_HAS_SPEEX_AEC is not defined. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3443 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15Closed #1206: Add pjmedia_stream API to get the last frame type retrieved ↵Liong Sauw Ming
from the jitter buffer. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3442 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15Re #1204:Liong Sauw Ming
* Update audio device's list after refreshing the device. * Fixed WMME macro. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3440 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-11Fixed #1204: Support for refreshing audio device list.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3438 74dad513-b988-da41-8d7b-12977e46ad98