Commit Graph

6343 Commits

Author SHA1 Message Date
Riza Sulistyo 7f25d6fad2 Add the implementation files and pjsua2 modification 2023-08-22 15:09:29 +07:00
Riza Sulistyo 3a1926c532 Modification based on comments 2023-08-22 10:16:01 +07:00
Riza Sulistyo 4a73b37f43 Add the option to runtime configuration 2023-08-21 18:31:58 +07:00
Riza Sulistyo 38da0807cd Add option to enable SSL_OP_NO_RENEGOTIATION on OpenSSL 2023-08-17 21:38:48 +07:00
sauwming 828d8d1907
Avoid race condition in SSL's on_handshake_complete() (#3448) 2023-08-08 09:19:30 +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
Nanang Izzuddin 63b2f9ba41
Possible infinite loop in iOS replace socket (#3650) 2023-08-03 10:26:19 +07:00
sauwming 82d3fcff54
Fixed potentially duplicate RTCP FB attribute on response (#3643) 2023-07-21 16:42:28 +08:00
sauwming 378d752e85
Fixed pjmedia wsola test failure (#3641) 2023-07-20 17:19:24 +08:00
Nanang Izzuddin 5969541128
Add API to limit retransmission count for outgoing requests in transaction layer (#3631) 2023-07-20 09:31:29 +07:00
Mike Bradeen d2c0c3daf3
Split logging to keep Warning regarding dropped packet at level 2 while moving the packet contents to 4 (#3476) (#3636) 2023-07-20 10:23:33 +08:00
Matthew Fredrickson 1a324c632b
If we don't clear the thread local error queue prior to calling SSL functions, sometimes other connections leave stale errors which will be returned and falsely attributed to the current SSL connection when calling SSL_get_error() (#3633) 2023-07-17 14:44:57 +08:00
Shubham Fuloria 10d1cd9b75
redeclared variable error fixed (#3629) 2023-07-17 08:50:10 +08:00
Nanang Izzuddin 54bce14d2d
Fix compile errors on old compilers (C90 prohibits variable decl in mid block, C++98 does not have Vector::data(), MSVC2005 project misses some new SRTP files) (#3625) 2023-07-11 13:07:37 +07:00
Nanang Izzuddin cea2a90c1f
Update transport config docs regarding QoS settings for TLS (#3624) 2023-07-10 14:08:13 +07:00
sauwming bb09b94889
Transaction state not propagated properly to on_call_tsx_state() cb (#3614) 2023-07-07 10:01:46 +08:00
Riza Sulistyo 21f40c8625
Support Python3 for github CI (#3612)
* Support Python3 for github CI

* Fix runtime error due to changes in telnetlib for python3

This will also remove support for python2

* Fix runtime error due to changes in socket lib

* Fix runtime error

* Fix error

* Replace imp to importlib to fix warning

* Fix some error

- On windows, error EACCESS when binding/opening socket
- Fix UnicodeEncodeError/UnicodeDecodeError
2023-07-06 15:38:04 +07:00
Riza Sulistyo c5d7e438cb
Only validate public address when IP address is supplied on TCP/TLS (#3599)
* Only validate public address when IP address is supplied on TCP/TLS

* Add doc
2023-07-05 11:16:06 +07:00
Nanang Izzuddin 617428685d
Update the QoS DSCP map to follow RFC4594 guidelines (#3610) 2023-07-05 10:44:07 +07: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
Riza Sulistyo 8e69c977c7
Don't call SSL_shutdown() when receiving SSL_ERROR_SYSCALL or SSL_ERROR_SSL (#3577) 2023-07-05 11:38:21 +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 db78bc0c46
Check the return status of pj_getaddrinfo() when creating contact (#3601) 2023-06-27 14:07:04 +08:00
sauwming c600708a3b
Make evsub expiry duration consistent (#3602) 2023-06-20 10:38:02 +08:00
sauwming a5023f7fdd
Use configured bound or public address for outgoing UDP SIP messages (#3595) 2023-06-19 09:38:13 +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
Riza Sulistyo 935453830e
Check STUN tdata before sending the message (#3594)
* Check STUN tdata before sending the message

* Modification based on comment

- Add and check is_destroying to pj_stun_client_tsx

* Combine check
2023-06-15 18:40:14 +07:00
sauwming 48800cbfbb
Add option for dual stack IPv4&IPv6 account config (#3590) 2023-06-09 13:59:35 +08:00
Matthew Fredrickson de317c6383
Locking fix so that SSL_shutdown and SSL_write are not called at same time (#3583) 2023-05-30 17:33:05 +08:00
sauwming 0665c17f02
Fixed coverity warning and various warnings (#3578) 2023-05-25 17:47:25 +08:00
sauwming c5b847a988
Add PJSUA2 interface to get and put audio frames (#3569) 2023-05-23 13:20:21 +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 537958d0a7
activesock: check remaining buffer size to avoid buffer overflow (#3560) 2023-05-16 13:04:50 +08:00
sauwming 64eefdfd7b
Fixed assertion when starting video preview (#3567) 2023-05-16 13:04:27 +08:00
sauwming 78fc800239
Fixed PJSIP Developer's Guide link in sip_module doc (#3566) 2023-05-16 13:04:08 +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
Nanang Izzuddin ee37fc467b
Add local addr info in SSL handshake failure log (#3558) 2023-05-15 09:21:05 +08:00
Nanang Izzuddin d03000ac2d
Handle bad NAT type info in SDP (#3552) 2023-05-15 09:20:36 +08:00