Commit Graph

5755 Commits

Author SHA1 Message Date
Riza Sulistyo 842b4ba27d Changed version to 2.11 2021-03-17 14:34:46 +07:00
Nanang Izzuddin 79531cbc05
More works on Trickle ICE (#2667)
- Improve trickling state management (fix no SIP INFO when initial INVITE responded immediately with 200, strayed SIP INFO after trickling is done, etc).
- Fix issues when rtcp-mux is enabled.
- Allow process incoming SIP INFO before receiving remote SDP.
- Use regular ICE on re-INVITE (with reinit media flag).
- Avoid calling pj_ice_strans_get_running_comp_cnt() for loop condition.
- Fix bug in pjnath-test: TURN server set wrong peer channel number.
- Added timer for end-of-candidate indication from remote & don't flag ice-mismatch if remote uses default address in trickle ICE
2021-03-17 13:00:01 +07:00
Alex Kalmuk b3e51c7a7d
Add embox rtos to supported targets in README.txt (#2643) 2021-03-17 10:07:33 +07:00
Nanang Izzuddin a6512caafa Merge branch 'master' of https://github.com/pjsip/pjproject 2021-03-17 09:22:41 +07:00
Nanang Izzuddin fd7fe4b519 Misc (re #2504): Suppress a compile warning on MSVC2005: unreferenced param 2021-03-17 09:22:25 +07:00
sauwming 1a3f8ad60d
Fixed race condition between media event callback and stopping video (#2666) 2021-03-12 16:42:56 +08:00
sauwming 3e68412e58 Apple SSL (re #2482): Remove compile warnings of unused variables 2021-03-10 19:04:40 +08:00
sauwming e56870f761 Apple SSL (re #2482): Fixed listener creation which already incorporates port in the parameters 2021-03-10 18:59:39 +08:00
sauwming 2d6dd96e5b Apple SSL (re #2482): Fixed possible incorrect scheduling of next receive if dispatch_data_apply() is called multiple times 2021-03-10 17:45:47 +08:00
Nanang Izzuddin dd2827fcfe Trickle ICE (re #2588):
- Disable assertion check when a check receives double completions.
- Remote candidate count check should not be in an assertion form.
- Don't stop ICE when updating checklist failed.
2021-03-10 15:07:11 +07:00
Nanang Izzuddin 5baab42295 Merge branch 'master' of https://github.com/pjsip/pjproject 2021-03-10 10:12:34 +07:00
Nanang Izzuddin 25c5eea417 Trickle ICE (re #2588):
- Fix premature end-of-candidate indication.
- Fix premature ICE session destroy in sending INFO (update remote with local candidates).
- Fix assertion when foundation list is full.
- Fix assertion when pruned check is completed/timed-out.
- Minor, missing 'static' for internal functions.
2021-03-10 10:05:45 +07:00
sauwming b48bae83bc Misc (re #2504): Add microphone usage permission for ipjsua swift app 2021-03-09 18:24:39 +08:00
sauwming ec78f808c5 Misc (re #2504): Fix runtime warning of UI API called on a background thread in ipjsua 2021-03-09 18:17:23 +08:00
sauwming 63981ce325 Misc (re #2504): Fix illegal threading exception in ipjsua app when running on device 2021-03-09 18:00:36 +08:00
Riza Sulistyo eeef964ad7 Re #2552: Fix "sf error code: -13" log due to double buffer release. 2021-03-09 14:00:41 +07:00
sauwming 90a7d70ae2
Fix secure transport checking (#2663) 2021-03-09 13:39:41 +08:00
Nanang Izzuddin 7f508cac14 Misc (re #2504): fix pjsua app, command cl only list max 4 conference ports 2021-03-09 11:12:34 +07:00
Riza Sulistyo 35e0fc44be Misc (re #2504): Add some files/folders generated by VS to git ignore list 2021-03-09 08:19:56 +07:00
Riza Sulistyo 74c34399d6 Misc (re #2504): Suppress some compile warning on VS Windows. 2021-03-09 07:32:36 +07:00
nanangizz ef87e6da8b Merge branch 'master' of https://github.com/pjsip/pjproject 2021-03-08 16:44:37 +07:00
nanangizz c1ebf338d7 Misc (#2504): Fix compile warnings in libyuv on Mac introduced by 681b1f34a9 (reverted, put the warning suppression in Makefile so libyuv app won't be affected) 2021-03-08 16:44:06 +07:00
sauwming 67e46c1ac4
Merge pull request from GHSA-8hcp-hm38-mfph
* Check hostname during TLS transport selection

* revision based on feedback

* remove the code in create_request that has been moved
2021-03-08 17:39:36 +08:00
Nanang Izzuddin 97b3d7addb
Merge pull request from GHSA-hvq6-f89p-frvp 2021-03-08 17:09:34 +08:00
sauwming eaf5622f6a Misc (re #2504): Remove optional libraries from ipjsua project 2021-03-08 16:53:58 +08:00
sauwming 6d0fd193c8 Update ipjsua project settings and disable use of deprecated API 2021-03-08 16:37:18 +08:00
nanangizz 681b1f34a9 Misc (re #2504): Suppress some compile warnings on Linux 2021-03-08 15:00:53 +07:00
sauwming 63d120f441 Misc (re #2504): Suppress compilation warning of unused function on Mac 2021-03-08 13:13:10 +08:00
sauwming daff4e7749
Increase SDP version when receiving re-INVITE without SDP (#2646) 2021-03-08 10:01:27 +08:00
Riza Sulistyo 940e3c0443
Support Android AMediaCodec (#2552)
* Implement android AMediaCodec AVC/VPX codec.

* - Change "anmed" to "and_media" prefix for clearity.
- Check if encoder/decoder exists before enabling codec.

* Fix bug on enum info.

* Add support to AMRNB and AMRWB audio codec.

* Modification based on comments.

* - move VPX packetizer from codec implementation.

* - Remove unwanted changes.
- Fix bug on vpx (VP9) packetize method.

* - New method to initialize vpx packetizer config.
- Don't use pt as codec id.

* add compiler option to prioritze using software or hardware codec.

* add documentation related to packetization mode for H264.

* fix some potential compile error.

* Specify video codec PT to support #2656.
2021-03-05 21:59:07 +07:00
Riza Sulistyo 433cf50b1c
Add option to disable auto re-registration. (#2652)
* Add option to disable auto re-registration.

* modification based on comments

* Change config name and add doc.
2021-03-05 14:42:21 +07:00
Riza Sulistyo d9055ede5c
Allow EC to be used when sound device is opened on speaker mode only (#2651)
* Add option to always use VPIO on coreaudio dev.

* Revert "Add option to always use VPIO on coreaudio dev."

This reverts commit 55d6da5b4b.

* Allow EC to be enabled when sound device is opened on speaker only mode.

* Modify assertion to allow ec to be set on playback only mode.
2021-03-04 16:08:52 +07: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 ef10512043
Fix PCMU/A support in AVI player (#2618) 2021-03-03 15:29:33 +07:00
Nanang Izzuddin d331da47c8
Update pjsip-simple RPID (#2639)
- Allow <note> element in <tuple> set in pjsip_pres_status.info[0].rpid.note without having RPID element in presence message body.
- Fix wrong parent node for finding note element in get_tuple_note().
- Update docs: fix typo, etc.
2021-03-03 15:27:57 +07:00
Nanang Izzuddin 415ada6a61
Fix SIP session timer not retry refreshing after a re-INVITE refresh responded with 503 (#2657) 2021-03-03 15:08:40 +07:00
sauwming 6470fb9e4b
Fixed race condition in regc_send() (#2653) 2021-02-24 17:03:29 +08:00
sauwming 0438a4762c
Modify pjsua maximum calls setting (#2654) 2021-02-24 17:02:58 +08:00
Riza Sulistyo e70c4887d0
Remove ioqueue key from set when calling pj_ioqueue_post_completion() (#2633)
* Remove ioqueue key from set when calling pj_ioqueue_post_completion().

* Clear connecting operation.
2021-02-23 12:07:51 +07:00
sauwming 0c78b9e8c8
Add compile time option to disable auto sending of 100 response (#2642) 2021-02-22 13:58:19 +08:00
Nanang Izzuddin 28d858ca91
Add simple Kotlin app (#2648) 2021-02-22 10:44:09 +07:00
weissinet 632fe2e8cf
Use CoreAudio for Mac for macCatalyst (#2635) 2021-02-19 14:14:53 +08:00
sauwming 9c778a700a
Fixed race condition between stopping video stream and format change event (#2645) 2021-02-18 13:15:49 +08:00
Nanang Izzuddin aadc643a01
Fixed assertion in media update of session refresh after previous SDP offer has been rejected (#2627) 2021-02-15 10:18:02 +07:00
Riza Sulistyo e1b82fc25d
Update RTP timestamp on inactive/paused video stream (#2640) 2021-02-15 10:05:29 +07:00
Nanang Izzuddin 73553fbd02
Use UTC time in PJSIP presence PIDF timestamp (#2638) 2021-02-15 09:04:06 +07:00
sauwming 64cb72a581
iOS Swift sample app (#2636) 2021-02-11 10:57:01 +08:00
Nanang Izzuddin 8744597ca4
Update ccpp.yml: use Python 2.7 for pjsua tests
Looks like the default version of Python in Ubuntu has just been changed to 3.x. Currently pjsua tests can only run on Python 2.x.
2021-02-09 19:35:12 +07:00
Riza Sulistyo 6e62517a4e
Use SRTP attribute specified on SDP when starting SRTP-SDES transport (#2609)
* - use SRTP attribute specified on SDP when starting SRTP-SDES transport.

* Check for only key changes on SDP and compare it to the SRTP settings.

* check and change the crypto key on sdes_media_start().

* Move check for the answerer side to the original place.
2021-02-03 12:59:48 +07:00
Alex Kalmuk 974cb47351
Add --disable-pjsua2 option for targets which lacks C++ (#2630) 2021-01-28 10:45:32 +08:00