Commit graph

1327 commits

Author SHA1 Message Date
Benny Prijono
09484ef535 Fixed #1659: SDP offer version number is not incremented if previous re-INVITE offer was rejected
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4498 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-24 09:52:25 +00:00
Benny Prijono
ffaf7e5f28 Re #1656: fixes incorporated from latest email feedback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4495 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-24 01:17:40 +00:00
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
c9f4b56e85 Re #1630: fixed missing parenthesis in disabled block
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4470 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-15 10:40:26 +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
Nanang Izzuddin
2343c259d5 Re #1568: (PJSIP 2.x) No need to restart media when remote RTP address changed but ICE transport is running.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4345 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-13 07:43:32 +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
0370289846 Re #1608: Modified VS project
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4332 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-23 06:22:31 +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
6abce2c0b8 Re #1559: Fix dependencies when running parallel make (thanks Shaun Ruffell for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4308 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-13 06:37:05 +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
Benny Prijono
3ee340a3a9 More re #1586: added PJMEDIA_HAS_SILK_CODEC to config_auto.h.in
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4270 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-01 10:18:58 +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
Sauw Ming
03df4246da Re #1568: Add build config for SILK
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4265 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-25 02:23:06 +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