summaryrefslogtreecommitdiff
path: root/pjmedia
AgeCommit message (Collapse)Author
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
2011-02-28Re #1174 (coreaudio_dev work): minor changes to replace "Error" message with ↵Benny Prijono
"Warning" for non-fatal errors git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3422 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-22Re #1200: updated IPP codecs to support IPP v7.0 on MSVC, only include ↵Nanang Izzuddin
"ippsr.lib" in auto link when IPP major version is 6 or below. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3417 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-18Fix #1199:Nanang Izzuddin
- Modified G722 frame time to 10ms (was 20ms) and frame per packet to 2 (was 1). - Updated the detection mechanism of remote G722 frame-length in the stream to be flexible to any G722 frame length setting (was assumed to be always 20ms). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3416 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-17Misc (re #1175): fixed possible division-by-zero bug when receiving ↵Nanang Izzuddin
problematic G722 payloads (e.g: sized less than 160 bytes) and remote clock-rate/timestamp-span detection is active (PJMEDIA_HANDLE_G722_MPEG_BUG is set). Thanks Erik Waling for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3414 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-15Re #1174: fixed crash when pjsua is restarted, causing inClientData to be ↵Liong Sauw Ming
invalid since AudioSessionInitialize can only be called once. Re #1175: cleaning up interruption and audio route handling in coreaudio for iOS. In the case of interruption, there is no need to reinstantiate the audio unit (a simple restart will do), while for audio route change, nothing needs to be done. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3413 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-10Re #1175: Modified default core audio unit used on iOS from VPIO to ↵Liong Sauw Ming
RemoteIO. To use VPIO, application needs to specify a nonzero value for the PJMEDIA_AUD_DEV_CAP_EC capability. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3411 74dad513-b988-da41-8d7b-12977e46ad98
2011-01-31Re #1192: Fixes stereo support.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3410 74dad513-b988-da41-8d7b-12977e46ad98
2011-01-21Re #597: Modify buffer padding code for EOF event (thanks to Thomas Johnson).Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3407 74dad513-b988-da41-8d7b-12977e46ad98
2011-01-20Re #3398: Fixes assertion in the resample procedure and callback.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3406 74dad513-b988-da41-8d7b-12977e46ad98
2011-01-19Fixes #597: Error reading WAV files when there are extra chunks after DATA ↵Liong Sauw Ming
chunk. Wav player will now just play data chunks in wav files and ignore others. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3405 74dad513-b988-da41-8d7b-12977e46ad98
2011-01-13Fix #1195: assertion during thread registration in coreaudio and portaudio's ↵Liong Sauw Ming
input/output callbacks on Mac OS X and #1196: using system's default audio input/output device instead of first available device. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3404 74dad513-b988-da41-8d7b-12977e46ad98
2011-01-04As compared to iOS SDK 3.x, in iOS SDK 4.x, __IPHONE_OS_VERSION_MIN_REQUIRED ↵Liong Sauw Ming
is defined only when -miphoneos-version-min is used (see the SDK's AvailabilityInternal.h). This causes coreaudio_dev to be compiled using RemoteIO (instead of VPIO) and without Bluetooth support. This revision fixes #1194. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3403 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-19Re #1174:Liong Sauw Ming
Fixed AudioSession services error handling in factory initialization. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3400 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-17Fixed #1174, #1191, #1192Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3398 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-14Fix #1188:Nanang Izzuddin
- Fixed jitter buffer progressive discard by returning 'missing' frame after discarded frame(s) so the PLC will be invoked to align the audio signal. - Modified conditions in jitter buffer test data for this fix. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3396 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-06Fixed #1160: Option to bypass RTP payload type verification in the stream ↵Benny Prijono
(thanks Johan Lantz for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3387 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-05Misc (re #1151): Fixed crash in coreaudio_dev when there is no call during ↵Liong Sauw Ming
an interruption. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3386 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-02Re #1165: fixed SRTP transport to not update the SRTP activation flag, i.e: ↵Nanang Izzuddin
bypass_srtp, in transport_encode_sdp(), as it shouldn't change the media session states. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3384 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-02Fix #1171, fixed issues in pjmedia_codec_mgr_set_default_param():Nanang Izzuddin
- updated the releasing of the old pool to be done after the new codec param is copied - fixed the double dec_fmtp copy loop, one of them should be enc_fmtp copy loop instead git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3380 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-02Misc (re #1151): fixed bug in pjmedia_session_enum_streams(), used wrong ↵Nanang Izzuddin
pointer for the stream info source. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3379 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-01Fix #1165:Nanang Izzuddin
- Fixed pjsua_media_channel_create_sdp() to re-calculate audio index of the remote offer, instead of using existing audio index calculated by pjsua_media_channel_init(), as for subsequent SDP offer/answer, pjsua_media_channel_init() may not be called. - Fixed SRTP transport to be able to switch SRTP status from active to inactive/by-passed and vice versa. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3376 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-03Misc (re #1151): fixed the compile time switch to use iLBC codec on iPhoneBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3362 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-03Fixed #1154 (Run-time option to disable telephone-event in outgoing SDP ↵Benny Prijono
offer (thanks Marcus Froeschl for the suggestion)) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3360 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-29Misc (re #1151): fixed jitter buffer state 'jb_max_burst' initialization, ↵Nanang Izzuddin
MAX_BURST_MSEC should be converted to number-of-frame unit (thanks Zhefeng Du for the fix). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3359 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-28Fix #1153: Fixed missing header dependency in pjmedia-codec/types.h, it ↵Nanang Izzuddin
should include pjmedia/codec.h git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3358 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-18Re #1140, cleaned up the mutex usages in SRTP transport:Nanang Izzuddin
- using mutex in accessing application callback pointers - releasing mutex before calling application callbacks to avoid deadlock - refine the synchronization of backend/libsrtp states git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3348 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-16Fixed #1148:Nanang Izzuddin
- Added check in processing answer, if media offer port is zero, just skip negotiation process. - Added SIPp test scenario. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3347 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-14Misc (re #1134): changed dynamic payload type starting value for internal ↵Benny Prijono
codecs to 96 (from 101) as we are running out of constants. Also added more comments to clarify the restriction on the value, i.e. it must be less than 128 (thanks Robbie Hanson for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3345 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-10Misc (re #1134): Fixed memory leak after getting audio route capability in ↵Liong Sauw Ming
coreaudio_dev git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3335 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-30Re #1134 (misc fixes): fixed various doxygen warnings, as well as added ↵Benny Prijono
overview section in pjmedia documentation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3327 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-28Fix #1135: added RTP padding checks and RTP payload length adjustment ↵Nanang Izzuddin
according to padding length. Payload padding in outgoing RTP investigation results: - the RTP does not specify RTP payload alignment. - most codecs also do not specify RTP payload alignment, usually only octet-alignment is specified and this seems to be done. - SRTP, RFC3711 states: - None of the pre-defined SRTP encryption transforms uses any padding; for these, the RTP and SRTP payload sizes match exactly. - Message authentication codes define their own padding. - Encryption transforms that use padding are vulnerable to subtle attacks, especially when message authentication is not used. So, currently payload padding in outgoing RTP is not necessary. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3325 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-23Misc (re #1134): fixed error in Makefile target for generating doxygen ↵Benny Prijono
documentation when WWWDIR is specified git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3319 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-22Close #1133: added processing to remote SDP attribute "ptime".Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3315 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-20Closed #1129:Nanang Izzuddin
- Added run-time configuration for activating/deactivating stream keep-alive (non-codec-VAD mechanism), also added this config to account settings. - Fixed bug wrong session info pointer "si" in pjsua_media_channel_update() when call audio index is not zero. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3313 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-24Fix #1114:Nanang Izzuddin
- Fixed bytes_per_frame calculation in stream port. - Fixed sample streamutil.c to use codec info/param for codec bandwidth calculation (was using bytes_per_frame info of stream port). - Doc fix for bytes_per_frame field in pjmedia_port_info. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3292 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Fix #1112: fixed IPP G.729 codec to update the application regarding VAD ↵Nanang Izzuddin
status, disabled/off, after receiving 'fmtp:18 annexb=no' in the SDP. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3288 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-11Re #1106: Reverted back the IPP codec APIs ↵Nanang Izzuddin
pjmedia_codec_ipp_set/get_config() as currently to set PCM signal level adjustment can be done using the existing G722.1 API pjmedia_codec_g7221_set_pcm_shift(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3263 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-11Misc (re #1068): fixed various compilation warnings with Visual Studio 6 and ↵Benny Prijono
2005 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3262 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-10Fix #1106:Nanang Izzuddin
- Added PCM signal adjustment in IPP G722.1 implementation. The default setting is configurable via (the existing compile-time config) PJMEDIA_G7221_DEFAULT_PCM_SHIFT. - Added new APIs to get and set IPP codecs settings: pjmedia_codec_ipp_set/get_config(). At run-time, the G722.1 PCM signal adjustment setting can be set using these functions. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3261 74dad513-b988-da41-8d7b-12977e46ad98