Nanang Izzuddin
85e9048e84
Close #1847 : Upgraded libsrtp version to 1.5.4 and added support for AES-CM-256 crypto.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5261 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-15 03:57:39 +00:00
Nanang Izzuddin
df1b7f092a
Re #1907 : Updated VS2005 build settings, added the new files audio/videodev.h/c.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5260 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-14 07:59:38 +00:00
Sauw Ming
f3790cfd24
Re #1907 : Fixed build error: undeclared variables PJMEDIA_VID_DEV_MAX_DRIVERS and PJMEDIA_VID_DEV_MAX_DEVS when PJMEDIA_HAS_VIDEO is disabled.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5257 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-11 12:43:59 +00:00
Sauw Ming
b1f406ce4f
Fixed #1907 : Remove pjmedia* circular dependency
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5255 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-10 05:02:07 +00:00
Sauw Ming
adc3b7f54f
Re #1882 (misc): Fixed a bug in Android sound device backends which prevent them to create a unidirectional stream
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5248 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-29 01:10:21 +00:00
Riza Sulistyo
c58101bb69
Misc (Re #1882 ): Add compile time option (PJMEDIA_HAS_DTMF_FLASH) to enable/disable DTMF flash as specified in rfc2833.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5242 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-18 03:15:19 +00:00
Sauw Ming
d3ece1d774
Fixed #1904 : Support for Opus codec
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5239 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-04 06:11:58 +00:00
Nanang Izzuddin
8cacacf6bd
Misc (re #1882 ): Suppress EAGAIN recv() error log in pjmedia stream.c & vid_stream.c (thanks Christian Ambach for the patch).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5234 74dad513-b988-da41-8d7b-12977e46ad98
2016-01-15 03:32:26 +00:00
Sauw Ming
9e18f15b22
Re #1882 (misc): Fixed incorrect loop when destroying streams in case of non-successful stream creation.
...
Thanks to Dusan Klinec for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5226 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-31 02:04:52 +00:00
Sauw Ming
d1c6a486ad
Re #1882 (misc): Add checking of crypto name in transport srtp.
...
Thanks to Dusan Klinec for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5219 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-30 03:35:53 +00:00
Sauw Ming
c46656e2bc
Re #1882 (misc): Configurable audio device name length
...
Thanks to Wolfgang Wallhäuser for the original patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5201 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-19 04:03:00 +00:00
Nanang Izzuddin
eeca9e82e7
Re #1896 : Updated default audio device backends: mingw uses WMME, linux/*nix uses alsa (if available).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5199 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-10 10:36:14 +00:00
Riza Sulistyo
b34c4f8680
Re #1897 : Implement support to Ffmpeg 2.8.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5198 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-10 05:28:47 +00:00
Nanang Izzuddin
a9a3238ed9
Close #1896 : Update default audio device backend on MacOS to CoreAudio.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5197 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-09 10:28:16 +00:00
Sauw Ming
649d3c58e3
Re #1882 (misc): related to r5192, fixed inaccurate index checking in pjmedia_sdp_attr_find() as well
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5193 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-30 00:37:14 +00:00
Sauw Ming
7416bdc608
Re #1882 (misc): Fixed inaccurate index checking assertion when removing SDP attributes in pjmedia_sdp_attr_remove() and pjmedia_sdp_attr_remove_all()
...
Thanks to Fredrik Hansson for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5192 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-29 01:27:02 +00:00
Nanang Izzuddin
786c6140a3
Misc (re #1882 ): Added array length check before inserting parsed bandwidth & attribute info to SDP structure (thanks Fredrik Hansson for the patch).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5190 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-23 09:45:48 +00:00
Sauw Ming
b5c5b7fc25
Re #1882 (misc): Fixed possibly incorrect stream stats
...
When a codec is opened, it can modify its param (such as iLBC can normalize its frame ptime based on remote SDP), so the stream stats has to be updated accordingly.
Also in this fix is to increase the log level which shows the info of iLBC mode opened.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5187 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-07 03:57:17 +00:00
Sauw Ming
4021214257
Fixed #1888 : Support for WebRtc AEC
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5186 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-06 05:57:51 +00:00
Nanang Izzuddin
602a176bf9
Fix #1887 : Feed only one PCM input frame at a time to iOS iLBC encoder.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5182 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-28 05:54:25 +00:00
Riza Sulistyo
5a5522dc6e
Re #1881 : Add filters file.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5181 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-21 05:25:04 +00:00
Nanang Izzuddin
e2c345747f
Fix #1884 : Fixed silence frame length in stream (frame length calculation didn't include frame per packet).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5174 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-10 07:17:22 +00:00
Sauw Ming
ac38922794
Re #1882 (misc): In iOS, set the option to notify other apps upon audio session deactivation. This will be useful so other apps can return to active state and resume its audio.
...
Thanks to Johan Lantz for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5171 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-27 02:23:55 +00:00
Nanang Izzuddin
88358fd268
Re #1881 : Fixed compile warnings on VS2015 about declaration hides previous declaration.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5170 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-25 08:45:46 +00:00
Riza Sulistyo
bcfe1aea76
Re #1881 : Add Visual Studio 2015 support.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5168 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 14:58:04 +00:00
Sauw Ming
d3d2427ead
Fixed #1880 : Incorrect orientation after switching video capture or when using back camera
...
Included in this fix:
* Change the spec & doc of pjmedia_orient enumeration
* Change iOS sample app to rotate all video devices upon orientation change event.
* Set orientation as well when fast switching cameras (for iOS and Android)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5166 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 06:46:32 +00:00
Nanang Izzuddin
f5727fc18c
Misc (re #1843 ): Fixed compile warnings of unused variable.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5157 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-10 09:11:39 +00:00
Sauw Ming
999cce3eb6
Re #1843 (misc): Fixed wrong calculation of timestamp in L16 codec (should be multiplied by samples per frame instead of frame size).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5153 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-07 09:22:32 +00:00
Nanang Izzuddin
a0ca842333
Fix #1876 : Don't restart renderer when only fps is changing, just modify the clock instead.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5149 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-06 07:10:33 +00:00
Nanang Izzuddin
a7b4d5c1e2
Close #1872 :
...
- Moved iOS audio session category setting to factory initialisation, with option of enabling bluetooth by default.
- Also set audio session mode to AVAudioSessionModeVoiceChat.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5142 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-31 08:35:34 +00:00
Nanang Izzuddin
92444fe4ba
Fix #1871 : fixed missing audio index normalization in audio device open functions.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5140 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-31 07:12:36 +00:00
Sauw Ming
93efad4c9b
Fixed #1861 : Add support for video capture orientation on Android
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5138 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-30 06:23:35 +00:00
Nanang Izzuddin
57d08fc50e
Misc (re #1843 ): Fixed MSVC build error on samples app due to undefined symbol 'RAND_bytes'.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5136 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-28 09:56:31 +00:00
Nanang Izzuddin
5b757638c3
Fix #1866 : Refactored the management of initial SDP in SDP negotiator considering flip-flop memory pools used by the application/invite sesion.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5129 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-08 10:17:26 +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
9a4d81daf2
Misc (re #1843 ): Register fmt matching callbak for AMR-WB in opencore-amr implementation. Thanks to Alexander Traud for the initial patch.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5122 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-01 01:45:57 +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
035c0e6abc
Re #1843 (misc): Add two underscores for the header definition macros to match the convention
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5117 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-25 04:51:59 +00:00
Sauw Ming
a32a7af322
Fixed #1860 : Modify pjmedia_sdp_neg_fmt_match() to check for encoding parameters as well
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5114 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-22 07:33:46 +00:00
Nanang Izzuddin
d3697ca8a0
Misc (re #1843 ): Updated docs of PJMEDIA_AUD_DEV_ROUTE_DEFAULT (default route of audio device).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5110 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-18 06:06:02 +00:00
Riza Sulistyo
ba5ac0998f
Misc (re #1843 ): Add index checking to some SDP attr operations. These operations use count parameter as index doesn't check the value which might lead to crash if the count param exceed PJMEDIA_MAX_SDP_ATTR.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5106 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-12 03:03:48 +00:00
Nanang Izzuddin
6b8279ca89
Close #1856 : Offer only current active crypto on re-INVITE.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5103 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-01 03:44:16 +00:00
Nanang Izzuddin
a8a3d3efb6
Misc (re #1843 ): Updated error message in pjmedia stream & video stream upon RTP receiving failure, also avoid printing the same message repeatedly of same subsequent failures.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5101 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-28 07:07:17 +00:00
Nanang Izzuddin
8c87ac03c6
Misc (re #1843 ): Best effort fix for compile warning of pointer-integer cast in SILK codec wrapper (thanks Alexander Traud for the report).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5085 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-05 07:48:13 +00:00
Sauw Ming
513a8e4e6c
Re #1843 : Add support if app uses external libSRTP 1.5.x or above (thanks to Alexander Traud for the patch)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5079 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-23 23:58:22 +00:00
Sauw Ming
685b1ad1fd
Re #1843 : Fixed unused variable warning when using OpenCore AMR (thanks to Alexander Traud for the report)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5075 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-22 09:03:23 +00:00
Nanang Izzuddin
d2a76eb70b
Misc (re #1782 ): Suppress compile warnings on MSVC.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5060 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-10 11:47:48 +00:00
Nanang Izzuddin
fc34ed64de
Re #1794 :
...
- Updated G7221, the bitrate can also be set via param.info.avg_bps, this is applicable only when param.setting.dec_fmtp doesn't contain bitrate info.
- Fixed failing codec vector test in pjmedia-test due to wrong G7221 bitrate setting.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5058 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-09 08:15:48 +00:00
Nanang Izzuddin
f76a67eb72
Re #1831 : Fixed bug of requested format overwritten by supported format, caused no converter is created when needed, assertion in pjmedia-test, etc. Also rearranged some related logs.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5057 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-09 06:52:20 +00:00
Sauw Ming
519b86d54a
Re #1837 : Fix dispatch queue problem in iOS capture device (crash in enc_clock_cb)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5054 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-08 10:09:37 +00:00