Commit Graph

2087 Commits

Author SHA1 Message Date
Nanang Izzuddin 30829f03a7
Update Android JNI audio dev to use 16bit PCM only (#3945) 2024-05-08 09:09:21 +07:00
sauwming 0d2ebdc7e3
Fixed incorrect SDP buffer length calculation (#3924) 2024-04-17 11:22:14 +08:00
sauwming 86b7dd48b5
Fixed DTLS clock stoppage race (#3905) 2024-04-01 10:52:31 +08:00
sauwming 51e52062e1
Fixed Metal renderer memory leak (#3909) 2024-03-29 10:05:02 +08:00
sauwming c0de1a4224
Prevent race condition in DTLS media stop (#3901) 2024-03-26 11:52:54 +08:00
Amilcar Ubiera ca4b078cc1
Fix warnings for 32-bit compiler and misc fixes. (#3896) 2024-03-25 11:28:36 +08:00
sauwming 9e6a63e42f
Modified DTLS cert signature algorithm used (#3876) 2024-03-05 12:46:57 +08:00
sauwming 2d6a9d4442
Check the availability of Metal device (#3871) 2024-02-27 12:54:00 +08:00
Akos Denke 7178ab01a8
Add extra logging for dummy resample imp (#3863) 2024-02-21 16:32:16 +08:00
Jannis Muething fc3b03c937
Secure random number generator for SRTP key when using PJ_SSL_SOCK_IMP_APPLE (#3860) 2024-02-15 11:25:16 +08:00
sauwming b3ea8a29ac
Add Metal renderer for Mac and iOS (#3841) 2024-01-29 09:28:10 +08:00
sauwming d762276861
Fixed deprecation warnings on Mac and iOS (#3837) 2024-01-22 16:26:23 +08:00
Nanang Izzuddin 8e9857a81e
Miscelaneous Coverity fixes (#3792)
* Fix CID: 1527652, 1524421, 1524414, 1524392
* Fixed UPnP data races
2024-01-02 11:53:57 +08:00
sauwming 033e4d7ae3
Fixed printf format warnings (#3813) 2023-12-27 10:32:32 +08:00
sauwming 043926a584
Fixed SDP media transport protocol info parsing (#3802) 2023-12-14 12:22:14 +08:00
sauwming 378e97ca10
Fixed deadlock between stream and ICE (#3801) 2023-12-14 12:15:58 +08:00
Florian Xaver f9ed97b87d
Fix transport loop (#3773)
Transport "loop" need set the `base.grp_lock`, as also shown in
`transport_adapter_sample.c` to have destroying of the loop transport
working.

Issue #3771
2023-11-24 09:08:35 +07:00
Brad Smith da91020a44
sdp.c: don't pass NULL pointer to log string format (#3757) 2023-11-03 19:15:07 +08:00
Nanang Izzuddin e4bcc71f59
Miscellaneous fix (#3750)
* Fix various compile warnings (on MSVC2005 and Android)

* A function declaration without a prototype is deprecated in all versions of C

* Fix build warning on VS2022

* Minor update on sample app pjsua2 for Android Kotlin: add param to avoid activity recreation in activity config changes, useful in maintaining video window sizes on orientation change.

---------

Co-authored-by: sauwming <ming@teluu.com>
Co-authored-by: Riza Sulistyo <trengginas@users.noreply.github.com>
2023-11-01 11:32:43 +07:00
sauwming 6aa5349efd
Fixed buffer overflow when using Video Toolbox (#3738) 2023-10-13 23:39:12 +08:00
sauwming 5c5b3281c0
Fixed issue when using setting to use AVPF and receive AVP (#3729) 2023-10-13 23:37:00 +08:00
sauwming 969bec9987
Fixed DTLS handshake issue when RTCP address changes (#3732) 2023-10-13 23:30:54 +08:00
Amilcar Ubiera f33ef2dba2
Added missing pj_thread_destroy for media event manager. (#3726) 2023-10-13 12:31:53 +08:00
sauwming eaf0f4516d
Changed DTLS transport to use recursive mutex, instead of a simple one (#3731) 2023-10-09 15:09:51 +08:00
Nanang Izzuddin 6dc9b8c181
Merge pull request from GHSA-f76w-fh7c-pc66
* Add group lock to media transport

* Also add group lock to SRTP-DTLS

* Put lock protection to avoid race condition between destroy() & dtls_on_recv()
2023-10-03 10:59:03 +08:00
Riza Sulistyo 2c1207c30b
Call pjmedia_srtp_deinit_lib() when srtp_init() fail (#3719) 2023-10-02 21:08:42 +07:00
Nanang Izzuddin b8fbdb2502
Fix build errors & warnings on MSVC2005 (#3722) 2023-10-02 09:00:56 +07:00
Nanang Izzuddin eff4826803
Docs: more fixes on sample/source links (#3675) 2023-09-06 09:56:26 +07:00
sauwming ee5879bda9
Fixed RTCP packet lost calculation (#3653) 2023-08-31 08:13:36 +08:00
sauwming 378d752e85
Fixed pjmedia wsola test failure (#3641) 2023-07-20 17:19:24 +08:00
Nanang Izzuddin ca7e2a3017
Bug in RTCP-FB NACK packet generation (#3608) 2023-07-05 10:43:41 +07:00
Riza Sulistyo 914ce755a6
Support OpenSSL3 with "no-deprecated" build option (#3603) 2023-07-05 11:39:01 +08:00
sauwming a0ac2478fc
Implement DTLS-SRTP for RTCP (#3571) 2023-07-05 11:37:44 +08:00
sauwming b6ce6c4ce7
Send RTCP even if the media stream is inactive (#3615) 2023-06-28 15:40:48 +08:00
Jaco Kroon 3ad3cdbf14
Fix wave port creation if the input wave file contains exactly one frame. (#3596) 2023-06-27 14:07:39 +08:00
sauwming 0e89bbe0e3
Update ipjsua swift sample app (#3342) 2023-06-16 10:43:24 +08:00
sauwming 0665c17f02
Fixed coverity warning and various warnings (#3578) 2023-05-25 17:47:25 +08:00
sauwming 87cd4afafb
Generate media event upon Oboe error (#3570) 2023-05-18 09:48:48 +08:00
Nanang Izzuddin 1af96abb89
Update SDP o= and t= lines to use 64 bit unsigned integer (#3565) 2023-05-17 11:53:31 +08:00
sauwming 7816d95093
Fixed incorrect RTCP stat calculation (#3557) 2023-05-17 07:14:39 +08:00
sauwming e8fa2237f2
Support for codec with non-integer ptime (#3555) 2023-05-16 13:13:10 +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 022ce68be9
Add telephone events if we maintain remote PT mapping (#3559) 2023-05-16 13:07:24 +08:00
sauwming de023c12fa
Add device id in audio device info (#3563) 2023-05-16 13:06:51 +08:00
jimying b4921bfcd9
Add close-on-exec flag (#3553) 2023-05-16 11:59:37 +08:00
Nanang Izzuddin 7c4035ba00
Fix frame copy for stereo mode in WebRTC-AEC2 (#3561) 2023-05-15 09:21:27 +08:00
jimying 512e62b6be
Fix minor error: ffmpeg_frame_unref() Missing return statement (#3554) 2023-05-10 10:30:51 +07:00
Riza Sulistyo ad14f860d0
Add option to maintain payload type to codec mapping to make sure one payload type is not used by different codec (#3468) 2023-05-08 14:26:08 +08:00
sauwming b11a48501a
Fixed WAV player when there is unknown chunk (#3521) 2023-05-08 13:41:10 +08:00
Sun Dro e210c69104
Fixed segmentation fault in pjmedia_vid_stream_destroy (#3546) 2023-05-03 10:35:13 +08:00