Commit Graph

23 Commits

Author SHA1 Message Date
sauwming 033e4d7ae3
Fixed printf format warnings (#3813) 2023-12-27 10:32:32 +08:00
sauwming e8f58dd6d6
Add ability in stream to modify video codec bitrate on the fly (#3556) 2023-05-16 13:12:53 +08:00
sauwming ecddafbb1d Fixed warnings (3) 2023-02-28 12:50:51 +08:00
Riza Sulistyo 5ac9104514
Expand tab to spaces and remove $Id$ (#3292) 2022-11-22 16:26:54 +07:00
sauwming 6f197385c7
Miscellaneous fixes (#2969)
* Suppressed various compilation warnings
* Fixed CodeQL warning
* Fixed build warning on Android and Linux
* Fix build warning on Visual Studio
* Update target Android SDK version to 29 (for pjsua2 & app), to avoid gradle error: 'Google Play requires that apps target API level 29 or higher'.
* Add support for Camera2 API to ipjsua android app.
* Fix assertion on Win32 app (MSVC2005) because ICE transport info size is 160 bytes while the allocated buffer is just 144 bytes.
* Enable python unit test on windows for github actions.
* Avoid assertion in pjsua test caused by double calling of pjsua_conf_remove_port()
2022-02-24 14:46:01 +07:00
Riza Sulistyo 0ac02c2c8d
Prevent memory leak on OpenH264 due to multiple decoder allocation (#2987) 2022-02-22 11:41:07 +08:00
sauwming b1e2983f36
Add minimum interval for keyframe missing events in Openh264 (#2786) 2021-08-09 11:25:15 +08:00
Riza Sulistyo 9fdcbd5cc6
Differentiate video codec ID by assigning each codec backend a specific PT number (#2656)
* Differentiate video codec ID by assigning each codec backend a specific PT.

* Add usage comment.
2021-03-03 21:16:24 +07:00
Nanang Izzuddin d36ed48d91
Also generate keyframe missing event in NAL decoding error (was only in frame decoding error). (#2492) 2020-07-27 11:34:26 +07:00
Nanang Izzuddin 95c09007dc Misc (re #2210): Fixed various compile warnings on MSVC2005.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6157 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-05 03:05:30 +00:00
Riza Sulistyo 948bbed19e Close #2250: Enable OpenH264 native log.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6101 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-06 08:10:42 +00:00
Nanang Izzuddin 8c76e17145 Close #2171:
- Apply returned frame quality filter in OpenH264 decoder (drop the frame if decoder returns dsRefLost dsNoParamSets, dsDepLayerLost).
 - Only publish keyframe missing event when decoder returns non-dsErrorFree (was always publishing the event when no frame is returned, while decoder may return dsErrorFree and no frame returned, e.g: when decoding parameter sets).
 - Added a bit more logs for debugging.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5925 74dad513-b988-da41-8d7b-12977e46ad98
2018-12-17 03:46:35 +00:00
Nanang Izzuddin e81b938dbe Misc (re #1945): Fixed warning in OpenH264 encoder "ParamValidationExt(), slice mode = SM_SIZELIMITED_SLICE..." (thanks Carlos Dom for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5440 74dad513-b988-da41-8d7b-12977e46ad98
2016-09-27 03:12:13 +00:00
Sauw Ming 2fc4124143 Fixed #1947: Support for OpenH264 v1.6.0 codec
Thanks to Marc Etcheverry for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5405 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-03 07:08:07 +00:00
Nanang Izzuddin 663d8e0dea Misc (re #1782): Fixed various compile warnings on MSVC.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5045 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-06 06:13:51 +00:00
Nanang Izzuddin b4225a2b48 Misc (re #1782): Update default OpenH264 video size for Android platforms to 352x288.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5015 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22 09:07:37 +00:00
Nanang Izzuddin 75e3d10632 Re #1758: update default OpenH264 video size for iPhone device to 352x288 (on 4S, 720x480 seems to be too heavy for the CPU).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4904 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-25 09:53:26 +00:00
Benny Prijono bf9dd9e5f5 Closed #1758: use OpenH264 lib version 1.0.0 release instead of the latest git version which is still changing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4873 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-11 04:20:08 +00:00
Benny Prijono 9d091816ef Re #1758: updated with the latest OpenH264 to fix compilation error with bsi->eOutuptFrameType and missing int32_t type on Windows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4867 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-02 17:55:45 +00:00
Nanang Izzuddin 0ff9141463 Re #1758: updated wrapper with Visual Studio specific settings, also added the wrapper to VS project.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4864 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-26 08:32:48 +00:00
Benny Prijono 7d92b81b2f Re #1758: Updated with the latest OpenH264 to fix compilation error and codec initialization error for packing mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4863 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-23 06:21:21 +00:00
Benny Prijono c598da33ba More #1758: updated to the latest OpenH264 code
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4827 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-25 07:52:27 +00:00
Benny Prijono b3034d498f 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: https://svn.pjsip.org/repos/pjproject/trunk@4815 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-10 10:01:07 +00:00