Michael Scheiffler
bef8339e31
Conf functions to disconnect all sinks/sources ( #2585 )
2020-11-24 11:27:57 +08:00
Nanang Izzuddin
0d911f82d0
Fix bug in video stream when incoming RTP packet timestamp rolls over. ( #2584 )
2020-11-20 10:51:30 +07:00
Michael Scheiffler
2701e5eab6
Reordered write_port() in conferencer to avoid writing to a disabled port ( #2583 )
2020-11-19 10:35:19 +07:00
Nanang Izzuddin
b39dd1587d
Fix click noise in libsamplerate ( #2565 )
2020-11-18 16:55:44 +07:00
Michael Scheiffler
60b1e09cd0
Added underlying buffer configurability for splitcomb ( #2570 )
2020-11-18 16:53:01 +07:00
Michael Scheiffler
540ab3bce6
Added function pjmedia_tonegen_stop_loop() ( #2571 )
2020-11-06 11:19:51 +08:00
Michael Scheiffler
d8f0ed8f84
Fixed memory corruption on unsupported ALSA channel count ( #2569 )
2020-11-03 08:54:38 +08:00
sauwming
f72eba9afb
Remove multiplication by channel count in calculating ALSA buffer size ( #2556 )
2020-10-22 10:12:05 +08:00
sauwming
d85f227ff9
ALSA dev incorrectly sets the number of samples per frame ( #2549 )
...
* Revert the commit in issue #2223
* Make sure buffer size setting is sufficient
2020-10-15 14:36:13 +08:00
Riza Sulistyo
efbe7164e9
Option to send keep alive periodically when stream is started for NAT hole punching ( #2518 )
...
* send keep alive when stream is started.
* modification based on comments.
* Add documentation.
* Modification based on comments.
* Grouped configuration.
2020-10-12 14:37:30 +07:00
Riza Sulistyo
6d18fee00a
Modification based on comments.
2020-10-08 11:58:18 +07:00
Riza Sulistyo
af76445eb6
Fix check error and modify doc.
2020-10-02 21:01:03 +07:00
Riza Sulistyo
510716631e
Add option to disable ice mismatch check.
2020-10-02 14:18:51 +07:00
Nanang Izzuddin
db4f8f23b9
Fixed bugs: ( #2531 )
...
- Maintain roll over counter in SRTP restart.
- Only reinit probation when SRTP is really restarted, was every srtp_start() (in PJSUA, media_start()/srtp_start() is called every after SDP nego, while SRTP may not be restarted, e.g: when SRTP policy/keys are not changing).
2020-09-29 09:57:01 +07:00
sauwming
e2d8ee0f49
Suppress CodeQL warnings ( #2530 )
...
Also exclude some third party libs and python source
2020-09-23 18:45:59 +08:00
sauwming
806c8b490e
Initialize vid conf's buffer with black color ( #2510 )
2020-09-15 09:58:14 +08:00
Max Truxa
5925c42ea3
Pass JB discard algorithm along other JB settings ( #2506 )
2020-08-14 10:35:11 +08: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
sauwming
f5b48f82be
Clone local offer SDP in process_answer() to prevent modification ( #2476 )
2020-07-20 11:38:36 +08:00
andreas-wehrmann
973bb671a1
PJ adjustable pool sizes ( #2395 )
...
Make several pool sizes settable via compile time macro settings. This can be used to deal with memory fragmentation issues in long running applications that encounter temporary high loads.
2020-07-15 11:46:59 +07:00
Max Truxa
5f14950cb5
Add callbacks to receive RTP DTMF events ( #2447 )
2020-06-26 16:06:21 +08:00
Riza Sulistyo
f45f2d435a
Allow demote SRTP call to RTP when using re-INVITE with PJSUA_CALL_REINIT_MEDIA ( #2451 )
...
* - Allow demote SRTP call to RTP when using re-INVITE with
PJSUA_CALL_REINIT_MEDIA
- DTLS renegotiation when receiving re-INVITE with modified media
transport address
* Revert DTLS_DEBUG to 0.
* modification based on comments.
* modified comment.
2020-06-10 10:42:53 +07:00
Nanang Izzuddin
70defb8f2d
Add macro setting PJMEDIA_TELEPHONE_EVENT_ALL_CLOCKRATES (see also #2088 ), to allow app uses old behavior (before #2088 ) by setting it to 0. ( #2427 )
2020-06-05 15:36:46 +07:00
half-left
c6623af698
Fix bug: level is not removed form src_port->listener_adj_level in ( #2439 )
2020-05-21 11:22:38 +08:00
Nanang Izzuddin
30c1b64aba
Fix click noise in memplayer in loop mode ( #2431 )
2020-05-14 11:15:28 +07:00
Riza Sulistyo
972daab036
Fix compile error when enabling PJMEDIA_STREAM_ENABLE_KA. ( #2420 )
2020-05-07 22:44:41 +07:00
Nanang Izzuddin
fc1aa6b115
Fix short noise at the beginning of call when audio device started later than stream. ( #2422 )
2020-05-06 10:28:28 +07:00
Nanang Izzuddin
94ecbcb07e
Update video stream to publish format change event asynchronously ( #2421 )
2020-05-06 10:25:35 +07:00
sauwming
95c29aa1d2
Avoid undefinition of standard macros s_addr and s6_addr ( #2423 )
2020-05-06 09:38:26 +08:00
Max Truxa
97a3b349cf
Populate info format field in pjmedia_conf_get_port_info() ( #2388 )
2020-05-01 17:38:54 +08:00
sauwming
798009da75
Fixed failed pjmedia test for multiple tel-event ( #2412 )
...
Revert #2375 and use a different approach to fix the assertion.
2020-04-30 12:45:35 +08:00
Nanang Izzuddin
b23633707c
More CI works ( #2376 )
...
* pjsua-test:
- Update pjsua-test module call: wait ICE update before checking media
- Attempt to fix all failed tests by sipp module: changed SIPp port from 6000 to 50070 (port used by recvfrom module)
- Update call module: confirm codec priority after change, fix DTLS-SRTP expect may race with state CONFIRMED
- Add timeout check in telnet-ing to pjsua
- ICE nego may race with call state CONFIRMED, so mod call better just sleep instead of expecting 'ICE nego success'.
* Other unit tests:
- Print stack trace on crash on Linux and DarwinOS via SIGSEGV signal handler.
- Update resolver test: print log on callback error, replace assertion checks with error return, fix comments, sleep periods, fix received packet count may be > 1 if server ignore the request (for example when the test machine experiencing high CPU load).
- Update ccpp.yml: add -g for jobs with unit-tests.
- More lenient on tsx retransmission count check in pjsip-test.
- Update tsx_uac/s_test.c: allow retransmission timing diff from 150 to 500ms to accommodate possible CPU spike on some test machines.
2020-04-30 11:25:19 +07:00
sauwming
558922fc3f
Suppressed various compilation warnings ( #2410 )
...
Such as:
- conversion from string literal to 'char *' warning
- format-truncation warning
Co-authored-by: nanangizz <nanang@teluu.com>
2020-04-29 15:11:26 +08:00
Nanang Izzuddin
8cd15e8073
Increment outgoing RTP timestamp on inactive or receive only stream ( #2340 )
2020-04-29 10:55:14 +07:00
sauwming
b8eea5d015
Fixed assertion for offer with multiple telephone events ( #2375 )
2020-04-13 13:18:45 +08:00
Nanang Izzuddin
5f689f5d23
Add option to exclude benchmark tests in unit tests ( #2321 )
...
* Add option to exclude benchmark tests in unit tests
* Loosen up resolver round-robin testcondition (percent difference allowance from 5% to 10%, the test result variance relies heavily on OS random number distribution).
2020-03-19 14:46:22 +07:00
sauwming
98f70c210f
Add more CI tests on Ubuntu and Mac ( #2329 )
2020-03-10 16:45:54 +08:00
Nanang Izzuddin
c3456980ba
Add option to exclude benchmark tests in unit tests
2020-03-03 09:53:07 +07:00
Saúl Ibarra Corretgé
c5fdece84a
v4l2: add support for YUV420 ( #2310 )
2020-02-28 11:41:04 +08:00
sauwming
d992606db0
Limit log printing if video conference is connected to a sink port that's not running ( #2301 )
...
* Limit log printing
* rev 1
* Add error counter info in the log
2020-02-26 09:18:08 +08:00
mingteluu
b76c134fea
Add more log in pjsua_vid and vid_conf
2020-02-25 10:51:43 +08:00
Saúl Ibarra Corretgé
e6dedfaedd
Update parameter docs
2020-02-21 12:29:28 +01:00
Saúl Ibarra Corretgé
b65f09e81f
vid_stream: add API for sending an RTCP PLI
2020-02-21 12:27:36 +01:00
Riza Sulistyo
0cc933a091
use stream name instead of encoder channel name as log when send rtcp
...
fail.
2020-02-21 15:15:05 +07:00
Riza Sulistyo
a21754043b
Close #2282 : Fix build error when using ffmpeg version 4.x.
2020-02-18 09:03:56 +07:00
Riza Sulistyo
ae2e919d9e
Misc (re #2210 ): Fixed various warnings on Visual Studio 2015.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6159 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-06 04:02:56 +00: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
Sauw Ming
d125d73149
Re #2253 : Check for insufficient buffer if remote is sending higher res than we can handle.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6153 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-04 05:08:14 +00:00
Sauw Ming
e215f7990c
Re #2253 : Changed keyframe max distance to a max of 60s
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6151 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-04 03:17:56 +00:00
Sauw Ming
283cfc4398
Re #2253 : Apply local fmtp setting
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6150 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-04 02:49:13 +00:00