Commit Graph

2234 Commits

Author SHA1 Message Date
Nanang Izzuddin 1b79114078 Added volume settings capability to Symbian APS audiodev.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2466 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-19 19:13:49 +00:00
Nanang Izzuddin 1c1c7d47a1 Added Symbian S60 APS device in audiodev
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2465 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-19 17:19:46 +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 418e0a4dff Fixed checking macro in pjsua-lib for Symbian APS audio routing.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2462 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-18 18:33:01 +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 598b01dbdf Added WMME device in audiodev
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2459 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-18 13:55:03 +00:00
Benny Prijono 2cd64f895d Initial checkin for pjmedia_audiodev
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2458 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-17 19:57:48 +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
Nanang Izzuddin 388a8eeccb Fixed possible access violation in conf_switch when port 0/sound device is in PCM mode and its TX buf contains FRAME_TYPE_NONE.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2455 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-14 12:17:58 +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 64fea4336b Fixed the way of stacking PCMU/A frames for APS player callback.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2449 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-10 13:02:11 +00:00
Nanang Izzuddin d5c54ab720 - Fixed conf switch on reinit-ing conf port TX buf.
- Updated conf switch to enable RX/TX level adjustment.
- Added VAD & PLC setting in passthrough codecs.
- Changed G711 fourcc codes.
- Updated bits-to-bytes calculations all over the places.
- Minor update: changed log level for dumping jbuf states in stream.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2445 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-10 04:43:16 +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
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 389d3264b7 - Fixed pjmedia_frame_ext helper functions, it didn't involve sizeof(bitlen) in calculating subframe address.
- Fixed audio switch board to handle such case that transmitter of port 0 has greater ptime, so it could save the remaining data in the TX buffer.
 - Fixed audio swtich board in handling FRAME_TYPE_NONE.
 - Updated audio switch board to handle keep alive mechanism.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2437 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-01 14:10:49 +00:00
Nanang Izzuddin 8cdba46cca - Added pjmedia passthrough codec.
- Added field format in codec param info.
 - Updated pjmedia_frame_ext_get_subframe to have index range checking.
 - Added API docs on pjmedia_frame_ext routines.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2436 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-29 20:06:28 +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
Nanang Izzuddin 27c98df853 Created branch for project APS-direct.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2431 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-27 17:46:15 +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 069731344f Ticket #707: pjmedia-test: link error when L16 codec is disabled, and compile error due to Unicode platform in sdp_test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2429 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-27 10:05:48 +00:00
Benny Prijono fce67816f5 Ticket #704: pjsip-test: Bus error on FreeBSD due to declaration of test data in read-only segment (thanks Michael Broughton for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2428 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-27 08:05:34 +00:00
Benny Prijono 5b2b445500 Minor fixes/ticket #703: added some more macros to enable software build under Apple XCode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2427 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-22 20:30:32 +00:00
Nanang Izzuddin 8161b66631 Ticket #701: Updated PA callbacks to check their thread registration status using both: manual flag and actual/TLS status.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2426 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-20 18:05:58 +00:00
Nanang Izzuddin 670f71b475 Ticket #699: Added sound device idle checking in media_channel_deinit(), which is called each time a call being disconnected (for any reason).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2425 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-20 14:05:54 +00:00
Nanang Izzuddin ec8718ea26 Ticket #698: Fixed the silly bug of possible NULL opt access.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2424 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-20 10:35:01 +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 605c1247ee Fixed ticket #696: Wrong timestamp calculation causing RTCP clock skew (thanks Guido Fischer for the fix!)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2422 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-20 07:39:03 +00:00
Benny Prijono c9361a97e1 Inconsistent implementation vs documentation in pjsip_endpt_create_request_from_hdr(): it should allow NULL Call-ID to be specified. Thanks Cedric Leveque for the report
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2421 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-14 15:34:00 +00:00
Benny Prijono 8f2a0504b5 Fixed ticket #689: Deadlock caused by ICE media transport (thanks Alain Totouom for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2419 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-12 10:06:04 +00:00
Nanang Izzuddin 1a9b7a2f39 Ticket #680: Wrong frame size passed to sound port player callback by Symbian APS.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2418 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-06 11:49:54 +00:00
Benny Prijono 459a0ff755 -
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2417 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-05 15:31:25 +00:00
Nanang Izzuddin 58704d502a Ticket #680:
- Fixed Symbian APS G.711 frame size variation issue.
 - Fixed APS implementation to regard 'samples_per_frame' setting.
 - Added APIs for u-law/a-law <-> PCM bulk conversions.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2416 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-05 15:27:02 +00:00
Benny Prijono f84081dfcf -
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2415 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-04 21:28:10 +00:00
Benny Prijono 8a0e97b2c9 Fixed exception error on the Python test due to child process already exiting
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2414 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-04 20:15:37 +00:00
Benny Prijono bf7b842aa7 Added dummy configure test for VS and Symbian tests and don't stop the whole tests when exception thrown from ccdash
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2413 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-03 23:53:05 +00:00
Benny Prijono c543e9eea0 Support for IPP version 6.0 (the usc.lib has been renamed to speech.lib for Windows)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2412 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-03 12:19:53 +00:00
Benny Prijono 456e58f013 Fixed error with platform detection in cdash test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2411 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-02 18:51:25 +00:00
Benny Prijono d5962679b7 Test refinements for mingw etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2410 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-02 18:15:07 +00:00
Benny Prijono e1e6d513ba Updated to support IPP 6.0 (the usc.lib was renamed to speech.lib in IPP 6.0)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2409 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-02 15:17:47 +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 b9bcb83944 Fixed wrong exe output name in pjmedia-test VS8 project
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2406 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01 15:00:04 +00:00
Benny Prijono fee946baa1 Added Symbian test configurator
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2405 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01 00:11:17 +00:00
Benny Prijono 0b262934c6 CDash test for MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2404 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-30 16:19:38 +00:00