Commit Graph

1172 Commits

Author SHA1 Message Date
Benny Prijono 7d5141cf95 Re #1656: integration of Gurtej's patch (email re: PJSIP BB10 Performance and sound dev fixes)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4490 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-23 07:56:12 +00:00
Benny Prijono a43835d276 Re #1630: fixed various warnings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4487 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-23 05:37:41 +00:00
Benny Prijono 0edf708754 Misc (re #1630): set default frames per packet for AMR codec to 1 (from 2) because it yields lower and more consistent CPU utilization on BB10
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4481 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-19 09:00:55 +00:00
Benny Prijono 7e99804376 Re #1656: BB10 sound device fixes:
- fixed hardcoded clock rate etc.
 - handle audio routing setting when opening via param


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4480 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-19 08:57:44 +00:00
Benny Prijono fb59333b03 Re #1656: fixed bug from c4467
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4475 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-16 09:41:16 +00:00
Sauw Ming 3f922fc08e Fixed #1658: Stop media endpoint's worker threads first when destroying media subsystem
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4474 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-16 09:12:59 +00:00
Benny Prijono 9ea1bcd1a9 Re #1656: add hardware echo cancellation capability to BB10 audio device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4467 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-15 10:26:58 +00:00
Nanang Izzuddin 06a3c50e57 Misc (re #1630): Added compile-time setting to configure audio switchboard buffer size.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4443 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-20 06:56:19 +00:00
Nanang Izzuddin ed05649d8d Re #1639: merged android branch into trunk (except sample apps, i.e: apjsua & apjloader)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4435 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-11 06:32:58 +00:00
Riza Sulistyo 7892a637e0 Re #1636: add initial support for bdIMAD
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4432 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-08 08:02:48 +00:00
Sauw Ming 91b3146546 Re #1631: Fixed typo in null_port (thanks to Tomas Valenta for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4423 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06 06:06:17 +00:00
Riza Sulistyo 4741b802e6 Misc (re #1559): add macro PJMEDIA_SDL_LIB to manually specify SDL library name on MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4414 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 08:21:02 +00:00
Riza Sulistyo 152b642843 Misc (re #1559): fixed compile errors/warnings on MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4412 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 03:12:32 +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
Benny Prijono 2508587130 Misc re #1562: disable trace in the jitter buffer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4369 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 21:55:54 +00:00
Nanang Izzuddin 1d66832a6a Close #1625: Introduced new API pjmedia_sdp_validate2() for allowing SDP media without c= line when port is zero, currently it is only applied in validating remote SDP.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4367 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 20:49:19 +00:00
Sauw Ming bbc140f76a Sipit30 misc (re #1559): Increased maximum key length for SRTP crypto key
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4366 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 20:41:31 +00:00
Nanang Izzuddin 3b06333cc5 Sipit30 misc (re #1559): Updated log for SRTP key to use base64 as in the SDP (easier in tracing which key for which stream)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4364 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 17:01:28 +00:00
Nanang Izzuddin 837437fb50 Re #1622: fixed bad default aspect ratio.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4362 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 14:51:56 +00:00
Nanang Izzuddin d062f131f3 Close #1622: Apply H264 SDP fmtp parameters: max-fs, max-mbps, max-br.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4361 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 14:48:53 +00:00
Nanang Izzuddin f53a34ecd8 Re #1242: Fixed ICE nego completion check as it always returns FALSE when peer doesn't support ICE.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4350 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-15 03:57:31 +00:00
Sauw Ming ad85d33f19 Re #1608: Fixed array size calculation of amr bitrates array.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4348 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-14 02:00:13 +00:00
Benny Prijono 2ce87f1753 Re #1570: Update to work with audio routing (speaker vs handset). Thanks Bob Cripps for the patch!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4340 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-05 05:15:01 +00:00
Sauw Ming 2573b434fe Re #1608: Try to store the number of frames in the packet in case SKP_Silk_SDK_get_TOC() couldn't return the correct number of frames during decode
This was reported to happen in SILK ARM version (thanks to Marcus for the report)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4339 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-31 05:23:46 +00:00
Sauw Ming b3010ae7ee Re #1568: (PJSIP 2.x) Apply pjsua_media_config before detecting media change and fixed encoding name string duplication.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4336 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-29 08:15:02 +00:00
Sauw Ming 67a4044a31 Re #1608: Fixed the way codec is initialized, enumerated, and deinit since both NB and WB use the same factory
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4335 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-29 08:09:15 +00:00
Sauw Ming 2f67f4741c Re #1608: Add support for OpenCORE AMR-WB
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4331 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-23 06:18:18 +00:00
Sauw Ming 5ee302e8f5 Re #1586: Fixed samples_per_frame calculation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4328 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-23 01:40:04 +00:00
Benny Prijono d752afdd33 Fixed #1612: problems with jitter buffer fixed mode operation (prefetch may go lower than configured minimum prefetch, and the discard needs to be disabled too)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4325 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-18 08:47:39 +00:00
Benny Prijono d7636bd4ab Re #1570: Update BB10 audio driver to the latest changes in SDK:
1. Disable MMAP on play and record
 2. Use type VIDEO_CHAT as opposed to VOICE (recommended by RIM audio team)
 3. Free up audio_manager handles properly (RIM audio team code review)
 4. Set the play to headset because VIDEO_CHAT defaults to speaker (recommended RIM audio team)
 5. Removed the conditional compile for the old SDK version as nothing that’s not built with the current SDK will run on BB10

Thank you Bob Cripps for the patch!


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4316 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-14 10:08:20 +00:00
Nanang Izzuddin 19f08d6852 Misc (re #1562): Update ffmpeg version check regarding 'AVCodec::encode' removal (see also r4277).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4311 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-20 06:45:09 +00:00
Nanang Izzuddin 4a298d5775 Fix #1600: V4L2 capture device always re-enqueues buffer with index zero.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4310 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-19 05:38:28 +00:00
Sauw Ming 647045aa4b Re #1586: Fixed useInBandFEC setting and default value setting in pjmedia_codec_silk_set_config()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4293 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-03 03:32:09 +00:00
Sauw Ming 443a16a35c Re #1562 (misc): Fixed uninitialized frame for conversion in video port
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4290 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-01 03:06:33 +00:00
Sauw Ming 10584d27d4 Re #1559: Fixed potential buffer overflow when duplicating the string
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4283 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-12 06:19:32 +00:00
Sauw Ming f500a55751 Re #1586: Add support for SILK multiple frames per packet
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4278 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-05 10:04:54 +00:00
Nanang Izzuddin 9756efd816 Misc (re #1562): Fixed ffmpeg codec wrapper compile error of undefined 'AVCodec::encode' (removed in the recent ffmpeg version).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4277 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-04 07:55:41 +00:00
Sauw Ming 65f24036c5 Re #1586: Implement SILK config setting and fixed decoding fmtp
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4272 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-01 11:11:37 +00:00
Nanang Izzuddin a4ac2281d2 Misc (re #1559): Consistent use of SAMPLES_PER_FRAME in G711.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4266 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-26 05:55:18 +00:00
Nanang Izzuddin e14008ea70 Re #1586: Initial version of SILK wrapper.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4264 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-24 06:58:16 +00:00
Benny Prijono 3d6980ab6b Fixed #1582: Transmit the last DTMF packet (containing the E bit) three times
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4263 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-20 11:26:16 +00:00
Sauw Ming af9c34d3a1 Re #1562: Add PJMEDIA_HAS_VIDEO macro for vid_stream_info
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4257 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-17 03:11:44 +00:00
Benny Prijono 9c752fab86 Transmit DTMF with 'End' bit when the stream is being destroyed. This closes #1582
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4255 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-14 13:18:57 +00:00
Nanang Izzuddin f0aabd3362 Close #1568:
- Added media change detection based on SDP negotiation result and local codec param settings, the detection result will decide whether the media should be re-initialized after the SDP negotiation.
 - Fixed stream to keep the duplicate of codec param for the stream info (was only copying the pointer).
 - Introduced macro PJSUA_THIRD_PARTY_STREAM_HAS_GET_INFO & PJSUA_THIRD_PARTY_STREAM_HAS_GET_STAT.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4254 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-14 04:06:29 +00:00
Sauw Ming 994e9ed3ad Re #1562: Add support for multiple GUIDs that represents the same format (such as I420/IYUV) in DShow device.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4253 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-13 08:35:24 +00:00
Sauw Ming 9b7e255139 Fixed #1581: Fixed crash in video port when the capturer is passive, its stream is passive, and converter is needed
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4252 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-13 08:08:01 +00:00
Sauw Ming 8906e6d0d6 Re #1518: Modified Android Configuration interface setting as required instead of optional.
Requesting Android Configuration interface in optional mode is known to cause problem in devices such as Asus TFT 101 (and possibly HTC One X as well).



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/android@4250 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-10 10:58:08 +00:00
Nanang Izzuddin be8ab38d78 Fix #1579: Update Symbian APS/VAS to use new pjmedia_format.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4243 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-31 11:42:17 +00:00
Sauw Ming 2da9fc6df4 Re #1562: Add support for I420 format in DShow video device.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4241 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-31 09:30:14 +00:00
Sauw Ming 062c49f29d Fixed #1577: Add pjmedia setting to include SDP bandwidth modifier "TIAS" (RFC3890)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4240 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-31 09:03:36 +00:00