Commit Graph

1269 Commits

Author SHA1 Message Date
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
Benny Prijono 382976de65 Re #1327 (vidgui): fixed crash on Linux because SDL_Init() needs to be called prior to creating QApplication
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3695 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-15 09:51:23 +00:00
Benny Prijono e212bc1068 Re #1263 (Video API):
- Added PJSUA_CALL_VID_STRM_NO_OP to occupy value 0 for the enum
 - Added pjsua_call_vid_strm_op_param_default() to initialize pjsua_call_vid_strm_op_param
 - Renamed pjsua_call_get_transport_info() to pjsua_call_get_med_transport_info()



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3694 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-15 09:38:42 +00:00
Benny Prijono 4ba7c9517a Misc (re #1320): fixed link error in pjmedia_test and aviplay samples if ffmpeg is not enabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3688 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-08 04:18:55 +00:00
Benny Prijono 7e50ff08b4 More re #1327 (vidgui): added vidgui.pro and removed generated files from svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3687 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-02 04:26:47 +00:00
Nanang Izzuddin d4ec2819af Re #1327: Very early version of simple video GUI, built on Qt, should run on win/lin/mac.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3686 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-01 12:57:45 +00:00
Nanang Izzuddin f6d2eb6188 Re #1324:
- Changed default value of PJMEDIA_HAS_VIDEO to disabled.
 - Fixed code and build setting on Symbian for build correctness, it builds fine now.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3671 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-20 03:05:03 +00:00
Nanang Izzuddin 63b3c13cd2 Fixed #1271: protected all video features with PJMEDIA_HAS_VIDEO macro setting.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3667 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 11:11:07 +00:00
Nanang Izzuddin d93c68a997 Re #1326:
- Fixed compile warnings on vs2005
 - Fixed compile error when PJMEDIA_HAS_VIDEO set to 0 on vs2005




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3666 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 08:40:20 +00:00
Nanang Izzuddin fe68f1dc55 Re #1326: Initial code integration from branch 2.0-dev to trunk as "2.0-pre-alpha-svn".
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3664 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 03:42:28 +00:00
Nanang Izzuddin 96f8dca165 Fix #1295: Added thin wrapper for audio and video codec operations.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3663 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 10:19:59 +00:00
Benny Prijono 35fc1eb3e4 Fixed #1294: New pjmedia_codec_register_audio_codecs() API to register all known codecs, and also added implementation to deregister all codecs when the media endpoint is destroyed
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3661 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 09:51:46 +00:00
Sauw Ming 5291a2da7d Re #1282:
- Change *fmt in pjmedia_vid_dev_info to array
- Change pjmedia_vid_cb/param to pjmedia_vid_dev_*



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3658 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 07:52:44 +00:00
Nanang Izzuddin 9808561961 Re #1263:
- Replaced video stream operation DISABLE into REMOVE.
 - Replaced video stream operation ENABLE into CHANGEDIR.
 - Added new param: media direction, used in operation ADD and CHANGEDIR.
 - Updated video stream operation START_TRANSMIT to ignore capture device param (as changing capture device is handled by CHANGE_CAP_DEV operation).



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3657 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 07:41:02 +00:00
Benny Prijono ee0ba1872c Re #1265 (GUI events): initial implementation, for renderer only first. Also re #1320 (misc): moved function prototypes from pjsua_xx.c to pjsua_internal.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3652 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 06:18:29 +00:00
Sauw Ming 01095d8410 Re #1278: NSApplication and NSAutoreleasePool management for Mac OS X
Application now needs to call pj_run_app() from its main() function and pass a pointer to the application's main function. For some examples, please refer to aviplay, pjmedia_test, and pjsua.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3643 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-14 08:46:19 +00:00
Benny Prijono fcf5db3e9e Fixed #1325: signature fix pjmedia objects
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3640 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-14 04:56:08 +00:00
Nanang Izzuddin f363802d77 Re #1263:
- Added API pjsua_vid_enum_wins() to enumerate video windows.
 - Minor fixes on video window manipulations.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3638 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-14 03:47:04 +00:00
Nanang Izzuddin c16590ad20 Re #1263: minor fixes:
- wrong boolean value to be used with PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE in pjsua_vid.c
 - unupdated 'vid' commands in pjsua sample app




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3637 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-14 02:14:25 +00:00
Nanang Izzuddin 7ad53c33df Re #1263:
- Break down the operation type PJSUA_CALL_VID_STRM_MODIFY into PJSUA_CALL_VID_STRM_ENABLE, PJSUA_CALL_VID_STRM_DISABLE, PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV.
 - Implemented video stream re-enabling (PJSUA_CALL_VID_STRM_ENABLE).




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3636 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-13 13:31:08 +00:00
Nanang Izzuddin b4d4dade23 Re #1263:
- Renamed API pjsua_call_set_vid_out() with pjsua_call_set_vid_strm().
 - Implemented initial version of the function, features covered:
   - add, remove video media stream during the call
   - change which device to use during the call
   - start/stop video stream transmission




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3634 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-13 08:51:10 +00:00
Benny Prijono 2d64772d47 Fixed #1299: New callback to notify that sound device needs to be opened or closed
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3632 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-13 03:05:22 +00:00
Sauw Ming 8985f550b5 Re #1304: Video port refactoring: fix frame handling when renderer's role is active, change API to get/set clocksource to be unidir
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3631 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-13 02:37:14 +00:00
Nanang Izzuddin 62053a6a44 Re #1263:
- implemented video window management (get/set visibility, pos, resize)
 - integrated video window and video capture preview into call




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3629 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 11:08:32 +00:00
Benny Prijono 934af0fa2b Initial implementation of re #1284 (Event Framework). Current event has been converted to the new framework. Next to convert is codec event
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3617 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 03:05:35 +00:00
Benny Prijono 9f468d176d Initial commit re #1263 (PJSUA-LIB Video API):
- API designed and reviewed (pjsua.h)
 - Implemented these APIs and added to pjsua sample application:
   - video device enums API
   - video capture preview API
 - refactoring in PJSUA-LIB:
   - video stuffs go to pjsua_vid.c
   - call dump goes to pjsua_dump.c

We're still missing:
 - video call API implementation
 - media info and statistic API implementation



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3609 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-07 07:46:33 +00:00
Perry Ismangil ebf16b053e Really fixed #1296 deleting VS6 workspaces and projects
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3602 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-30 12:53:51 +00:00
Perry Ismangil 1fef1f9b59 Fixed #1296 deleting VS6 workspaces and projects
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3583 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-14 14:35:39 +00:00
Sauw Ming e90ece8dc3 Closed #1275: Change pjmedia_vid_subsys_xx() to pjmedia_vid_dev_subsys_xx()
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3579 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-09 04:05:44 +00:00
Sauw Ming 31c44e9511 Fixed #1285: Add support for SDL 1.3
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3577 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-30 08:35:42 +00:00
Nanang Izzuddin a62ffc9d03 Re #1250: Updated the year in all copyright texts with 2011!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05 06:14:19 +00:00
Nanang Izzuddin ea74971ab1 Re #1250: (Continuing r3550) Added and updated copyright text in ipjsystest files (with "standard" Teluu copyright text).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3552 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05 05:50:48 +00:00
Nanang Izzuddin 7adfc86158 Re #1250: Added and updated copyright text in several files (with "standard" Teluu copyright text).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3550 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05 05:33:27 +00:00
Nanang Izzuddin 358236f07d Re #1175: Set SVN properties for several files: keywords=id and eol-style=native
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3549 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05 05:10:06 +00:00
Benny Prijono 83b424a3a9 Re #1214 (app): enlarge call dump buffer if RTCP XR is enabled, and added option to disable stderr (only works on Posix system)
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3519 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-11 15:16:48 +00:00
Benny Prijono e1998acd38 Re #1182: fixed misc error with RTCP XR
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3514 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-10 23:51:30 +00:00
Sauw Ming ce250db637 Re #1214: Add Mac OS X compatibility for pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3510 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-08 04:05:25 +00:00
Nanang Izzuddin 56b2ce43d8 Re #1186:
- Added custom negotiation callback mechanism in SDP negotiator, mainly for specific formats that require SDP fmtp negotiation.
 - Modified video codec ID string to use encoding name+payload type (was encoding name+clock rate), also added encoding description in video codec info, so duplicated codecs (e.g: multiple H264 configurations) can be differentiated.
 - Few enhancements for H264 in ffmpeg wrapper (e.g: added proper profile-id & packetization-mode setup).




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3500 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-06 13:55:01 +00:00
Benny Prijono 00ae45add3 libswscale rearrangement (re #1219/ffmpeg codecs): instantiate libswscale converter from the converter manager instead of having to instantiate it manually in all apps
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3487 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-25 08:13:43 +00:00
Sauw Ming 0c668f99c5 Re #1214: Enable pjsua to use SDLmain library if possible.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3485 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-25 06:57:25 +00:00
Sauw Ming 1b39a64647 Re #1214: add aviplay in the samples' makefile
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3483 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-24 15:08:54 +00:00
Sauw Ming d9d2f5e932 Fixed #1221: Crash when SIP transport tried to write to a broken pipe.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3478 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23 06:08:36 +00:00
Benny Prijono 587c794c88 Re #1214 (apps): added registrar functionality in pjsua for easier testing
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3477 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23 06:08:25 +00:00
Nanang Izzuddin 269eec1fc3 Re #1214:
- Added option in pjsua app to select video devices, and modified 'Cp' menu command to also change video codecs priority.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3472 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-22 09:50:48 +00:00
Benny Prijono f35f842c71 Re #1214: work on simpleua:
- protect with #ifdef PJMEDIA_HAS_VIDEO etc.
 - fix the format setting to get the format from the correct port


git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3460 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-17 11:27:37 +00:00
Benny Prijono 0bc99a9ca3 Modifications in PJSUA-LIB to support multiple media streams (multiple audio and/or video) and dynamic creation of media transports. This closed #1185 and closed #1201.
1185: Dynamic creation of media transports
============================================
Done:
 - media transports are created on demand now

Todo:
 - media transport creation is still blocking


1201: Video support in PJSUA-LIB
===================================
Done:
 - call now supports N media (N audio and M video)
 - number of audio/video streams is configurable per acc
 - extra audio stream info in pjsua_call_info to support multiple audio streams
in one call
 - video subsys and ffmpeg initialization in PJSUA-LIB
 - ability to offer and create video SDP answer
 - "dq" for more than 1 audio streams
 - introducing pjsua_state and pjsua_get_state()

API change:
 - on_stream_created() and on_stream_destroyed() callbacks: changed session to
stream

Todo:
 - many others features are disabled, just search for DISABLED_FOR_TICKET_1185
macro (these have also been added to ticket #1193 (Issues & Todos)). Notable
missing features are:
      - creation of duplicate SDP m= lines for optional SRTP
      - mm.. that's it?
 - whole lot of testings

pjsua:
===============
 - Added --extra-audio and --video options. Specify these more than once and
each time an extra audio/video streams will be added. :)



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3457 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-17 04:34:43 +00:00
Nanang Izzuddin 3a86f326d0 Fix #1212:
- Updated pj_register_strerror() to just return PJ_SUCCESS when the same range
and handler is being re-registered.
 - Removed the usage of static flag of error string handler registration in some
modules, which prevent the re-registration of the handler, e.g: in restarting
pjsua, as such flags never got reseted.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3455 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16 07:34:16 +00:00
Sauw Ming 9b80d51c09 Fixed #1205: Configurable delay before registration refresh setting in pjsua_acc_config
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3441 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15 03:20:37 +00:00
Nanang Izzuddin 48687d7a6b Re #1204: Added audio device list refresh into auddemo.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3439 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-11 08:01:18 +00:00
Nanang Izzuddin fea635a89b Implementation of re #1202 (PJLIB System Information API) on Symbian/S60 platforms.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3437 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-08 06:30:34 +00:00
Nanang Izzuddin 678b2f82e0 Re #1182:
- Added remote frame-rate detection in to video stream.
 - Fixed bitrate settings in ffmpeg codec.
 - Fixed SDL dev to update internal SDL info when format changed.
 - Minor fixes/updates, e.g:
   - added cleanup steps, fixed logs, etc, in sample app simpleua.c and vid_streamutil.c
   - fixed/added docs of the new APIs in the jitter buffer.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3435 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-02 08:37:31 +00:00
Nanang Izzuddin 9861070228 Re #1182:
- Fixed ffmpeg codec: decoding buffer size check (should not use assertion), reset output bit_info before decoding, removed unused code of auto resize when decoder output size changed.
 - Fixed bug in sdl_factory_default_param() of sdl_dev.c in device direction check.
 - Fixed compile errors sample app vid_streamutil.c of bad local variable definiton.
 - Updated sample app vid_streamutil.c default renderer size to 640 x 480.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3432 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-01 17:40:17 +00:00
Sauw Ming 4a20bc808a Re #1182:
* support for format modification after creating video port (currently for renderer with active role only).
 * support for format modification after opening SDL renderer.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3431 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-01 15:55:34 +00:00
Nanang Izzuddin 235e1b4fa6 Re #1182:
- Renamed vstreamutil.c to vid_steamutil.c just for filename format consistency reason.
 - Updated sample app simpleua.c and vid_streamutil.c to sync with updated API, e.g: strip session usage, two media ports exported video streams for each dir.
 - Added vid_streamutil.c capability to be able to stream video file (involving transcoding when video codec used in the file different to the video stream codec), also updated AVI player and ffmpeg codecs to be able to read and decode XVID/MPEG4 codec.
 - Fixed bug wrong media type check in stream.c and vid_stream.c in creating stream info from SDP.
 - Minor update: docs, logs, app samples makefiles.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3425 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28 18:59:47 +00:00
Benny Prijono e3e6580803 Initial implementation for re #1202 (PJILB System Information API) for Linux/Unix
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3423 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28 07:44:19 +00:00
Benny Prijono 96d4dc6f53 Re #1175 (Misc fixes): fixed realclean and distclean target for Python makefile
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3421 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28 07:16:08 +00:00
Nanang Izzuddin 6cf25ceac8 Misc (re #1175): fix sample app pcaputil.c bug, it always fails in reading the first/reference packet when the codec is not PCMU (default payload type was hardcoded to zero/PCMU).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3415 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-17 15:59:52 +00:00
Sauw Ming aa6fd41de9 Re #1174: fixed crash when pjsua is restarted, causing inClientData to be invalid since AudioSessionInitialize can only be called once.
Re #1175: cleaning up interruption and audio route handling in coreaudio for iOS. In the case of interruption, there is no need to reinstantiate the audio unit (a simple restart will do), while for audio route change, nothing needs to be done.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3413 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-15 05:33:23 +00:00
Sauw Ming 8e799128a1 Re #1184: Adding pjmedia_clock_src for the purpose of audio and video synchronization and also to provide synchronization mechanism between two medias in general.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3402 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-30 16:31:16 +00:00
Sauw Ming b1b17d221e Fixed #1184:
* Move the AVI playback from pjmedia-test to new aviplay.c sample application
 * Take the input file from cmdline
 * Synchronize audio and video
 * Remove all codecs related hardcodes from the file 

Re #1193: (no. 6: duplicate fps and frame_rate in pjmedia_format and pjmedia_vid_param)
 * Remove the frame_rate in pjmedia_vid_param
 * Use pjmedia_format's fps in videoport, sdl_dev, and colorbar_dev
 * Prevent overflow in ptime calculation from frame_rate



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3401 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-20 11:02:48 +00:00
Nanang Izzuddin e43ee729d4 Re #1176: fixed build config for MSVC2005
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3394 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-10 20:55:13 +00:00
Benny Prijono c45d951901 Migration of current video works from private repository to this repository. This closed #1176
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3392 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-10 11:04:30 +00:00
Benny Prijono 434baa4fc6 Re #1020 (Support for SIP outbound and Path extension (RFC 5626)): added pjsua --outb-rid option to set outbound reg-id parameter for the account
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3372 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-18 05:15:04 +00:00
Benny Prijono 3f4b8d7a36 Re #1151 (misc): also enable plain UDP SIP transport when enabling IPv6, since many UA will use IPv4 in their Contacts (keyword: sipit27)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3370 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-17 09:05:10 +00:00
Benny Prijono 70749d787a Re #1151 (misc fixes): fixed error in pjsua application when handling malformed URI in sending arbitrary request
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3365 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-15 22:55:21 +00:00
Benny Prijono 4b9089ef44 Misc (re #1151): fixed error in make dep execution if python module is included in compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3357 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-26 23:57:22 +00:00
Benny Prijono cae95fc56f Misc (re #1134): fixed compilation error in python module due to last change in session timer field from require_timer to use_timer. Thanks Beau Gunderson for the patch!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3352 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-21 02:22:41 +00:00
Benny Prijono ad27eaddf0 Misc (re #1134): added the ability to add python module build with the top level build, by adding pjsip-apps/src/python into EXTRA_DIRS in user.mak. Also changed the make command in python module to just build the module without installing since installing needs root permission
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3351 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-21 02:21:37 +00:00
Benny Prijono 6349989e20 Closed #1144: New presence callback to report subscription state (thanks Johan Lantz for the suggestion):
- added on_buddy_evsub_state() callback
 - added sample implementation in pjsua_app.c


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3339 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-12 12:45:15 +00:00
Benny Prijono c754578e5d Closed #1139 (Support for tel: URI in PJSUA-LIB):
- added new PJSUA API: pjsua_verify_url() which can be used for tel: URI
 - modified and tested according to spec
 - added new PJSIP error code, PJSIP_ENOROUTESET, to indicate that route set is needed to send to tel: URI
 - added couple of unit tests (we can't cover the whole tel: URI scenario yet)


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3323 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-28 07:43:18 +00:00
Benny Prijono 00f8827827 Implemented and closed #1136: added HTTP authentication support
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3321 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-27 08:35:08 +00:00
Nanang Izzuddin 4d32338063 Misc (re #1134): fixed default value of pjsua app param "--snd-auto-close" in pjsua app help message (was -1, should be 1, see r2493).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3318 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-22 17:07:39 +00:00
Sauw Ming 5396cface5 Closed #1128: ipjsua - add support for iPad
Add support for iPad as one universal application.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3312 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-15 12:29:04 +00:00
Nanang Izzuddin 160a49c9cc Misc (re #1110):
- Added sound device echo test into pjsystest.
 - Renamed pjsystest log file, from PJSYSTEST.LOG to PJSYSTEST.TXT, as commonly built-in text editors recognize TXT ext more than LOG ext.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3306 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-07 10:00:49 +00:00
Nanang Izzuddin 742ef4bd30 Re #1120:
- Added enum pjsua_sip_timer_use for session timer usage types, containing: inactive, optional, required, always
 - Replaced require_timer (boolean) with above enum in global and account config setting.
 - Updated pjsua app --use-timer option accordingly.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3305 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-07 09:36:15 +00:00
Sauw Ming be3771a637 Closed ticket #1107: iOS4 background feature
* pjlib:
  * add support for activesock TCP to work in background mode.
  * add feature in ioqueue to recreate closed UDP sockets.
 * pjsip-apps:
  * ipjsua: add support for iPhone OS 4 background mode
  * ipjsystest: add support for iPhone OS 4 background mode



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3299 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-27 06:46:29 +00:00
Nanang Izzuddin 5e1579684b Fix #1114:
- Fixed bytes_per_frame calculation in stream port.
 - Fixed sample streamutil.c to use codec info/param for codec bandwidth calculation (was using bytes_per_frame info of stream port).
 - Doc fix for bytes_per_frame field in pjmedia_port_info.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3292 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-24 10:45:01 +00:00
Benny Prijono 2958061f92 Misc (re #1068): fixed various compilation warnings with Visual Studio 6 and 2005
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3262 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-11 06:03:47 +00:00
Sauw Ming 9b206052c1 Misc fix (re #1068): Use default setting for path length (PJ_MAXPATH) on iPhone to accommodate long path name when running on the simulator.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3258 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-09 06:40:38 +00:00
Nanang Izzuddin 9608db413f Misc (re #1068): fix codec selection menu in symbian_ua app to hide disabled passthrough codecs.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3253 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-06 03:24:15 +00:00
Benny Prijono 4d69c3d162 Misc (Re #1068): compilation warning with gcc about unchecked fgets() return value
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3249 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-05 10:37:47 +00:00
Benny Prijono 0828055887 Re #1068 (Misc): fixed compilation warnings with MSVC compiler
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3245 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-01 15:25:04 +00:00
Benny Prijono 1c1d734e05 Implemented core multipart support and support in the invite session (re #1070)
- incoming multipart message will be handled automatically
 - for testing, enable HAVE_MULTIPART_TEST in pjsua_app.c


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3243 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-01 09:48:51 +00:00
Benny Prijono 29c8ca331c Fixed #1095 (New option to control the Route headers in REGISTER request). Details:
- added new account config setting: reg_use_proxy. This contains bitmask values to indicate whether outbound proxies and account proxies are to be added in the REGISTER request. Default value is to add both.
 - added new pjsua cmdline option to control this: --reg-use-proxy
 - miscellaneous minor fixes in other pjsua cmdline arguments


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3216 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-22 06:02:13 +00:00
Benny Prijono 4d6ff4d62c Fixed #1077: In ICE stream transport (ice_strans.c), automaticaly retry allocation once if TURN allocation fails. If this allocation retry also fails, notify the TURN user via on_ice_complete() callback. Details:
- added new PJ_ICE_STRANS_OP_KEEP_ALIVE operation
 - also added new on_ice_transport_error() pjsua callback to allow application to react to the failure.


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3212 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-19 12:35:33 +00:00
Benny Prijono b5a60cd661 Re #1068 (misc fix): added --log-append option in pjsua to not overwrite existing log file
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3183 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-19 06:10:48 +00:00
Sauw Ming 7655487fe1 Fix #1053: change the libaries' path type to relative
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3179 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-18 15:17:03 +00:00
Sauw Ming e9edc04bbc Fix #1052: change library path as a relative path.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3178 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-18 15:11:20 +00:00
Sauw Ming 7920fb2d16 Merge #1050, #1052, #1053, #1054 into the main trunk.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3175 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17 13:07:39 +00:00
Nanang Izzuddin d89cc3a4c9 Re #1069:
- Added new approach of SRTP optional mode in pjsua-lib by duplicating SDP media line for secured and unsecured version of media transport.
 - Integrated this feature into pjsua app, it is activated via --use-srtp=3 param.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3172 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-13 05:22:51 +00:00
Benny Prijono c712c2835b Added systest function to select which audio device to use (re #1068: misc fixes)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3164 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-10 09:51:02 +00:00
Benny Prijono adca6fdd2f Ref #1068 (misc fixes): added facility to change device ID at run time in pjsystest
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3163 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-10 09:05:19 +00:00
Benny Prijono c58e9f7a6b Misc (ticket #1026):
- added aectest in Samples build


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3141 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-20 09:44:27 +00:00
Nanang Izzuddin 0048fbdd5d More ticket #1055:
- Added APS codecs detection.
 - Minor updates in symsndtest:
   - added log of supported extended audio formats.
   - changed libraries order in symsndtest.mmp, this fixes linking error on S60 3rd MR SDK.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3135 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-07 13:21:31 +00:00
Benny Prijono 3d71eb0fb1 More ticket #1041 (Unit test):
- Symbian testing (plain, APS/Direct, VAS/Direct)
 - some MMPs need to be modified to support automated configuration
 - renamed Write to FileWrite command in scenario files
 - support for Visual Studio 2010 detection in configure script


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3131 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-30 13:02:40 +00:00
Sauw Ming bf16644012 Implemented ticket #1053: ipjsua: pjsua for iPhone OS
* ipjsua:
  * xcode project directory for ipjsua application
 * pjsua:
  * Modify pjsua to support printing messages and logs to a user-specified function



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/iphone@3130 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-30 12:33:52 +00:00
Sauw Ming a74876262d Implemented ticket #1052: ipjsystest: pjsystest for iPhone OS
* ipjsystest:
  * xcode project directory for ipjsystest application
* pjsystest:
  * Modify pjsystest to support appending path during runtime



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/iphone@3129 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-30 11:42:51 +00:00
Nanang Izzuddin 36dd5b607e Ticket #1044:
- Added initial version of automatic re-registration after registration failure and automatic call disconnection after re-registration attempt fails.
 - Published auto re-registration setting to pjsua app.
 - Updated pjsip_regc_send() to retrieve the transport earlier (was only in tsx_callback()).
 - Fixed TCP and TLS transport to prevent transport deletion in transport disconnection callback.
 - Fixed wrong keep-alive settings used by TLS transport (was using TCP keep-alive settings).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3128 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-30 11:13:59 +00:00
Benny Prijono 2140732ff3 More #1032 (new SIP TCP/TLS transport callback):
- PJSUA-LIB transport callback, if installed, will call the previously registered callback, to allow multiple transport callbacks to be installed
 - there seem to be a bug with the use of "pjsip_tp_state_callback" everywhere (the "pjsip_tp_state_callback" type is pointer, but most variables of this type are declared to pointer too)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3119 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-10 13:33:25 +00:00
Nanang Izzuddin 308d5332ab Ticket #1008:
- Applied VAS AMR playback solution from Forum Nokia.
 - Fixed AMR playback for VAS and APS in composing DTX/NO_DATA (frame type 15) frame header.
 - Modified symbsndtest test application to support non-PCM audio.
 - Minor check fix in pjmedia_codec_mgr_destroy(), caught assertion when VAS factory init failed and media endpoint tried to destroy codec manager (codec mgr hasn't been init-ed).




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3116 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-04 15:47:25 +00:00
Nanang Izzuddin 6050f881a7 Ticket #1042, minor updates related to AEC:
- Added requirement of AEC minimal latency between reference and echo in aectest sample app.
 - Modified AEC latency in sound port to 3/4 of playback latency.
 - Few cleaned up echo_common.c: unused vars, a bit stricter latency check (to be at least as much as PTIME).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3115 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-03 14:47:35 +00:00