Commit Graph

1269 Commits

Author SHA1 Message Date
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
Nanang Izzuddin b8fbdb2502
Fix build errors & warnings on MSVC2005 (#3722) 2023-10-02 09:00:56 +07:00
JRazek 01d37bf15a
update rust bindgen 0.60.1 -> 0.66.1 (#3679) 2023-09-18 15:25:54 +08:00
sauwming 431ddc71ed
Add video to iOS swift pjsua2 sample app (#3381) 2023-09-18 10:57:28 +08:00
Nanang Izzuddin ad152c2f42
Update video handling in Android PJSUA2/SWIG sample apps (#3673) 2023-09-12 11:49:51 +07:00
Jad K. Haddad e17b92b973
Fix invalid pointers #3670 (#3672) 2023-08-31 17:07:02 +08:00
Evgeniy c3575d05d2
Set default values in tonegen sample (#3651) 2023-08-04 11:02:07 +07:00
Shubham Fuloria 8f1e366560
Resolved: VidGUI Sample Application Linking Error (#3637) 2023-08-03 17:35:57 +07:00
Shubham Fuloria 10d1cd9b75
redeclared variable error fixed (#3629) 2023-07-17 08:50:10 +08:00
Riza Sulistyo 2c56bdceaf
Xamarin samples for Android and iOS (#3584) 2023-06-16 10:44:15 +08:00
sauwming 0e89bbe0e3
Update ipjsua swift sample app (#3342) 2023-06-16 10:43:24 +08:00
sauwming 48800cbfbb
Add option for dual stack IPv4&IPv6 account config (#3590) 2023-06-09 13:59:35 +08:00
sauwming c5b847a988
Add PJSUA2 interface to get and put audio frames (#3569) 2023-05-23 13:20:21 +08:00
sauwming f1926cc1a6
Fixed option to execute command to all buddies in pjsua sample app (#3535) 2023-05-08 13:41:37 +08:00
sauwming 382b0a63f1
Fixed buffer overflow in pjsua app cli (#3488) 2023-04-06 12:18:28 +08:00
jimying a4c9dc0c9b
Fix scan-build reports (#3471) 2023-04-06 10:26:10 +08:00
Riza Sulistyo da4a3af83b
Fix ipjsystest build error (#3467) 2023-04-04 18:16:51 +08:00
bennylp 7a058dee81 Replace unsafe string functions such as sprintf, strcpy with the safer counterparts e.g. snprintf, strxcpy 2023-03-27 18:48:25 +07:00
bennylp 6f8b87c562 Merge branch 'coverity01' of https://github.com/pjsip/pjproject into coverity01 2023-03-24 11:11:27 +07:00
bennylp 5ed9461bbe Replace unsafe string functions such as strcpy, strncpy, strcat, and sprintf with newly implemented pj_ansi_strxcpy, pj_ansi_strxcpy2, and pj_ansi_strxcat 2023-03-24 11:11:20 +07:00
sauwming 1af53dd4ae Fixed more warnings 2023-03-23 19:05:43 +08:00
bennylp 398fabd77f Fixed printf style format warnings 2023-03-22 08:45:23 +07:00
sauwming eaa8c37872 Fixed build failure due to printf format security error 2023-03-21 13:55:08 +08:00
bennylp f94ec926da Fix coverity scan warnings 2023-03-17 16:24:38 +07:00
bennylp ce8508ab51 Fixed coverity scan warnings 2023-03-16 16:51:42 +07:00
sauwming 528afc8cea Merge branch 'master' into coverity01 2023-03-14 21:08:58 +08:00
jimying 8c41a770fe
Use PJ_ARRAY_SIZE() replace sizeof()/sizeof() (#3439) 2023-03-14 18:33:54 +08:00
sauwming 874ca0dfd6
Fixed pjsua app cli redirection answer (3xx) (#3437) 2023-03-14 10:59:00 +08:00
sauwming 4680c7add7 Merge master 2023-03-14 10:24:59 +08:00
jimying b4184bb56d
Fix build with CFLAGS -Wextra warning reports (#3428) 2023-03-14 09:56:18 +08:00
Jad K. Haddad a2ceae2652
Rust bindings for pjsua (#3275) 2023-03-13 09:05:20 +08:00
Kexin Li ea5452e85d
[Fix #3385 Assertion error] return status for proper status checking afterwards (#3389) 2023-03-13 09:04:39 +08:00
sauwming 433ddab27a
Fixed native iOS preview issue (#3350) 2023-02-22 13:04:26 +08:00
bennylp 74c07aa476 Merge branch 'coverity01' of https://github.com/pjsip/pjproject into coverity01 2023-02-21 18:25:09 +07:00
bennylp b97614d1bc Drop pj_ansi_safe_strncpy() in favor of safe pj_ansi_strncpy(), fix incorrect use of pj_ansi_safe_strncpy() 2023-02-21 18:25:04 +07:00
sauwming 6dc42dfcd4 Fixed more warnings 2023-02-21 15:06:23 +08:00
sauwming 221673dc39 Fixed several warnings (combined) 2023-02-20 14:55:06 +08:00
bennylp 5fe4bc1972 Fix usages of strncpy(), pj_ansi_strncpy(), and strncat() by replacing them with pj_ansi_safe_strncpy() and pj_ansi_safe_strcpycat() 2023-02-18 12:51:49 +07:00
Nanang Izzuddin cba612aa98
Fix SDP m= line parser, verify port & port count are numeric (#3382)
* Fix SDP m= line parser, verify port & port count are numeric & add overflow check.
* Change SDP media parser to parse media type as token (was until space).
* Handle the case of missing c= line (allowed when port is zero) in sipecho.
* Check & update pj_strtoul() usages in SDP
* Add the problematic SDP to fuzzing seed corpus.
2023-02-15 16:39:56 +07:00
Nanang Izzuddin 98adc154db
Fix assertion in sipecho sample due to sending response statelessly on a stateful transaction (#3383)
Update pjsip_endpt_respond_stateless() to accept a terminated tsx, and update sipecho to use it.
2023-02-14 15:38:49 +07:00
Riza Sulistyo 5d693f87dc
Fix error when adding buddy (#3371) 2023-02-07 17:41:02 +07:00
Kexin Li 8319a6d12b
[Issue 3367 fix] Sipecho updates pj status properly when responding to invalid incoming message with status 400 (#3369) 2023-02-07 17:38:00 +07:00
sauwming 99b1dd8ea9
Fixed crash if jb max size equals frame ptime (#3351) 2023-02-03 16:26:37 +08:00
sauwming 4095686a52
Update account config's contact_rewrite doc (#3356) 2023-02-03 16:24:52 +08:00
sauwming ada03e93cc
Fixed cli_get_info() definition (#3355) 2023-02-03 16:23:08 +08:00
Florian b75e803e2e
build python wheels via makefile (#3225) 2023-01-31 13:59:50 +08:00
jimying 3b6cd7454d
streamutil: support opus custom settings (payload type, clockrate, channel) (#3300) 2023-01-30 10:11:05 +08:00
Riza Sulistyo 5ac9104514
Expand tab to spaces and remove $Id$ (#3292) 2022-11-22 16:26:54 +07:00
Nanang Izzuddin 3bf821c1af
Fix IP change returning false error (PJSIP_ESESSIONTERMINATED) when there is no call (#3285) 2022-11-07 09:48:14 +07:00
sauwming 85cb6660fa Misc (re #3087): Suppress deprecation warning in iOS pjsua sample app 2022-11-01 12:15:29 +08:00