Misc (re #1751): Uninitialized variable 'body.tsxState.type' in PJSUA2 in SipEvent::fromPj() (thanks Thomas Steinacher for the report and the fix).



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4884 74dad513-b988-da41-8d7b-12977e46ad98
Misc (re #1751): Remove reference to PJSUA2 Call instance from PJSUA library in PJSUA2 Call destructor regardless the PJSUA state to avoid crash caused by accessing dangling pointer of the Call instance (thanks Thomas Steinacher for the report).



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4885 74dad513-b988-da41-8d7b-12977e46ad98
Misc (re #1751): Bad typo on passthrough codec (thanks Peter Koletzki for the report).



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4886 74dad513-b988-da41-8d7b-12977e46ad98
Close #1779: Add APIs for external/native thread registration to pjsua2: Endpoint::libRegisterThread() & Endpoint::libIsThreadRegistered().



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4887 74dad513-b988-da41-8d7b-12977e46ad98
Closed #1677: Contact uses source port in initial registration.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4888 74dad513-b988-da41-8d7b-12977e46ad98
More re #1677:
 - renamed the option to contact_use_src_port
 - added the missing pjsua2 API implementation


git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4889 74dad513-b988-da41-8d7b-12977e46ad98
Re #1751: fixed miscellaneous gcc warnings


git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4890 74dad513-b988-da41-8d7b-12977e46ad98
Re #1762: Related to r4838, check whether the device supports the capture size before deciding to use it



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4891 74dad513-b988-da41-8d7b-12977e46ad98
Re #1751 (misc): Fixed compilation error due to the lack of the SSLv2 methods.
The fix will autodetect this and define OPENSSL_NO_SSL2 if necessary. Related to #1321.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4892 74dad513-b988-da41-8d7b-12977e46ad98
Misc, Re #1751: fixed pjsip-test failures


git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4893 74dad513-b988-da41-8d7b-12977e46ad98
Misc re #1751: disable one pjlib-test entry on socket address parsing


git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4894 74dad513-b988-da41-8d7b-12977e46ad98
Fixed #1780: Bug: STUN string attribute has zero length


git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4895 74dad513-b988-da41-8d7b-12977e46ad98
Misc (re #1751): fixed sound issue on Android L(using PJMEDIA_AUDIO_DEV_HAS_ANDROID_JNI), caused by the difference in JNI array handling. (Thanks Miguel Penades for the report).



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4896 74dad513-b988-da41-8d7b-12977e46ad98
Misc (re #1751): Fixed miscellaneous MSVC warnings.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4897 74dad513-b988-da41-8d7b-12977e46ad98
Misc (re #1751): fixed occasional failure in pjsip-test & pjnath-test caused by resource leak.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4898 74dad513-b988-da41-8d7b-12977e46ad98
Close #1735: Implemented secure dialog check of "sips" scheme in Contact/Record-Route header in incoming INVITE/UPDATE requests & responses.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4899 74dad513-b988-da41-8d7b-12977e46ad98
Re #1735: Fixed missing check of "sips" scheme in request line in pjsip_inv_verify_request3().



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4900 74dad513-b988-da41-8d7b-12977e46ad98
Misc (re #1751): Suppress compile warnings of OpenSSL deprecation on MacOSX.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4901 74dad513-b988-da41-8d7b-12977e46ad98
Re #1762: Change alloc method for preview layer that may cause crash when releasing the object on iOS 7 (arm64).



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4902 74dad513-b988-da41-8d7b-12977e46ad98
Misc (re #1751): Fixed wrong pointer check in starting video render device.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4903 74dad513-b988-da41-8d7b-12977e46ad98