Commit Graph

533 Commits

Author SHA1 Message Date
Benny Prijono ef1391705e Misc (ticket #772): removed pasound.c and wmme_sound.c from pjmedia eVC4 project, and added pjmedia_auddev_wince to wince_demos eVC4 workspace and fix the pjsua_wince project dependency
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2571 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-06 10:53:51 +00:00
Benny Prijono 8972bf0c3b Ticket #776: IPv6 option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2568 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-05 18:30:45 +00:00
Benny Prijono a2591fe7fa Misc (ticket #772): added pjmedia-audiodev to pjsip_apps VS6 workspace
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2567 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-03 10:21:14 +00:00
Benny Prijono 45f2f35792 Misc (ticket #772): bug in pjsua application when reading the URL from the buddy list, causing corrupt/invalid URI to be returned
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2566 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-02 12:15:23 +00:00
Benny Prijono 045ce3e37d Misc (ticket #772): added pjmedia-audiodev dependency for PocketPJ in EVC4 workspace
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2561 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-30 18:27:24 +00:00
Perry Ismangil 74338058c2 Addition of Debug-Static, Debug-Dynamic, Release-Static, and Release-Dynamic build configuration for Visual Studio, for Win32 target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2559 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-30 12:15:43 +00:00
Nanang Izzuddin fc96d5baf9 Ticket #771 (auddev-misc): Minor fix in auddemo menu.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2558 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-27 15:43:44 +00:00
Nanang Izzuddin 21286f269d Ticket #771 (auddev-misc):
Updated audio test tool:
 - Fixed playback report on avg interval.
 - Added feature to set/get capture & playback latecies setting.
 - Minor update on drift calculation, improve a bit readibility for debugging.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2555 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-27 15:15:46 +00:00
Nanang Izzuddin eaed311096 Ticket #737: Updated eVC 4 projects to support for the new audio device API.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2518 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-17 11:20:30 +00:00
Benny Prijono 51fc47f497 Fixed warnings about unchecked fgets() return value with gcc 4
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2517 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-17 11:19:48 +00:00
Nanang Izzuddin a3aa6f9f0b Ticket #737: Minor fix for auddemo.c, disable its log color (that may cause log unreadable on bright/white shell background).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2514 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-16 16:34:33 +00:00
Nanang Izzuddin 11951c3997 Ticket #716 (app misc): fixed info of ilbc default mode in pjsua app menu.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2507 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12 23:04:21 +00:00
Benny Prijono 9920dc304b (Major) Task #737 and #738: integration of APS-Direct and Audiodev from aps-direct branch to trunk.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2506 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12 18:11:37 +00:00
Benny Prijono d9e8dfea2d Initial fixes for ticket #747: bugs in parsing SIP torture messages (RFC 4475):
- SIP version components may be separated by whitespaces (e.g. "SIP / 2.0")
 - parsing of mangled header when for unknown/generic header
 - Via parameters were parsed with paramchar rather than token
 - handling NULL character inside quoted string

Some torture messages have been added in the Python test.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2505 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12 11:25:11 +00:00
Nanang Izzuddin fa92382c62 - updated delay statistic calculations to use pj_math_stat, also added
min, avg, dev of latency into the test result
- fixed drift report
- updated test result calculations to use division with rounding




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2503 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-11 11:28:44 +00:00
Benny Prijono ccd90bbee2 Continuing task #741 for aps-direct: updated GNU build system for the new audiodev
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2501 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-10 15:14:11 +00:00
Nanang Izzuddin 08694eaa20 - Added feature to increase/decrease output volume in symbian_ua
- Removed optimization setting in some MMP files
- Added new symbian_ua.pkg in Carbide development for comfortness



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2500 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-10 15:03:04 +00:00
Nanang Izzuddin fcb92d01a6 - updated APS set_cap() to store output volume setting into stream param.
- updated APS get_param() to return actual volume setting.
- updated symbian_ua application to use the new pjsua-lib APIs: snd_set/get_setting().




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2498 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-10 13:32:09 +00:00
Nanang Izzuddin da37ea3e5d - Fixed compile errors/warnings for Symbian targets.
- Updated module dependencies of symbian auddev implementations.
- Minor updates, e.g: missing update on symbian_ua UID changing, updated default log level for logfile.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2491 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-06 16:24:43 +00:00
Nanang Izzuddin a377597ed8 - Fixed player callback (for PCM) of APS aud dev to zero-fill the buffer whenever it gets non-audio frame type.
- Updated symbian_ua.mmp to allow it links to multiple audio back-ends (feature of the new audio device framework).
- Minor fix in symbian_ua to use codec macros instead of sound device macro.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2483 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-03 18:25:55 +00:00
Nanang Izzuddin 90b8320681 Ticket #732:
- Added new Symbian specific API in PJLIB, pj_symbianos_set_connection_status(), to let PJLIB knows the connection status.
 - Added connection status checks before Symbian socket operations.
 - Added loop limiter in Symbian busy_sleep() to avoid the possibility of infinite loop.
 - Added sample of connection monitor in Symbian sample application (ua.cpp).




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2481 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-02 15:48:45 +00:00
Nanang Izzuddin 0cb3b02b09 Added one new pjsua-lib API to get audio device stream instance, also added its usage sample for audio routing in symbian_ua.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2480 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-27 17:37:35 +00:00
Nanang Izzuddin a940b36960 - Updated Symbian bld.inf & MMP projects to use new audio framework.
- Updated audiodev.c to accomodate Symbian audio devs (APS & standard multimedia framework).
- Fixed compile warning & errors on Symbian.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2475 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-23 13:53:30 +00:00
Benny Prijono 10454dc424 Updated libraries and applications to use the new Audio Device API
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2468 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-21 14:21:59 +00:00
Benny Prijono 555139d839 Updated audio test
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2464 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-19 12:08:19 +00:00
Benny Prijono e3ebd55df7 Added audiotest and initial work on audio demo sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2463 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-18 20:14:15 +00:00
Nanang Izzuddin 452b66bf76 - Updated audio route API for Symbian APS.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2461 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-18 15:23:47 +00:00
Nanang Izzuddin fe02a0684d - Added APS-direct sound device management into pjsua-lib (and removed it from apps).
- Fixed bug in conf_switch.c to always update ts_rx (even if port is not transmitting).
- Minor updates: 'fmt_id' to 'id', added transmitter_Cnt in conf port info, explicit mapping in Symbian audio APS impl from pjmedia_format_id to Symbian APS fourcc.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2460 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-18 14:28:49 +00:00
Benny Prijono f863ca3f77 Added bitrate and vad info in pjmedia_format, and changed audio route to use enumeration rather than boolean
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2457 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-17 15:19:45 +00:00
Nanang Izzuddin 83457d5937 Changed term 'fourcc' to 'format' and few minor fixes/updates.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2456 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-16 16:29:05 +00:00
Benny Prijono b995a38a75 Bug in APS-Direct emulation in sound_port causing crash and tick noise, and handle wideband audio in APS-Direct emulation in pjsua_app.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2454 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-13 15:57:46 +00:00
Benny Prijono b7dfc9ce09 Added APS-Direct emulation to sound port and pjsua_app.c, also fixed miscellaneous compilation warnings
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2452 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-13 11:53:12 +00:00
Nanang Izzuddin 798bf45e03 Updated symbian_ua menu, adding commands to test codecs & audio routing, removing 'less used' commands.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2450 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-12 12:35:27 +00:00
Nanang Izzuddin bfa860b133 - Added support for codec ILBC, G729, and AMR.
- Updated audio switch board to make user possible to update its port 0 (master port) attributes, this is needed since sound device need to be reopened (e.g: for changing ptime or codec) while conf is not recreated.
- Added new API to AMR helper to resolve mode/frame-type based on frame len.
- Updated pmedia_frame_ext helper functions for a bit optimization.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2444 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-09 10:39:58 +00:00
Benny Prijono 98d8c95902 Ticket #716 (miscellaneous): write nameserver settings in dump config in pjsua_app.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2441 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-06 08:13:43 +00:00
Nanang Izzuddin 4906604fd7 - Fixed pjmedia_frame_ext_pop_subframes() in calculating len.
- Fixed symbian_sound_aps.cpp in filling silence, previously just by filling zeroes.
- Some fixes in ua.cpp: always reopen sound device (even if PCM is in use), make sure sound device closed before quit, release application pool.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2439 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-05 12:28:38 +00:00
Nanang Izzuddin 81db8c724a - Added new API for sound & sound port to create/open sound device with extended setting, to allow opening sound device with non-PCM format and other settings.
- Updated symbian_ua/ua.cpp to be able to reopen sound device when audio stream session is using non-PCM data/passthrough codec.
- Updated stream.c to allow it works with non-PCM data.
- Added PCMU/A frames processing into non-PCM play/record callbacks in symbian_audio_aps.cpp.
- Added passthrough codec init/deinitialization in pjsua-lib.
- Added a new pjmedia_frame_ext helper function, pjmedia_frame_ext_pop_subframes, to pop-out/remove some subframes.
- Other minor updates/fixes.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2438 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-05 10:59:14 +00:00
Nanang Izzuddin 4e50262076 Initial sources of APS-direct.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2434 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-28 18:03:12 +00:00
Benny Prijono 298c12e70e Ticket #706: Part 1 of VS 2005 projects reorganization: introduction of Windows Mobile 6 standard SDK in the build platform
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2430 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-27 10:14:52 +00:00
Benny Prijono becb31be0b Minor fix sin simpleua.c sample: should put authentication scheme in the sample snippet for authentication
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2423 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-20 08:53:38 +00:00
Benny Prijono 32d267bb67 Fixed gcc-4.3.2 warnings with the warn_unused_result flag in some APIs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2408 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01 22:08:21 +00:00
Benny Prijono 95b5340fa6 Fixed unreached code, deprecated fopen(), unused arguments, and other warnings with MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2407 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01 20:56:36 +00:00
Benny Prijono 844653c1f2 Updated copyright notice in all files to Teluu Inc., and changed the year as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23 17:27:53 +00:00
Benny Prijono 945aeb2681 Created top-level directory tests and moved test-pjsua there. This will be the placeholder for future developed tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2392 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-22 18:54:58 +00:00
Benny Prijono 4b55e0aa64 Some minor changes: use log level 3, and change some default settings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2382 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-18 13:22:52 +00:00
Benny Prijono 2285e7e24a Ticket 684: protect the memory allocation for TX packet with try/catch, and fixed various transmit data buffer leaks when transmission fails immediately
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2380 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-17 14:28:18 +00:00
Nanang Izzuddin 82f7a4147a Ticket #675:
- Fixed ICE+STUN panic E32User-CBASE 46, the problem seems to be inside the Symbian version of pjsua_handle_events().
 - Updated minor things, e.g: compile warnings



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2379 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-17 11:36:22 +00:00
Nanang Izzuddin 74f874627d Ticket #661: Fixed transport ICE in verifying possibilities of RTCP settings in the SDP.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2376 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-11 17:25:50 +00:00
Benny Prijono d8cd6b9b48 Ticket #682: New API to register (external) Python thread (thanks Johan Risberg for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2375 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-11 11:18:33 +00:00
Benny Prijono 21f871fbca Ticket #681: Bugs in sending and receiving instant messages in Python wrapper (thanks Johan Risberg for the patches)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2374 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-11 11:03:21 +00:00