Commit Graph

1269 Commits

Author SHA1 Message Date
Sauw Ming cf630db1d6 Re #1941: Add support to specify min iOS versions in configure-iphone and update the default for ipjsua sample app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5453 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-07 05:49:14 +00:00
Riza Sulistyo 070981eb07 Re #1964: Add PJ_QOS_TYPE_SIGNALLING to pjsua2 swig symbol and the deprecated pjsua python module.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5448 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-06 07:20:41 +00:00
Sauw Ming 5a6c810022 Re #1954: Add option to use WebRtc EC in aectest sample app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5446 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-06 00:52:12 +00:00
Sauw Ming 2f3374260b Re #1954: Add libwebrtc to ipjsua sample app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5443 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-05 09:03:10 +00:00
Sauw Ming fcd490b08a Re #1954: Add support for VS2015.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5432 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-26 01:59:53 +00:00
Sauw Ming 8f1d068b65 Re #1956: Support for setting audio input source capability in Android JNI audio device
* modify the sample code
* add symbols for pjsua2



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5430 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-25 03:28:54 +00:00
Sauw Ming fc7b89425a Fixed #1951: Add callback to configure SRTP setting and key in pjsua/pjsua2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5417 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-12 03:47:26 +00:00
Sauw Ming 50e392b0e4 Fixed #1950: Failure in configure-android when specifying --use-ndk-cflags with Android NDK r11 or later
* Create our own dummy (empty) Android sample app
* Unspecify the toolchain version and use default instead



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5409 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-05 04:42:48 +00:00
Riza Sulistyo 990448ede1 Re #1945 (misc): Add pjsua2 sample app using javafx.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5402 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-28 08:50:08 +00:00
Riza Sulistyo 76eb2a2a4a Re #1944: Allow native window to be set for video output window on SDL
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5392 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-20 06:55:11 +00:00
Nanang Izzuddin a8e81715b0 Misc (re #1928): Fixed build error in Android SWIG wrapper after modification r5389 (using --sysroot instead of -I in CFLAGS).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5391 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-20 05:21:51 +00:00
Nanang Izzuddin 8dcd2e3a5b Misc (re #1928): Added MSVC2005 project 'swig_java_pjsua2.vcproj' for building Java binding of pjsua2 via SWIG.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5390 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-20 03:28:37 +00:00
Nanang Izzuddin 0d27f4a1f3 Misc (re #1928): Fixed various compile warnings.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5366 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29 05:53:10 +00:00
Nanang Izzuddin 5a0186f493 Re #1937: Added libyuv build configs for GNU build systems.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5361 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-28 14:32:08 +00:00
Riza Sulistyo 6e472e9320 Re #1937: Change project and folder name for consistency with existing third party library.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5358 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-28 06:04:19 +00:00
Riza Sulistyo 0ebbabf445 Re #1937: Add libyuv to Visual Studio 2005 and 2015 solution.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5354 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-23 05:28:54 +00:00
Nanang Izzuddin b4320dd18b Misc (re #1917): Fixed pjsua build error of 'exception handling disabled' on Android.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5318 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25 07:30:46 +00:00
Nanang Izzuddin 0b56a55dc3 Misc (re #1917): Added capability of receiving incoming call in pjsua2_demo.cpp.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5313 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-24 07:13:44 +00:00
Sauw Ming 3733338bc1 Re #1922: Replace IPv4 specific APIs as per Apple's recommendations
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW27



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5311 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-20 04:17:00 +00:00
Sauw Ming 4048dad7c5 Fixed #1921: Add support to handle IPv6 transports in pjsua_transport API 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: https://svn.pjsip.org/repos/pjproject/trunk@5308 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-19 06:55:16 +00:00
Sauw Ming 61ad8bd388 Re #1882 (misc): re r5290, wrong value of Enable Bitcode setting, should be NO
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5291 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11 04:54:16 +00:00
Sauw Ming 346320a2c7 Re #1882 (misc): Set Enable bitcode to No in ipjsua sample app for iOS
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: https://svn.pjsip.org/repos/pjproject/trunk@5290 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11 04:51:57 +00:00
Nanang Izzuddin d8b32fc020 Re #1906: Fixed build error 'lib !PortAudio not found' in project Samples on MSVC2015.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5289 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-11 03:15:12 +00:00
Nanang Izzuddin 43afb3f280 Misc (re #1882): Update Python setup.py to get 'make' from environment variable MAKE, if it doesn't exist, just use 'make'. On some systems, such as FreeBSD, default 'make' command is not GNU compatible.
Thanks George Joseph for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5281 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-03 04:27:07 +00:00
Riza Sulistyo 77b7415ecf Fixed #1912: Build Error on Alpine linux (musl libc).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5277 74dad513-b988-da41-8d7b-12977e46ad98
2016-04-13 06:24:48 +00:00
Riza Sulistyo a39f16728d Re #1908: Implement new API to open speaker only in pjsua/pjsua2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5273 74dad513-b988-da41-8d7b-12977e46ad98
2016-04-04 01:44:10 +00:00
Nanang Izzuddin 17e3246fc8 Close #1906: Removed PortAudio from PJSIP source package.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5268 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-23 07:52:41 +00:00
Sauw Ming c290cf2c07 Re #1882 (misc): Fixed crash caused by typo when initializing pjsua_msg_data
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5265 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-17 03:37:13 +00:00
Sauw Ming b6779d4f7e Re #1882 (misc): Fixed library open error on Android when using SDK version 23 and warning: library has invalid DT_NEEDED entry for SDK version below 23
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5263 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-16 10:47:27 +00:00
Nanang Izzuddin 5eea7d96f9 Misc (re #1882): Fixed crash due to insufficient buffer in printing video device capabilities and formats in pjsua app.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5259 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-14 06:40:45 +00:00
Nanang Izzuddin 31c9c139fd Re #1900:
- Works on UWP socket & ioqueue.
 - Media transport UDP: cancel any pending send on detach, otherwise there is possibility that send buffer is already freed by application (stream) when the send op starts.
 - Ioqueue common abs: rename 'generic' as it seems to be a keyword in C++/CX, fixed #if/#endif possition in ioqueue_init_key().
 - pjsua GUI app: fixed thread registration status check.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5256 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-11 04:17:32 +00:00
Riza Sulistyo 4660ce3230 Re: #1900:
- Add new property file (pjproject-vs14-api-def.props) to define the API used
- Add ioqueue specific to uwp using winRT networking API
- Add uwp GUI sample APP using Voip architecture
- Add async activation for wasapi dev



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5254 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-07 23:15:34 +00:00
Benny Prijono 0b33ce5ea5 Misc (Re #1882): encdec print the bitrate
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5253 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-04 08:41:42 +00:00
Nanang Izzuddin 21b28984d8 Misc (Re #1882): Fixed crash in sample app encdec.c due to insufficient buffer when using codec with clockrate > 16000Hz.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5251 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-03 08:05:55 +00:00
Riza Sulistyo c58101bb69 Misc (Re #1882): Add compile time option (PJMEDIA_HAS_DTMF_FLASH) to enable/disable DTMF flash as specified in rfc2833.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5242 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-18 03:15:19 +00:00
Nanang Izzuddin 4b36447313 Fixed #1902:
- Crash when endpoint has multiple worker threads and SIP TCP transport is disconnected during incoming call handling.
 - Deprecated pjsip_dlg_create_uas(), replaced by pjsip_dlg_create_uas_and_inc_lock().
 - Serialized transaction state notifications (of 'terminated' and 'destroyed') in case of transport error.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5241 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-05 04:29:17 +00:00
Riza Sulistyo e67887e55e Re #1900: Initial implementation with pjsua cli/telnet sample app.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5210 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-10 01:58:38 +00:00
Sauw Ming 4021214257 Fixed #1888: Support for WebRtc AEC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5186 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-06 05:57:51 +00:00
Riza Sulistyo 5a5522dc6e Re #1881: Add filters file.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5181 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-21 05:25:04 +00:00
Nanang Izzuddin 88358fd268 Re #1881: Fixed compile warnings on VS2015 about declaration hides previous declaration.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5170 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-25 08:45:46 +00:00
Nanang Izzuddin 710aa0cc27 Re #1881:
- Updated build output naming 'vc8' -> 'vc14' for VS2015.
 - Fixed miscelaneous warnings in VS2015 project settings.
 - Updated SVN ignore property.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5169 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-25 08:41:17 +00:00
Riza Sulistyo bcfe1aea76 Re #1881: Add Visual Studio 2015 support.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5168 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 14:58:04 +00:00
Sauw Ming d3d2427ead Fixed #1880: Incorrect orientation after switching video capture or when using back camera
Included in this fix:
* Change the spec & doc of pjmedia_orient enumeration
* Change iOS sample app to rotate all video devices upon orientation change event.
* Set orientation as well when fast switching cameras (for iOS and Android)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5166 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 06:46:32 +00:00
Riza Sulistyo c6303bc81d Re #1879:
- Implement set video codec param in PJSUA2 API
- Fix bug in videoCodecEnum and updateCodecInfoList



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5165 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 06:00:46 +00:00
Sauw Ming 464a116faf Re #1870: Modified the last identifier of the build triplet from darwin to darwin_ios to distinguish between iOS and MacOS platforms.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5150 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-06 09:15:11 +00:00
Nanang Izzuddin a0ca842333 Fix #1876: Don't restart renderer when only fps is changing, just modify the clock instead.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5149 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-06 07:10:33 +00:00
Sauw Ming 7de146bfc6 Re #1843 (misc): Fixed typo in displaying error message in importsym.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5148 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-06 06:37:49 +00:00
Nanang Izzuddin 563ea87359 Misc (re #1843): Fixed compile error in app samples on some compiler due to implicit conversion of 'void *' to 'pj_pool_t *'.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5141 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-31 07:18:33 +00:00
Sauw Ming 93efad4c9b Fixed #1861: Add support for video capture orientation on Android
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5138 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-30 06:23:35 +00:00
Nanang Izzuddin 1596803296 Re #1870: Fixed 64 bit arch issues on iOS: pool alignment, updated config.sub, updated lib/app file naming, lib dependencies on XCode.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5137 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-29 02:31:12 +00:00
Sauw Ming 4c34c04ab9 Fixed #1868: Disable serialization in pjsua2 Error class
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5132 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-13 11:14:30 +00:00
Sauw Ming 33bd0fd547 Re #1861: Changed pjsua API for setting the orientation using a more generic API, pjsua_vid_dev_set_setting() instead
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5125 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-03 06:21:30 +00:00
Riza Sulistyo bfb34064bc Re #1863: Initial implementation of PJSUA2 Video Codec API and Video Device API.
- Codec management (enum codec, set prio, get param, set param)
- Device management (enum dev, dev count, dev info).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5123 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-01 02:20:12 +00:00
Sauw Ming b02c2cebd6 Re #1861: Initial implementation of video orientation support
- Utility to resize and rotate video frame
- Support for iOS + sample
- pjsua API to set video device's orientation



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5118 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-25 08:17:52 +00:00
Sauw Ming deb04d5747 Re #1843 (misc): Removed accidental inclusion of local library search paths.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5116 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-25 01:39:22 +00:00
Riza Sulistyo 15ba413ef8 Re #1855 (Pjsua2 Video Preview API): Add Pjsua2 Preview API and sample usage in pjsua2 app for android.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5102 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-28 07:14:24 +00:00
Nanang Izzuddin b0fc5390fa Misc (re #1843): Fixed missing SWIG director feature for class AudioMediaPlayer.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5100 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-27 10:33:50 +00:00
Sauw Ming 58bac9a015 Re #1843 (misc): Sample app streamutil: Set the receiving payload type as well, instead of only the outgoing pt
Thanks to Chris Cox for the suggestion.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5095 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-15 06:47:00 +00:00
Sauw Ming 70d2dfd292 Re #1845: Remove the hardcoded buffer size in one more place, to use PJ_SSL_SOCK_MAX_CIPHERS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5077 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-23 02:47:49 +00:00
Sauw Ming 3ba6b97f46 Fixed #1845: Add support if OpenSSL library has more than 100 cipher suites
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5076 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-23 02:42:49 +00:00
Nanang Izzuddin c3246980da Re #1842: Updated pjsua app to avoid stdout buffering, and also adjusted python tests accordingly.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5065 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-13 12:14:02 +00:00
Riza Sulistyo 006243d376 Re #1803: Add Application.mk which is necessary for ndk-build to define APP_ABI (needed for targets other than armeabi).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5056 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-09 04:29:36 +00:00
Sauw Ming 3cfd08af0d Re #1782 (misc): Improve layout in ipjsua sample app, so it can display both preview and incoming video together.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5041 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-31 04:59:54 +00:00
Nanang Izzuddin 92be094078 Re #1832: Update Android pjsua CLI build config to automatically replace prebuilt libraries on each ndk-build invocation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5036 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-27 08:30:53 +00:00
Nanang Izzuddin b20d77c49f Re #1828: Fixed misc compile warnings (on iOS).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5035 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-27 06:17:27 +00:00
Nanang Izzuddin 3b6d9fced1 Re #1790: Fixed error build of undefined "ANativeWindow_fromSurface()" when video is disabled.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5032 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-26 10:57:05 +00:00
Nanang Izzuddin d980a041ba Re #1790: Misc fixes on renderer viewing in pjsua CLI app sample, e.g: handle NULL surface, handle video disabled, cleanup unused codes.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5030 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-26 10:06:45 +00:00
Nanang Izzuddin 991d0815f3 Re #1822: Misc fix in Android video device build setting:
- fixed silly typo caused Android video device sources not being built
 - avoid copying Android camera helper codes when video is disabled



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5029 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-26 09:54:18 +00:00
Nanang Izzuddin 9b517ec8a7 Re #1822: Re r5018, removed non cross-platform "cp" command flag "-u".
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5025 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-26 03:17:25 +00:00
Nanang Izzuddin 900e5d6f5f Re #1823: Video settings on sample apps:
- enabled video on pjsua CLI if video is configured
 - enabled video auto-rx/tx of any account on pjsua2 sample app



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5022 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-25 03:41:21 +00:00
Nanang Izzuddin 4bddb61dbd Re #1822: Moved Android camera helper (PjCamera.java and PjCameraInfo.java) from sample app to pjmedia-video dev dir.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5018 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-23 06:28:40 +00:00
Nanang Izzuddin 335ebba0bb Misc (re #1782): Coding style works (indentation, etc) on Android pjsua2 sample app codes.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5017 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22 10:22:44 +00:00
Sauw Ming c52460741a Re #1790: Misc fixes:
* Fixed crash when trying to set NULL surface
* Fixed race condition between setting surface and rendering
* Fixed crash due to GC of VideoWindow



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5016 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22 09:39:31 +00:00
Nanang Izzuddin 013a33bf26 Re #1790:
- Removed android_opengl_get_surface() for renderer view setup, Java application can directly supply Surface object as renderer window.
 - Added renderer view on pjsua CLI app sample.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5014 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22 08:53:03 +00:00
Perry Ismangil 7cb9340ed2 Removing XCode userdata
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5011 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22 01:47:35 +00:00
Perry Ismangil d347848c6f Shared scheme for remote builds
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5010 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-21 23:23:05 +00:00
Perry Ismangil b988903fa4 Experimental adding scheme for continuous integration
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5009 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-21 10:21:41 +00:00
Perry Ismangil 5e0cdf371c Added Xcode workspace for iOS app continuous integration
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5008 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-21 09:53:42 +00:00
Nanang Izzuddin b058a4c57f Misc (re #1782): Setup log writer function on pjsua CLI (useful for debugging library initialization).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5005 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-20 10:19:12 +00:00
Nanang Izzuddin 31b6876606 Re #1822: Skipped FPS setting on staring Android video capturer, unsupported/non-exact range value may be rejected by some devices such as Nexus.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5004 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-20 10:15:38 +00:00
Sauw Ming a07c866b24 Re #1823 (pjsua2 video api): sample usage of Video Window API in pjsua2 app for android
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4997 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-18 12:02:51 +00:00
Sauw Ming 0341f920b9 Re #1823 (PJSUA2 Video API): Add Pjsua2 Video Window API and Pjsua API to set output window
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4996 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-18 08:25:24 +00:00
Nanang Izzuddin b5ab265a3c Re #1822: Initial implementation of Android video capturer.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4994 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-17 04:02:44 +00:00
Riza Sulistyo 24bae56fbc Re #1806: Implement SSL/TLS setting to set protocol operation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4968 74dad513-b988-da41-8d7b-12977e46ad98
2014-12-18 04:40:35 +00:00
Riza Sulistyo 9ee01b1fea Misc (re #1782): Update the xcode interface builder (xib) file for iPad.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4940 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-06 17:47:35 +00:00
Sauw Ming 991d91dffd Re #1790: Initial basic implementation of Android OpenGL renderer
To use it, app has to specify PJMEDIA_HAS_VIDEO to 1



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4928 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-24 04:01:34 +00:00
Sauw Ming 00c7b04a3c Re #1782 (misc): Removes ffmpeg libraries from XCode project.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4916 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-08 03:37:30 +00:00
Nanang Izzuddin 3610f6f78e Re #1768: Add forced GC to libDestroy() in SWIG Java.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4906 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-26 07:27:23 +00:00
Benny Prijono cd7a313a58 Misc re #1751: changing Android java's String.isEmpty() to String.length()==0 for better portability since the former is only available on API level 9
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4870 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-03 09:43:19 +00:00
Benny Prijono d08da0a012 Misc re #1751: removed --tls-srv-name from pjsua usage text since that feature has been removed long time ago by #1448 (thanks Alexander Traud for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4868 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-02 18:07:12 +00:00
Sauw Ming d06ace5d10 Re #1768: move access to MainActivity class from MyApp to avoid undefined symbol error when not compiling for Android app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4866 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-02 02:58:01 +00:00
Nanang Izzuddin 97bd35d547 Misc (re #1751): Fixed uninitialized config filename in ui_write_settings() in pjsua app (thanks Lars Helgeson for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4851 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-23 09:29:09 +00:00
Sauw Ming 31da64e8ae Re #1757: Modify display video function in r4813 so it can display video preview as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4848 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-22 04:52:53 +00:00
Benny Prijono a5e86c3eb4 Fixed #1767: Tone generation API in pjsua2 and SWIG wrappers
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4845 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-19 05:51:10 +00:00
Benny Prijono aa36908a4a Re #1768: fixed potential GC problem when rejecting incoming call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4844 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-09 10:39:39 +00:00
Benny Prijono 4b0375c37d Re #1768: added APP_PLATFORM to avoid this warning "WARNING: APP_PLATFORM android-18 is larger than android:minSdkVersion 11" which would make native debugging fail
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4842 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-09 08:51:54 +00:00
Benny Prijono da23a224b6 Re #1768: fixed wrong JNI compilation flags used by pjsua2 Android sample app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4841 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-09 08:50:08 +00:00
Benny Prijono 424d80b479 Re #1768: Fixed problems with Java garbage collection on call and buddy object
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4840 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-09 08:47:06 +00:00
Riza Sulistyo 12ca3d81cc Misc (re #1751): Fix crash when retrieving dynamic choice(video stream info) caused by the use of invalid array index.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4826 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-24 09:45:52 +00:00
Nanang Izzuddin 97fc0976fc Misc (re #1751): Fixed compile error 'Implicit declaration of function is invalid in C99' on Xcode 5.1.1.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4822 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-22 07:31:32 +00:00
Benny Prijono b3034d498f Re #1758: Initial implementation of OpenH264 wrapper. Supports:
- library detection via autoconf
 - CBP
 - packetization modes: 0, 1
 - key frame request and indication
 - obey remote's fmtp

Also added video codec test in samples (similar to the one in pjmedia test though).
And there are some fixes here and there too (e.g. in vid_codec_util.c).


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4815 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-10 10:01:07 +00:00
Riza Sulistyo 2d91e02341 Misc (re #1751): Fixed compile error on stereo_demo due to changes on pjmedia_port_info.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4814 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-10 01:56:40 +00:00
Sauw Ming 2015de408d Re #1757: Add example to display video in ipjsua (require ffmpeg libraries)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4813 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-08 09:43:01 +00:00
Sauw Ming c03be3ba02 Re #1751 (misc): Add feature in Python API to enable mwi and modify account (thanks to John Bigelow for the patch). This is to update the old API. If possible, application is recommended to use the new API based on pjsua2 instead (please refer to pjsua2 book).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4810 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-07 06:56:06 +00:00
Nanang Izzuddin a50e0b5a81 Misc (re #1751): Fixed unremoved pjsua2_demo.o after 'make clean'.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4803 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-25 06:38:41 +00:00
Perry Ismangil 66890967f2 Re #1751 Removed reference to libmilenage in ipjsua iOS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4799 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-20 03:57:46 +00:00
Benny Prijono de71c0e645 Misc (re #1751): added experimental option to enable/use worker thread for Python. To enable worker thread:
- uncomment USE_THREADS in pjsip-apps/src/swig/python/Makefile
 - change USE_THREADS to True in pjsip-apps/src/pygui/application.py


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4798 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-19 21:20:17 +00:00
Benny Prijono b9d570c3bb Misc re #1742: fixed output error in helper.mak in swig module setup.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4794 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-14 06:30:35 +00:00
Benny Prijono 6c02e39e89 Closed #1748: enhancements to WAV player API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4793 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-14 04:09:50 +00:00
Riza Sulistyo 5b5851e9d1 Re #1742 (misc): Add input file checking on pjsua2_demo
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4790 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-11 07:03:22 +00:00
Sauw Ming f3aae56e6f Re #1742 (misc): Fixed incorrect checking of require_100rel configuration
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4779 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-06 01:00:11 +00:00
Sauw Ming 1ad3e494e8 Re #1630 (misc): Fixed test account in java sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4767 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-27 02:26:53 +00:00
Riza Sulistyo f60223f20a Re #1519: Fix error build (swig java) when JAVA_HOME is set to folder name separated by space (' ')
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4759 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-21 10:33:22 +00:00
Nanang Izzuddin faac692e00 More pjsua2 SWIG Python (re #1519): Fixed 'symbol not found' error in loading pjsua2 (on MacOS) when built with video enabled.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4758 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-21 10:07:52 +00:00
Nanang Izzuddin 0b64833cdd Re #1708: Fixed missing conference port connection setups for audio conferencing.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4757 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-21 07:53:31 +00:00
Nanang Izzuddin f0e50d301a More pjsua2 SWIG Python (re #1519): Separate library dependencies from Python Extension setting 'extra_link_args', so PJ lib dependencies are specified before Python's (otherwise strange crash happens on MinGW).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4756 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-21 07:49:37 +00:00
Nanang Izzuddin 59d9f6c864 Re #1519: Include user.mak build settings in building pjsua app and pjsua2 SWIG Python binding.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4753 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-20 08:08:06 +00:00
Sauw Ming a079718577 Re #1643: Fixed accidental removal of pj_run_app() call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4752 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-19 08:57:22 +00:00
Benny Prijono b321eea93f More re #1519: removed auto generation of symbols.i from the Makefile because it cannot be run from MacOS X. Also touched symbols.i. Next time, check in symbols.i separately from symbols.lst
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4746 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-17 06:31:29 +00:00
Nanang Izzuddin 008314dce9 More pjsua2 API (re #1519): fixed bad strtok() delimiter in the tool added by r4744.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4745 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-14 09:39:08 +00:00
Nanang Izzuddin 1e0b8f8e69 More pjsua2 API (re #1519): added simple tool to check and remove-if-necessary deprecated gcc option '-mno-cygwin' in building pjsua2 python binding on MinGW.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4744 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-14 09:09:11 +00:00
Benny Prijono c2cfc1c7bd More pjsua2 API (re #1519): removed -static-libstdc++ flags from setup.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4741 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-12 05:04:34 +00:00
Riza Sulistyo 7a019dab29 Re #1734: Add flash support for DTMF rfc 2833.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4739 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-11 04:46:49 +00:00
Nanang Izzuddin 96ae49caed Re #1519 [SVN trunk]: Related to r4737, for Android, don't override JAVA_HOME when it is already set (via environment variable).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4738 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-07 03:22:04 +00:00
Nanang Izzuddin 6fa3818545 Re #1519 [SVN trunk]: Updated JAVA_HOME auto-detection for pjsua2 SWIG Java binding, especially for MacOS platforms.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4737 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-06 11:50:41 +00:00
Nanang Izzuddin df51031a97 Re #1716, misc updates:
- always enable ICE+STUN
 - UI: added textEmailAddress to SIP URI inputs



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4734 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-05 09:32:57 +00:00
Nanang Izzuddin a1065b4fa4 Re #1716: Fixed crash in adding buddy, caused by immediate buddy state notification right after adding buddy to account, while UI buddy list has not been updated yet.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4733 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-05 06:34:00 +00:00
Benny Prijono fdff733444 Re #1516: fixing multiple inclusions of crtbegin.o and -lgcc in the makefiles. The former causes link errors due to multiple symbols
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4732 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-05 05:52:10 +00:00
Benny Prijono 7f31662cc9 Misc (re #1630): fix gcc warnings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4729 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-04 13:13:02 +00:00
Benny Prijono 241474d94d Misc (re #1630): Fixing warnings about variable set but not used with recent gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4728 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-04 10:13:56 +00:00
Nanang Izzuddin 3537c545df Misc (re #1630): Fixed some more typos in the codes.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4724 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-31 08:52:09 +00:00
Nanang Izzuddin d50aabdde6 Misc (re #1630): Fixed some typos in the code (thanks Tzafrir Cohen for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4714 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23 08:15:34 +00:00
Sauw Ming 709083b78f Re #1723: Modified build system to link with C++ library only for pjsua2 lib or app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4711 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23 02:28:41 +00:00
Benny Prijono 7faedf5db4 More re #1655: bug in console UI to do attended call transfer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4710 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-22 10:51:49 +00:00
Benny Prijono 16a65355fd More re #1655: added CLI command to toggle audio output route
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4709 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-22 08:02:56 +00:00
Nanang Izzuddin 153df4e464 Re #1519 [into SVN trunk]: AudioMedia objects must not be destroyed before unregistered from conf bridge.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4708 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-21 10:59:25 +00:00
Sauw Ming be9ab067d8 Re #1723: Fixed compilation and linking errors
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4705 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-16 06:33:19 +00:00
Sauw Ming f33813f793 Closed #1723: Merging pjsua2 branch into trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4704 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-16 05:30:46 +00:00
Nanang Izzuddin 9f8f280dd5 Re #1716: Maintain reference to log writer to avoid crash (caused by premature cleanup by GC).
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4698 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-19 03:39:30 +00:00
Nanang Izzuddin e062d51ea4 Re #1716: Misc fixes/updates on Android app based on pjsua2+SWIG, e.g: fixed java string comparisons, added build config for ndk-build (for native debugging), updates on SVN props.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4697 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-18 11:42:04 +00:00
Riza Sulistyo 85df2905bf Re #1716:Added java desktop sample application.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4696 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-18 07:14:54 +00:00
Nanang Izzuddin 6c930b9c7d Re #1716: Handle recreated activity, for example by device rotation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4693 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-14 01:14:07 +00:00
Nanang Izzuddin 70bde3b601 Re #1519: Misc fixes in pjsua2:
- Changed AccountConfig::toPj() signature, because a pjsua_acc_config instance should not be copied/assigned to another pjsua_acc_config instance as it contains list.
 - Fixed assertion in Endpoint destructor caused by access to pjlib mutex after pjlib is destroyed.
 - Changed VS2005 sample_debug project to allow debugging C++ code such as pjsua2_demo.cpp.
 - Compile warnings on VS2005.
 - Fixed SWIG python unit test.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4692 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-13 11:44:51 +00:00
Nanang Izzuddin 3270796782 Re #1716: Initial implementation of new Android app based on pjsua2+SWIG API.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4691 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-13 09:07:53 +00:00
Nanang Izzuddin ba10fb5124 Re #1708: Cleanup few chat stuffs in Python GUI.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4690 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-13 01:28:16 +00:00
Nanang Izzuddin de206c7e10 Re #1708: Misc updates:
- Explicitly invoke call hangup in stopping audio.
 - Show text chat box, if it's hidden, when user initiates instant message (right click on buddy).



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4687 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 13:20:37 +00:00
Nanang Izzuddin f71702e9b6 Re #1708:
- Changed participant managements in Chat, e.g: changed Buddy based to URI based, create temporary Buddy for incoming call/IM from non-buddy.
 - Implemented simple media features in chat window (mute, volume, codec info).
 - Misc: added window menu listing chat windows, changed behaviour on closing chat window, etc.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4686 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 11:04:36 +00:00
Benny Prijono de525ebe1d Re #1519: minor fix to use pjmedia_format_copy() instead of plain assignment, and add return value to pjsua main()
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4681 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 04:20:19 +00:00
Benny Prijono f5e32ccaa6 Re #1708: bring back logging and some fixes in settings dialog
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4679 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 03:04:38 +00:00
Nanang Izzuddin 559f01c4c9 Re #1708: Implement adding participants, also various misc updates/fixes.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4677 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-04 12:19:48 +00:00
Benny Prijono e08f706e95 Re #1519: added AudioMedia for the sound device
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4676 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-04 07:05:35 +00:00
Benny Prijono 654d0a2e23 Re #1708: fix so that deleted account does not register itself to the treeview again during unregistration
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4675 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-04 07:04:49 +00:00
Benny Prijono b193b53196 Re #1519: fixed compilation error in pjsua2_demo
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4673 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-04 03:08:24 +00:00
Nanang Izzuddin c083f3adcb Re #1708: Initial work on chat window.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4671 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-04 02:46:42 +00:00
Nanang Izzuddin cc45350a25 Misc update & fix:
- added new files (call & media) to VS2005 project
 - fixed compile warnings
 - fixed compile error when video is disabled
 - fixed Makefile when JAVA_HOME env var is set



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4670 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-04 02:38:20 +00:00
Riza Sulistyo b23faaba40 Re #1519: Added codec management operations to Media API in pjsua2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4669 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-03 10:45:36 +00:00
Riza Sulistyo 3932e857bb Re #1519: Added audio device management operations to Media API in pjsua2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4668 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-03 07:14:22 +00:00
Benny Prijono bb13e795c3 Re #1519: implemented Settings dialog and reorganization in config variables in Pygui app
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4665 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-29 12:16:43 +00:00
Benny Prijono ed3543416a Re #1519: Fully configurable account settings (more or less) and other small fixes
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4664 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-29 07:39:07 +00:00
Sauw Ming 64e77a85c2 Re #1519: Add Call API in pjsua2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4663 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-29 05:56:02 +00:00
Riza Sulistyo ff6231c790 Re #1519: Added Media API in pjsua2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4662 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-29 03:05:48 +00:00
Nanang Izzuddin 91c14d9065 Re #1519: Minor fix on TransportInfo, use fromPj() method to import data from pjsua_transport_info.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4658 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-27 10:18:18 +00:00
Nanang Izzuddin 732c75a69d Re #1519: Added presence API in pjsua2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4657 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-27 09:37:32 +00:00
Benny Prijono f912318dd8 Fixed #1713: Enable building the libraries as shared libraries/DLLs for GNU targets
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4656 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-23 07:13:40 +00:00
Benny Prijono 7ad605c32f Re #1519: persistent support in PyGui application, making use of the new persistent API in pjsua2
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4648 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-06 08:14:17 +00:00
Benny Prijono 623be9d0ce Re #1519: added some C++ snippet to demonstrate or test persistent API in C++
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4647 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-06 08:09:05 +00:00
Benny Prijono 4034949659 Re #1519: Updated SWIG interface file with new headers (persistent.hpp, json.hpp, siptypes.hpp) as part of persistent API development
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4646 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-06 08:07:58 +00:00
Benny Prijono 64ff3f68b4 Re #1708 (PyGUI: New Python GUI Application based on pjsua2+SWIG API)
Initial implementation, some account functionality has been implemented. Details:
 - Uses Tk for GUI and pickle for object serialization. These are Python built-in modules
 - So far so good, everything (=Account API only so far!) seems to work, including:
    - STL string
    - STL vector
    - inheritance
    - calling callback that is implemented in Python with inheritance (the "director" feature")
 - Some notes though:
    - SIP worker threads need to be disabled because Tk GUI cannot be called from other threads (the worker thread will invoke callback which in turn will update GUI)
 - Features implemented in the GUI so far:
    - Account addition/deletion/modification
    - Registration
    - Logging to window
    - Persistent config (limited)





git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4640 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-01 08:49:43 +00:00
Benny Prijono f673a6ef92 Re #1519: Major change in pjsua2.i and etc after actual test in Python:
- Major changes in SWIG interface file (pjsua2.i). 
    - The "ignore" and "unignore" approach caused link error with vector (duplicate symbols because SWIG generates two identical vector functions in the wrapper) so it cannot be used (tried with many combinations and still doesn't work).
    - So scrap that, and now we use "importing" approach, where needed symbols must be listed in symbols.lst file, then use importsym.py to import the symbol declarations to symbols.i. Then include symbols.i in pjsua.i
    - Due to the way importsym.py work, some macros and naked constants need to be placed into a named enumeration, for example:
       - #define PJ_SUCCESS 0  ==> enum pj_constants_ { PJ_SUCCESS=0 }; [types.h]
       - enum { PJMEDIA_VID_DEFAULT_CAPTURE_DEV = -1 } ==> enum pjmedia_vid_dev_std_index { PJMEDIA_VID_DEFAULT_CAPTURE_DEV = -1 }; [videodev.h]
    - Makefile was changed so that symbols.i would be generated if symbols.lst has changed
 - Added "make install" and "make uninstall" targets for swig. Only implemented on Python. This will install to user's lib dir so doesn't need sudo.
 - Deleted approachX.hpp files
 - Added libVersion() method to Endpoint along with Version struct.
 - Fix pjsua2.i to make exception (or redirection?) works in Python
 - Add polling and worker thread related API:
    - PJSUA-LIB: pjsua_register_worker_thread(), pjsua_stop_worker_threads()
    - Endpoint: libRegisterWorkerThread(), libStopWorkerThreads(), libHandleEvents();



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4639 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-01 07:11:48 +00:00
Benny Prijono b64284082a Re #1519: Implementation of Account API, with inheritance approach:
- With small demo app (samples/pjsua2_demo.cpp)
 - Endpoint changed to use inheritance approach too
 - Simple account registration demo and callback works
 - Further tests will be done in high level app (Python GUI?)
 - Temporary build setting fixes (Makefile) to allow linking with pjsua2 and libstdc++
 - Temporary hacks in Makefile to ignore other build targets to speed up build. This should be fixed during integration.

Issues:
 - incomplete Endpoint::on_incoming_subscribe() implementation. There is no Account::presNotify() yet.
 - incomplete Endpoint::on_pager2(), on_pager_status2(), to handle call's pager rather than account's pager
 - some SWIGTYPE (unknown type by Swig) still unresolved



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4638 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-25 10:34:38 +00:00
Sauw Ming fc1fb24b87 Re #1630 (misc): Use the right compiler and flags to compile C++ (.cpp) files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4637 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-24 07:12:39 +00:00
Riza Sulistyo 218c3d54c8 Re #1643: Fix some build warnings detected on VS2012
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4634 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-23 09:29:35 +00:00
Sauw Ming fdd63c3b60 Fixed #1707: Add support for paralel build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4632 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-23 06:39:47 +00:00
Benny Prijono fe3e558601 More re #1519:
- account API implementation (incomplete, callback is still not called)
 - using callback class design pattern (observer?)
 - after this, it might be changed to use inheritance pattern instead


git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4631 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-23 05:34:48 +00:00
Sauw Ming ab249ac0e5 Re #1630 (misc):
Fixed compiler warnings. Thanks to Mark Michelson for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4624 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-21 06:37:30 +00:00
Nanang Izzuddin 83757ced84 Re #1519:
- allow build on mingw32
 - fixed tests




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4619 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-16 09:19:08 +00:00
Sauw Ming e56902adea Re #1697: Use AVAudioSession to set audio session category and activate/deactivate audio session
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4617 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-09 03:34:26 +00:00
Benny Prijono 58dba631ff Re #1703: fixing general bugs. First installment: correct handling of snprintf return value
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4613 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08 09:08:13 +00:00
Benny Prijono f30b7a6fa2 Misc (re #1630): fixed error in parsing ldflags for building Python module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4612 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08 06:45:08 +00:00
Benny Prijono 6a873428d6 Re #1694: fixed bug in the previous commit with the RTP config instantiation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4611 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08 04:48:11 +00:00
Nanang Izzuddin 6b9b89808d Close #1701: added received message info into incoming call callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4609 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-02 03:19:54 +00:00
Benny Prijono 64d67b1f92 Re #1519:
- Account API (prototype)
 - Account config implementation
 - Refactoring in types, endpoint, etc for better consistency
 - Should compile ok with make but not running yet


git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4608 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-01 09:41:01 +00:00
Nanang Izzuddin 72af1d7d29 Misc (re #1630): pjsua app param '--ip-addr' doesn't affect RTP address of local accounts.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4603 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-26 09:57:34 +00:00
Benny Prijono 1818fc2bf1 More re #1519: fixed build errors and added svn ignore for output files in java and python dirs
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4600 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-23 11:49:59 +00:00
Benny Prijono 5d96d69b6e Re #1519: initial implementation (incomplete) to demonstrate the API style/pattern
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4597 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-23 03:37:56 +00:00
Sauw Ming ecca2c2713 Re #1697: Add internal compile time option to disable the use of Audio Session API (deprecated)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4590 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-05 04:16:19 +00:00
Benny Prijono 33ac738473 Fixed #1694: Python enhancement: added QoS and RTP settings in account config
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4581 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-09 08:39:20 +00:00
Benny Prijono 49d40b98d9 Fixed #1693: Pay attention to reg_hdr_list and sub_hdr_list in pjsua_acc_modify(), and also fixed pjsua_acc_get_config()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4580 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-06 08:02:24 +00:00
Riza Sulistyo 25b575b336 Re #1680: Add initial support for Win64
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19 06:47:43 +00:00
Riza Sulistyo 82856f1eee Re #1655:
- Optimize android make file
 - Modify android project file to enable native debugging on eclipse
 - Add pjsua.cpp to svn ignore



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4526 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-28 12:20:21 +00:00
Riza Sulistyo 35112ebfed Re #1643: Restore configuration reset with added modification on app destroy. It was deleted from code to enable cli retain config values when restarted
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4525 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-28 12:03:36 +00:00
Riza Sulistyo ae83879e82 Re #1643:
- Fix duplicate shortcut for video commands
 - Fix restart command bug on legacy mode
 - Fix restart bug when using add-buddy options



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4522 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-23 03:48:31 +00:00
Riza Sulistyo 397a2d0bc5 Re #1643: - Modification to shortcut handling(execution&display).
- Add exact match check to the parse input command process.


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4513 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-03 08:47:14 +00:00
Sauw Ming 0f9e7c092f Re #1655: Removed old ipjsua project and add svn ignore property
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4510 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-29 05:50:41 +00:00
Sauw Ming 2c6709076d Re #1655: Modified pjsua iOS due to change in pjsua app framework
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4497 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-24 05:38:35 +00:00
Riza Sulistyo d70701f182 Re #1655: pjsua app CLI for android
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4496 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-24 04:55:00 +00:00
Nanang Izzuddin 95678efb27 Re #1655: Removed pjsua_wince and PocketPj (replaced with pjsua CLI, which is integrated in the 'pjsua' project for Win desktop).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4493 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-23 11:10:20 +00:00
Nanang Izzuddin cd9e89100a Re #1655: Fixes on WM and Symbian due to latest pjsua framework changes.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4492 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-23 10:59:52 +00:00
Benny Prijono 5bc861686b Re #1655, #1657: fixes due to latest pjsua framework changes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4491 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-23 08:31:30 +00:00
Riza Sulistyo 9d4958ecfe Re #1643: Modification to avoid namespace conflict with pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4489 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-23 07:53:25 +00:00
Benny Prijono 66a9444b18 Re #1655, #1657: modified pjsua BB10 due to change in pjsua app framework
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4485 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-23 05:33:59 +00:00
Nanang Izzuddin ae5394d149 Re #1655: Initial implementation of pjsua CLI app for Windows Mobile (5.x & 6.x).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4484 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-19 10:36:11 +00:00
Benny Prijono 8f07765076 Re #1655, #1657: BB10 pjsua app setting
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4482 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-19 09:05:41 +00:00
Nanang Izzuddin 0edc69ce71 Re #1655: Removed symbian_ua and symbian_ua_gui.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4478 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-19 07:04:10 +00:00
Nanang Izzuddin 167e887bfa Re #1655: Initial implementation of pjsua CLI app for Symbian.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4477 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-19 06:50:07 +00:00
Riza Sulistyo 0c5d8f768d Re #1643: Code restructure + modification to handle non blocking mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4476 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-19 06:05:06 +00:00
Benny Prijono 7f0f30b1e4 More re #1657, #1655: added Momentics project file
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4473 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-16 00:59:39 +00:00
Benny Prijono ccff78bf69 Re #1657, #1655: initial implementation of pjsua CLI app for BlackBerry BB10
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4471 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-15 10:47:28 +00:00
Sauw Ming 39280b8d8b Re #1655: Moved the definition of USE_GUI to pjsua iOS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4465 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-12 09:20:31 +00:00
Sauw Ming 57e265200d Re #1655: pjsua app CLI for iOS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4464 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-12 08:05:12 +00:00
Riza Sulistyo bc9c677287 Re #1643: Code restructure+add callback to support symbian gui app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4461 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-05 03:02:19 +00:00
Benny Prijono 8e4a11380f More re #1643: changed svn file type property to native
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4459 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-03 22:41:23 +00:00
Benny Prijono 2342996ebb Fixed #1653: [incompatible] pjsua_call_update() API should not release hold
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4457 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-03 08:21:47 +00:00
Riza Sulistyo 7da46cd3bd Re #1643: add initial support for CLI
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4440 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-14 07:18:13 +00:00
Benny Prijono 5d47423d8e Fixed #1642: Media transport may not be cleaned up if call is hung up quickly
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4439 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-13 04:47:19 +00:00
Sauw Ming 4f6ad783cb Re #1630: Fixed incorrect parameter in Python wrapper.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4422 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06 06:00:18 +00:00
Benny Prijono 74f8514333 Implementation of Re #1628: Modify SIP transaction to use group lock to avoid deadlock etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4420 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 11:59:54 +00:00
Nanang Izzuddin 414d34ca74 Misc (re #1559): fixed compile errors/warnings on Symbian platform.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4411 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-04 04:34:38 +00:00
Nanang Izzuddin 05c3eaf39b Close #1615: Fixed bug in URI scheme check macro PJSIP_URI_SCHEME_IS_SIP()/SIPS/TEL.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4370 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-26 05:30:00 +00:00
Nanang Izzuddin bb3ae74c5a Misc (re #1562): Minor updates in pjsua app: fixed wrong error message and increased buffer for input menu.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4358 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-20 21:00:42 +00:00
Nanang Izzuddin 0c662eadf7 Close #1614: Added call redirect option PJSIP_REDIRECT_ACCEPT_REPLACE to accept call redirection with replaced 'To' header.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4347 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-13 10:19:25 +00:00
Sauw Ming 35367d44bc Re #1559: Related to r4312, get the latest account config first before modifying the account
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4330 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-23 06:01:26 +00:00
Sauw Ming 9db6658d54 Re #1559: Fixed registration timeout setting used by ipjsua to take effect immediately.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4312 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-03 09:26:29 +00:00
Benny Prijono e135917e37 Fixed #1585: IPv6 support for SIP TCP and TLS transports and PJSUA-LIB v2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4262 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-20 06:00:23 +00:00
Sauw Ming f21421fc3e Re #1559: Add support for OS X version after 10.7.x
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4232 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-20 06:01:41 +00:00
Benny Prijono c7abc1b598 Fixed #1412: Account specific NAT settings: STUN, ICE, and TURN
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4218 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-07 02:18:15 +00:00
Nanang Izzuddin 57d68d71b8 Re #1559: fixed uninitialized variable bug in icedemo sample app (thanks Magnus Kempe for the report and the fix!).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4217 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-27 17:24:12 +00:00
Nanang Izzuddin 8c605b01db Re #1562: fixed typo in pjsua app video option help: the default for "--vrender-dev" should be "-2".
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4216 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-27 14:00:29 +00:00
Benny Prijono 19b542b363 Fixed #1541: Crash in third party media sample application after library is restarted
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4174 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-21 08:09:53 +00:00
Sauw Ming 461787012b Re #1524: Removed SDL/ffmpeg libraries from ipjsua sample app.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4166 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-15 00:44:41 +00:00
Nanang Izzuddin 94c7ba5ebd Misc (re #1524): Added sipecho to MSVC project 'Samples' (the samples-vc.mak is fine)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4152 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-01 09:18:33 +00:00
Benny Prijono d098c46a60 Re #1524 (misc fixes): added command line options to specify port and TCP mode for sipecho
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4148 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-31 12:21:59 +00:00
Nanang Izzuddin 48f46a9f37 Misc (re #1508): Fixed warning of unused var in pjsua_app.c when video is disabled.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4129 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-17 08:27:46 +00:00
Benny Prijono 6de7667289 Re #1509: backported r4112-4121
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4122 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-14 11:04:46 +00:00
Sauw Ming 2a04460ffe Re #1446 (misc): Disable SDL by default on iOS and fixed various compiler warnings.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4087 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26 03:39:24 +00:00
Sauw Ming e85cbee6b9 Re #1446 (misc): Fixed linking error if PJMEDIA_HAS_VIDEO is 0
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4086 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26 02:44:41 +00:00
Sauw Ming 2c488d98e6 Re #1446 (misc): Fix possible crash if video ports are destroyed in the wrong order (i.e. client port must be destroyed last).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4084 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-25 07:13:05 +00:00
Benny Prijono 5fa18e65d1 Re #1474: merged r4054-r4079
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4082 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24 13:09:14 +00:00
Nanang Izzuddin 21b2450e8b Re #1276: Updated baseclasses dependency in VC makefile for samples.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4080 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24 12:45:00 +00:00
Sauw Ming 75b42f984e Re #1276: Integrate BaseClasses with the project and remove unnecessary classes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4062 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-19 06:36:57 +00:00
Sauw Ming c1a64cbb33 Re #1355: vidgui: new rendering window may cause all rendering processes to stop
Despite this fix, there is still a possibility that the rendering window can occasionally get stuck because SDL_PollEvent() gets stuck. This is most likely because there are two unsynchronized event pollers, Qt and SDL. The problem only happened on Windows with SDL 1.3 r5538, runs fine on Mac.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4060 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-17 09:55:30 +00:00
Nanang Izzuddin b230a22ffb Re #1441: applied window flags BORDER and RESIZABLE to the local preview when sending AVI.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4055 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-16 09:44:25 +00:00
Sauw Ming 1f07888ea3 Re #1446 (misc): Change the default of PJMEDIA_HAS_FFMPEG_VID_CODEC to PJMEDIA_HAS_FFMPEG_CODEC.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4051 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13 08:16:30 +00:00
Nanang Izzuddin 4560ee8d43 Misc (Re #1446): Add pjsua app video command for modifying video codec size/resolution.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4027 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05 08:38:49 +00:00
Nanang Izzuddin 8f1546d478 Misc (Re #1446): Add pjsua app video commands for modifying video codec bitrate & framerate.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4025 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05 07:22:30 +00:00
Nanang Izzuddin 5ec95cd900 More re #1478: AVI cleanup steps in pjsua app.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4024 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05 04:41:24 +00:00
Sauw Ming 22d9b64287 Misc (Re #1446): Fixed wrong setting of pjsua_app's options.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4023 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05 01:56:05 +00:00
Benny Prijono 83ee8f5371 More re #1478: now really do not connect to microphone when streaming avi (instead of disconnecting the whole audio)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4020 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04 08:16:02 +00:00
Benny Prijono 837200acb4 More re #1478: do not connect the microphone when streaming avi
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4019 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04 07:45:39 +00:00
Sauw Ming 878bc14d00 Misc (Re #1446): Add support for aviplay to play H264 and MPEG4 decoded AVI videos. This includes support for XVID and DIVX MPEG4.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4018 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04 05:45:46 +00:00
Benny Prijono 2e727e8f70 Fixed #1478: AVI player virtual device. Initial spec:
- Currently only Works with raw video and audio AVI files
 - Added --play-avi and --auto-play-avi options in pjsua
 - No A/V synchronization yet


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4016 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04 05:05:50 +00:00
Nanang Izzuddin a62931906b Misc (re #1446): Fixed compile warnings on VS2005.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4000 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30 07:41:56 +00:00
Benny Prijono 28d3c56283 Re #1474: Merged all changes from 1.12 - HEAD (from the 1.x branch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3999 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30 07:10:13 +00:00
Benny Prijono 4997ba6dfe Fixed wrong use of CC variable in Makefile (re #1463)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3994 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-29 09:25:52 +00:00
Benny Prijono 464182ee40 Re #1463 (3rd party media stack support): added the sample app in pjsip-apps/src/3rdparty_media_sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3983 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-22 10:03:33 +00:00
Nanang Izzuddin 84e0018670 Misc (re #1446): Minor fixes arrange_window() in pjsua app:
- calculate visible windows only (with 2 calls, there was already an out-of-screen window)
 - re-arrange windows on format changed event



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3971 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-09 03:03:10 +00:00
Nanang Izzuddin a8c620693e Re #1441 (vid_streamutil): applied window flags BORDER and RESIZABLE to the incoming video window.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3937 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-06 11:30:40 +00:00
Nanang Izzuddin 9a294e74ab Re #1441 (vid_streamutil): only apply the decoding format size (DEF_RENDERER_WIDTH/HEIGHT macro setting) if it is larger than the default.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3936 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-06 11:28:19 +00:00
Nanang Izzuddin 8e59da0ae7 Re #1441 (vid_streamutil): fixed assertion of uninitialized event manager.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3935 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-06 11:22:31 +00:00
Nanang Izzuddin 5bfb16916f Misc (re #1393): vidgui: fixed zombie video window after re-INVITE by always destroying any incoming video window first before processing media update.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3930 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-28 10:23:58 +00:00
Benny Prijono b1386036c1 Re #1393: added checkbox to enable/disable video in vidgui sample app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3926 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-27 12:50:17 +00:00
Benny Prijono ae86e6ad00 More re #1419: changed field names from video_count to vid_cnt and audio_cnt to aud_cnt for better consistency
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3925 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-27 12:47:52 +00:00
Benny Prijono 5c4aa8e6db Misc (re #1393): vidgui: added account and NAT support and fixed assertion on incoming call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3923 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-26 09:03:13 +00:00
Sauw Ming 7a9b75614e Re #1420: Create a pool for the event manager so subscriber doesn't need to supply its own pool.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3905 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-09 05:15:39 +00:00
Nanang Izzuddin 3da4ad8f85 Re #1234: Initial version of keyframe request/response via SIP INFO.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3901 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-07 10:43:28 +00:00
Benny Prijono 7347f31251 Minor (re #1393): fixed compilation warning in pjsua app if video is disabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3894 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-02 09:26:44 +00:00
Sauw Ming 0fabe1bbb6 Closed #1420: Add support for event manager
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3893 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-01 10:49:07 +00:00
Nanang Izzuddin 3d7385c7f9 Misc (re #1393): fix linking error "app_config_init_video() not found" when video is disabled, also some compile warnings (unused variables).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3892 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-01 10:02:54 +00:00
Nanang Izzuddin debd48ae0b Re #1419, implement media count manipulation per call basis:
- moved the media count setting from account setting to call setting
 - introduced pjsua_call_setting, to be used by pjsua_call_make_call() and some new APIs: pjsua_call_answer2(), pjsua_call_reinvite2(), pjsua_call_update2() 




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3891 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-01 09:06:14 +00:00
Benny Prijono 2780b7aa79 Misc (re #1393): write log if adding pjsua buddy fails
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3875 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-28 05:09:53 +00:00
Sauw Ming 0ee072f2e3 Fixed #1401: Add support for video device's window flags
Now support flags PJMEDIA_VID_DEV_WND_BORDER and PJMEDIA_VID_DEV_WND_RESIZABLE.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3864 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-26 09:01:53 +00:00
Benny Prijono 4bc1575ed3 Added video for TCP account (previous fix did not work, re #1400)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3863 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-26 08:03:41 +00:00
Benny Prijono 0d6f755bbb Added missing video initialization to TCP local accounts in pjsua (fixed #1400)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3862 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-26 08:00:28 +00:00
Benny Prijono 7718350c7b Misc (re #1393): crash in vid win command without argument
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3852 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25 11:12:33 +00:00
Nanang Izzuddin 034ac4199f Re #1400: init video settings for pjsua app accounts.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3851 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25 11:11:04 +00:00
Benny Prijono d3de2a8d6f Re #1400: enhancements to video operations in pjsua application
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3850 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25 09:35:11 +00:00
Sauw Ming e7dbbc8f30 Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunk
* Backport of r3557:r3832

TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24 09:28:13 +00:00
Benny Prijono 565c52e6f0 Fixed compilation error in pjsua_app introduced by r3819 if video is not enabled (re #1390)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3825 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-18 06:51:34 +00:00
Nanang Izzuddin 65b04a692c Reenable ffmpeg H264 (re #1390):
- Review H264 codec settings such as profile, level, NAL unit size, bitrate, quality, latency.
 - Added new format PJMEDIA_FORMAT_GBRP, 24 bits planar RGB, one of the formats outputted by the latest ffmpeg H264 decoder.
 - Fixed format change detection bug in ffmpeg wrapper, decoder didn't update its internal state with the new format so format change event was generated in every decoding operation.
 - Added compile time configurations for enabling/disabling ffmpeg codec H263+ & H264.
 - Updated pjsua app to adjust window size to original video size. With H264, default window size will be too big as it is init'd with default H264 video size, e.g: 720x480 for profile level 30.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3819 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-18 01:51:01 +00:00
Benny Prijono d865de92d6 Misc (re #1370): pjsua hide preview window when setting preview off
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3800 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06 07:48:07 +00:00
Benny Prijono 3c1ed0c724 Misc (re #1370): rename command "vid call set-cap" to "vid call cap", and added command "vid win arrange" to auto-arrange windows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3798 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06 07:33:06 +00:00
Nanang Izzuddin 93d8707713 Close #1381:
- Added 'ignore_fmtp' field in pjmedia_vid_codec_param to allow application to omit SDP fmtp in codec param without risking video size and frame rate param being overridden with default values.
 - Updated sample app vid_streamutil.c to use that field, which currently not supplying SDP fmtp to video codec.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3795 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06 06:37:46 +00:00
Benny Prijono 0e9082d021 Fixed link error in pjsua due to r3785 (Misc, re #1370)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3789 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-04 14:09:24 +00:00
Benny Prijono 1cad0bba2e Misc (re #1370): auto arranging of video windows in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3785 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-04 04:04:49 +00:00
Benny Prijono 8468557014 Closed #1361: codec API change. Details:
- changed encode(), packetize(), unpacketize(), and decode() to encode_begin(), encode_more(), and decode()
 - codec has new "packing" setting
 - updated stream, aviplay, codec-test, and stream-util due to above
 - minor doxygen documentation fixes here and there


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3776 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-29 08:31:15 +00:00
Benny Prijono ed0f3f0164 Implemented sipecho for testing (fixed #1373)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3754 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-19 01:15:02 +00:00
Nanang Izzuddin 775918f35d Misc (re #1320): fixed wrong check order in pjsua app vid_handle_menu(), input string "vid " crashed the app.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3735 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29 07:58:52 +00:00
Sauw Ming 73b344ddb9 Re #1354: Removed pj_run_app() from vidgui
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3733 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29 04:21:35 +00:00
Benny Prijono 3a61e85daa Added build instruction to vidgui sample (re #1327)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3729 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29 02:34:42 +00:00
Sauw Ming 4c076ae7aa Fixed #1354: stopping preview may hide parent window.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3728 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29 02:33:50 +00:00
Nanang Izzuddin 56c2b82cbd Re #1327 (vidgui): Minor fix on windows VidWin::attach(), applying window style WS_CHILD to unattached/unparented SDL window causes strange behavior: after parented to a QWidget, it doesn't follow the parent/QWidget movement but its coordinate is relative to the parent/QWidget.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3727 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-26 05:51:13 +00:00
Nanang Izzuddin 4ee8686a5c Re #1327:
- Vidgui UI updates on Qt must be done in the UI thread, implemented this with Qt signal-slot mechanism.
 - VidWin::show() better be called internally by VidWin class instead of MainWin.
 - Fix QString to const char* issue, keeping the pointer returned by "QString::to*()::data()" won't work, the pointer actually points to a temporary data (lifetime issue).
 - Minor: cleaning up unused lines in vidgui.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3726 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-26 04:30:18 +00:00
Benny Prijono 2047bd7c8f Re #1351: option to initially hide video preview window to avoid floating window. Also added pjsua_vid_preview_param_default()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3724 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-25 11:59:39 +00:00
Nanang Izzuddin 1e853cf150 Re #1327 (vidgui): Fix stuck/hang when quiting vidgui without stopping video preview. Somehow the SDL will stuck (wait forever) in destroying its render window when the render window parent (VidWin) hasn't been destroyed.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3721 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-24 18:35:27 +00:00
Sauw Ming 7fba2682e7 Fixed #1334: Fix the problem of getting stuck when trying to quit SDL.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3720 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-24 08:00:30 +00:00
Benny Prijono 04e2b41727 Re #1327 (vidgui): added --silent option when invoking make otherwise it will capture gibberish when running make to regenerate the files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3719 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-24 07:05:54 +00:00
Nanang Izzuddin fad6f69269 Fixed #1348:
- updated the year in all copyright texts with 2011
 - put copyright text into newly added files



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3715 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-19 09:35:25 +00:00
Nanang Izzuddin d12e8144de Re #1320: Fixed linking problem of sample apps on Windows platform, undefined symbols used by dshow video dev.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3700 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-15 22:40:32 +00:00
Nanang Izzuddin 5325f57577 Re #1327, some fixes on the simple GUI app:
- Removed timer usage in resizing window, window resizing can be done real-time now (see r3698).
 - Fixed linking problem on Windows platform: undefined 'main' function.
 - Fixed build problem on Mac, compiling .cpp file containing objective C/C++ codes with g++ needs '-ObjC++' flag.
 - Minor changes in vidgui, e.g: function/variable rename, cleaning up unused/junk lines.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3699 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-15 22:29:14 +00:00
Benny Prijono 95abc7af63 Re #1327 (vidgui):
- fixed wrong default capture device (was 1)
 - fixed assertion if unable to open capture device
 - in qmake project file (vidgui.pro):
   - fixed INCLUDEPATH
   - added debug and release setting
   - added (disabled) static linking setting



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3697 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-15 10:04:35 +00:00