summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-02Tagged 2.5.1v2.5.1Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/tags/2.5.1@5333 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-02Changed version to 2.5.1Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5332 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-01Re 1917(misc): Fix silly mistake on r5330.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5331 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-01Re #1917(misc): Fix failed purity_test() on pjlib-test since getaddrinfo() ↵Riza Sulistyo
might return multiple addrinfo. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5330 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-01Re #1923: Added check for call availability before processing delayed ↵Nanang Izzuddin
answer, as call may have been disconnected after call is answered with 200 from on_incoming_call() callback but media fails to start. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5329 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-31Re #1917 (misc): Fix failed pjlib-test when built using Visual Studio 2015 ↵Riza Sulistyo
caused by defined EINVAL with different string error. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5328 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-31Misc (re #1917): Print warning (instead of returning error) in creating SIP ↵Nanang Izzuddin
UDP transport IPv6 with STUN enabled. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5327 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-31Re #1918:Nanang Izzuddin
- Fixed issue of cannot make/receive call after previous call initialization fails due to STUN error, reproducing steps: 1. Configure an account with acc->cfg.media_stun_use set PJSUA_STUN_RETRY_ON_FAILURE. 2. Start pjsua with STUN servers A and B configured. On startup, both STUN servers A and B are available, so PJSIP will use STUN server A 3. Both STUN server A and B become unavailable 4. Make an outgoing call. 5. Pjsua first tries with STUN server A, fails 6. Pjsua then retry with STUN server B, still fails 7. PJSIP then aborts the call with error (which is desired!) 8. Both STUN server A and B become available again 9. User tries to dial or receive an incoming call, but cannot because the last STUN server status is stored and used in making/receiving call without retrying to resolve STUN server. - Fixed deadlock issues. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5326 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-31Re #1917: Related to ticket #1311, sets the factory on transports created as ↵Liong Sauw Ming
a result of an accept as well. Thanks to George Joseph for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5325 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-30Misc (re #1917): Reset media provisional count in adding video after media ↵Nanang Izzuddin
initialization fails. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5324 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-27Re #1923: Delay call-hangup triggered from simulated onIncomingCall() to ↵Riza Sulistyo
avoid assertion. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5323 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-26Re #1921: Fixed wrong checks in determining IPv6 transport typesLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5322 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-26Misc (re #1917): Missed inline implementation of ↵Nanang Izzuddin
pjmedia_snd_get_dev_count(), see also #1907 (thanks Marcus Froeschl for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5321 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25Misc (re #1917): Disable ALSA audio device backend on BB10 in ↵Nanang Izzuddin
config_site_sample.h. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5320 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25Fix #1925: pj_getaddrinfo() should invoke getaddrinfo() even when IP address ↵Nanang Izzuddin
is inputted, except on Windows Mobile platforms (see #458). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5319 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25Misc (re #1917): Fixed pjsua build error of 'exception handling disabled' on ↵Nanang Izzuddin
Android. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5318 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25Re #1917 (misc): Suppress empty-body warning and "logical not is only ↵Liong Sauw Ming
applied to the left hand side of this comparison" warning git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5317 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25Fix #1924: Put check whether dialog has been registered to pjsip UA before ↵Nanang Izzuddin
calling pjsip_ua_unregister_dlg() to avoid assertion. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5316 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25Re #1917(misc): Update how PJMEDIA_VIDEO_DEV_HAS_OPENGL is define.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5315 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-24Fix #1923: Delay call-answer triggered from simulated onIncomingCall() to ↵Nanang Izzuddin
avoid assertion. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5314 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-24Misc (re #1917): Added capability of receiving incoming call in pjsua2_demo.cpp.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5313 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-20Re #1917(misc): Fix tpipv6.h not found when enabling IPv6 on Visual Studio.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5312 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-20Re #1922: Replace IPv4 specific APIs as per Apple's recommendationsLiong Sauw Ming
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW27 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5311 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-19Re #1917 (misc): Replace obsolete command (since autoconf 2) on aconfigure.ac.Riza Sulistyo
Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5310 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-19Re #1917 (misc): Change how PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL is declared in ↵Riza Sulistyo
config.h. It needs to be enabled manually. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5309 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-19Fixed #1921: Add support to handle IPv6 transports in pjsua_transport API ↵Liong Sauw Ming
and transport keep alive Also: - add more detailed transport info for TCP and TLS transport - fixed pjsua sample app which tries to get IPv4 local address from IPv6 transport. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5308 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-19Re #1918: Fixed continous looping when trying to resolve STUN server due to ↵Riza Sulistyo
lock handling. Also move the unusable server to the least prioritize to be chosen on the fallback process. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5307 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-18Re #1920: Avoid linking error when video is not enabled.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5306 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-18Re #1920: Update how keyframe is detected on FFMpeg codec, since Riza Sulistyo
AVCodecContext.coded_frame is deprecated. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5305 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-17Re #1920: Check for libavformat instead of libavcodec when settingRiza Sulistyo
PJMEDIA_HAS_FFMPEG_CODEC. ffmpeg_vid_codecs.c has a compile-time guard of PJMEDIA_HAS_FFMPEG_VID_CODEC which is PJMEDIA_HAS_FFMPEG_CODEC which is PJMEDIA_HAS_LIBAVCODEC. However, the code requires libavutil, libavcodec, and libavformat. In Ubuntu (and Debian), the package libavformat-dev contains libavcodec-dev and libavutil-dev. Not the other way around. Therefore, the current compile-time guard is not sufficient and should check PJMEDIA_HAS_LIBAVFORMAT instead. Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5304 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-17Re #1920: Fix typo on configuration script when trying to detect FFMpegRiza Sulistyo
package (libavdevice). Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5303 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-17Re #1920: Since FFmpeg version 0.7 (June 2011), the struct AVFormatParameters,Riza Sulistyo
the function av_open_input_stream, and function av_close_input_stream are deprecated. With FFmpeg 0.11, those three symbols were removed. Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5302 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-17Re #1920: In the development branch of FFmpeg 0.8 (in July 2010), a new libraryRiza Sulistyo
was created AVCore. Just a half year later (February 2011), AVCore was merged into AVUtil (52.38.0). Furthermore, nothing in pjproject uses libavcore. Therefore, it is save to remove all references to that library. Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5301 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-17Re #1917(misc): When enabling libsamplerate, the current source code expects toRiza Sulistyo
have the already installed package "libsamplerate" in the third-party directory of pjproject. The patch changes this. Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5300 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-17Re #1917(misc): Update README.txt including the one on third_party folder.Riza Sulistyo
Thanks to Alexander Traud for the report. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5299 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-13Fixed #1918: Add API to update STUN servers and option to retry STUN for ↵Liong Sauw Ming
media on failure git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5297 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-13Re #1917 (misc): Fixed memory leak in pj_stun_sock_start() if ↵Liong Sauw Ming
pj_getaddrinfo() fails git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5296 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-13Re #1917 (misc): Fixed pj_getaddrinfo()'s CFHost version (such as on iOS) ↵Liong Sauw Ming
which may return truncated IP address if (af == PJ_AF_UNSPEC) and the address is of IPv6 family. Thanks to Johan Lantz for the fix. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5295 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11Changed version to 2.5-svnNanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5294 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11Changed version to 2.5Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5292 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11Re #1882 (misc): re r5290, wrong value of Enable Bitcode setting, should be NO Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5291 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11Re #1882 (misc): Set Enable bitcode to No in ipjsua sample app for iOSLiong Sauw Ming
For future reference about bitcode: https://developer.apple.com/library/watchos/documentation/IDEs/Conceptual/AppDistributionGuide/AppThinning/AppThinning.html#//apple_ref/doc/uid/TP40012582-CH35-SW2 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5290 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11Re #1906: Fixed build error 'lib !PortAudio not found' in project Samples on ↵Nanang Izzuddin
MSVC2015. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5289 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-10Fixed #1914: onCreateMediaTransport() callback might not be called on PJSUA2.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5288 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-10Misc (re #1882): Fixed build warning on Android: narrowing conversion of ↵Nanang Izzuddin
long uint to long int. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5287 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-10Re #1897: Updated ffmpeg_vid_codecs.c to support older ffmpeg.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5286 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-10Misc (re #1882): Fixed buffer size not sufficient when setting cipher list.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5285 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-10Close #1915: Added API pjsip_udp_transport_start2() that can create both ↵Nanang Izzuddin
IPv4 and IPv6 SIP UDP transports. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5284 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-09Fixed #1914: Ignore STUN error after pjstun_get_mapped_addr2().Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5283 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-09Fixed #1913: Add callback for address change notification from STUN keep aliveLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5282 74dad513-b988-da41-8d7b-12977e46ad98