Changed version to 2.2.1

git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4795 74dad513-b988-da41-8d7b-12977e46ad98
Changed version to 2.2.1-svn

git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4797 74dad513-b988-da41-8d7b-12977e46ad98
Re #1751: Fix build error when using 'disable-libsamplerate' on configure.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4800 74dad513-b988-da41-8d7b-12977e46ad98
Re #1750 fix for detecting definition of CodecID in newer ffmpeg

git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4801 74dad513-b988-da41-8d7b-12977e46ad98
Fix #1754: Fixed crash in video stream when encoder returns zero payload length.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4805 74dad513-b988-da41-8d7b-12977e46ad98
Re #1750:
 - Replaced "enum CodecID" with "unsigned" (previous fix raised compile error for some older ffmpeg versions).
 - Handled PIX_FMT_GBR24P hassle.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4808 74dad513-b988-da41-8d7b-12977e46ad98
Re #1754: Minor update, replaced comment marks.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4809 74dad513-b988-da41-8d7b-12977e46ad98
Re #1758: Initial implementation of OpenH264 wrapper. Supports:
 - library detection via autoconf
 - CBP
 - packetization modes: 0, 1
 - key frame request and indication
 - obey remote's fmtp

Also added video codec test in samples (similar to the one in pjmedia test though).
And there are some fixes here and there too (e.g. in vid_codec_util.c).


git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4815 74dad513-b988-da41-8d7b-12977e46ad98
Closed #1760: added pjsip_tcp_transport_get_socket() API to get the raw socket handle from SIP TCP transport

git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4817 74dad513-b988-da41-8d7b-12977e46ad98
Misc re #1751: increase maximum ALSA devices from 16 to 32

git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4818 74dad513-b988-da41-8d7b-12977e46ad98
Fixed #1761: Remove "timer" from Supported header if it is disabled

git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4819 74dad513-b988-da41-8d7b-12977e46ad98
Fix #1759: Added check for call disconnection in ICE media transport creation.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4820 74dad513-b988-da41-8d7b-12977e46ad98
Closed #1757: iOS OpenGL renderer
* Optimize rendering speed and CPU usage by avoiding buffer copy from frame's buffer
* Add various video dev capabilities



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4821 74dad513-b988-da41-8d7b-12977e46ad98
Misc (re #1751): Fixed compile error 'Implicit declaration of function is invalid in C99' on Xcode 5.1.1.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4822 74dad513-b988-da41-8d7b-12977e46ad98
Misc (re #1751): Set media transport state back to NULL after media transport creation fails, and also remember the error code.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4823 74dad513-b988-da41-8d7b-12977e46ad98
Re #1762:
 - enumerate all capture devices
 - fast switch between capture devices
 - enhance simple renderer (a bit simpler, add capabilities)



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4824 74dad513-b988-da41-8d7b-12977e46ad98
Misc (re #1751): Fix crash when executing pattern matched shortcut on cli.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4825 74dad513-b988-da41-8d7b-12977e46ad98
Misc (re #1751): Fix crash when retrieving dynamic choice(video stream info) caused by the use of invalid array index.



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4826 74dad513-b988-da41-8d7b-12977e46ad98
More #1758: updated to the latest OpenH264 code

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