summaryrefslogtreecommitdiff
path: root/pjmedia/src/pjmedia-videodev
AgeCommit message (Collapse)Author
2016-05-17Re #1920: Fix typo on configuration script when trying to detect FFMpegRiza Sulistyo
package (libavdevice). Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5303 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-17Re #1920: Since FFmpeg version 0.7 (June 2011), the struct AVFormatParameters,Riza Sulistyo
the function av_open_input_stream, and function av_close_input_stream are deprecated. With FFmpeg 0.11, those three symbols were removed. Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5302 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-10Fixed #1907: Remove pjmedia* circular dependencyLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5255 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21Fixed #1880: Incorrect orientation after switching video capture or when ↵Liong Sauw Ming
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: http://svn.pjsip.org/repos/pjproject/trunk@5166 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-10Misc (re #1843): Fixed compile warnings of unused variable.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5157 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-30Fixed #1861: Add support for video capture orientation on AndroidLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5138 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-03Re #1861: Changed pjsua API for setting the orientation using a more generic ↵Liong Sauw Ming
API, pjsua_vid_dev_set_setting() instead git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5125 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-25Re #1861: Initial implementation of video orientation supportLiong Sauw Ming
- Utility to resize and rotate video frame - Support for iOS + sample - pjsua API to set video device's orientation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5118 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-08Re #1837: Fix dispatch queue problem in iOS capture device (crash in ↵Liong Sauw Ming
enc_clock_cb) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5054 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-08Re #1835: More robust handling of format change, to prevent data race if ↵Liong Sauw Ming
clock is still running. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5052 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-08Fixed #1837: Fix premature dispatch queue release in iOS capture deviceLiong Sauw Ming
Also add more logs, error checking, and modify the auto release of video output delegate git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5051 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-07Close #1836: Added colorbar device with active role.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5050 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-07Fixed #1835: Fixed crash in iOS OpenGL renderer when in background and ↵Liong Sauw Ming
assertion during destruction git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5047 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-26Fixed #1790: Remove unsupported capabilities and some cleanupLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5028 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-23Re #1822: Fixed SVN properties on Android camera helper.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5019 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-23Re #1822: Moved Android camera helper (PjCamera.java and PjCameraInfo.java) ↵Nanang Izzuddin
from sample app to pjmedia-video dev dir. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5018 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22Re #1790: Misc fixes:Liong Sauw Ming
* Fixed crash when trying to set NULL surface * Fixed race condition between setting surface and rendering * Fixed crash due to GC of VideoWindow git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5016 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22Re #1790: Nanang Izzuddin
- Removed android_opengl_get_surface() for renderer view setup, Java application can directly supply Surface object as renderer window. - Added renderer view on pjsua CLI app sample. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5014 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-21Re #1790: Reinitialize Android OpenGL renderer when there is format change.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5007 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-19Re #1822: Fixed unreleased memory pool of Android capture device stream.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5003 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-19Re #1826: Add enum video format supported in iOSRiza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5002 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-19Re #1826: Add enum video format supported in linux (v4l2)Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5001 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-19Fixed #1824: Convert global index to local index for fast-switching feature ↵Nanang Izzuddin
of video capture device. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4998 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-17Re #1822: Initial implementation of Android video capturer.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4994 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-27Re #1790: more Android OpenGL rendererLiong Sauw Ming
* Fix RGBA color compatibility * Add autodetection feature to stop rendering for consecutive failures, such as when app is in the bg * Allow video stream to be created first and supply the output window later git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4978 74dad513-b988-da41-8d7b-12977e46ad98
2014-11-19Re #1782 (misc): Fixed crash when failing to create filter graph on dshow.Riza Sulistyo
Thanks to Alexander Fatyanov for the report. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4962 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-17Misc (re #1782): Fixed initialize Dshow failed when the COM library already ↵Riza Sulistyo
initialized. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4951 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-24Re #1790: Initial basic implementation of Android OpenGL rendererLiong Sauw Ming
To use it, app has to specify PJMEDIA_HAS_VIDEO to 1 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4928 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-22Re #1790: Use OpenGL textures instead of platform dependent textures.Liong Sauw Ming
This revision contains: * remove the generation of iOS texture (instead directly use OpenGL textures) * add iOS and Android window type git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4925 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-15Fixed #1787: Failure of DShow device to open a certain resolutionLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4922 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-09Misc (re #1782): Fixed compile error of ios_opengl_dev.m on iOS 8 SDK due to ↵Nanang Izzuddin
missing OpenGLES headers (thanks Brian Walker for the report and the fix). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4917 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-01Re #1762: When capturing, image stride is not always equal to the image ↵Riza Sulistyo
width. I.e on Ipad air, at 352*288 the image stride is 384. Additional discard process is needed to correct the image rendered. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4909 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-26Re #1757: Set OpenGL as default renderer on iOS (initialized before UIView ↵Nanang Izzuddin
renderer). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4908 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-25Re #1762: Change alloc method for preview layer that may cause crash when ↵Riza Sulistyo
releasing the object on iOS 7 (arm64). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4902 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-19Re #1762: Related to r4838, check whether the device supports the capture ↵Liong Sauw Ming
size before deciding to use it git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4891 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-30Re #1762: Fixed native preview cannot be stopped.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4853 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-07Re #1762: Support more capture sizes (was only 352x288) and automatically ↵Nanang Izzuddin
find the closest supported size from the requested size. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4838 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-07Re #1762: Fix native preview not shown issue by starting capture session ↵Nanang Izzuddin
from main thread. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4837 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-06Re #1762: Add I420/IYUV output format to capture devices.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4836 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-05Re #1757: Avoid calling OpenGL ES functions when in the background (which ↵Liong Sauw Ming
may cause app to be killed by iOS) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4835 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-05Re #1762: Add capability enumerations and native preview capabilityLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4834 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-24Re #1762:Nanang Izzuddin
- 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
2014-04-22Closed #1757: iOS OpenGL rendererLiong Sauw Ming
* 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
2014-04-08Re #1757: Initial implementation of iOS OpenGL ES renderer. To use it, ↵Liong Sauw Ming
application needs to add: #define PJMEDIA_VIDEO_DEV_HAS_OPENGL 1 #define PJMEDIA_VIDEO_DEV_HAS_OPENGL_ES 1 #define PJMEDIA_VIDEO_DEV_HAS_IOS_OPENGL 1 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4812 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-06Misc (re #1630): another fixes for gcc warnings about variable set but unusedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4736 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-29Close #1729: Added check of PJMEDIA_HAS_VIDEO (instead of just specific ↵Nanang Izzuddin
backend check) in video device wrappers. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4722 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08Re #1703: fixing general bugs. First installment: correct handling of ↵Benny Prijono
snprintf return value git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4613 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19Re #1680: Add initial support for Win64Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-13Fixed #1676: fixed assertion when SDL initialization fails on library startup.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4535 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-16Misc re #1630: added more error logging to SDL, to print SDL error message ↵Benny Prijono
when an operation fails git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4520 74dad513-b988-da41-8d7b-12977e46ad98