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
Sauw Ming
7df07048c4
Re #2253
...
Fix vpx fmtp apply:
- Only adjust the frame rate if it exceeds max-fr
- Maintain aspect ratio when adjusting resolution
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6149 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-03 06:26:55 +00:00
Riza Sulistyo
1b67249cc8
Re #2253 :
...
- Add vpx.h/vpx.c to Visual Studio project files
- Fix compile error/warning from Visual Studio
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6147 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-31 03:15:41 +00:00
Sauw Ming
bde1167cc3
Closed #2143 : Add AEC info to call info & statistics dump
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6140 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-28 06:58:45 +00:00
Nanang Izzuddin
d5ec2f4592
Misc (re #2210 ): Get rid of annoying persistent log lines due to video conference connection between active capturer and stopped/hidden renderer (thanks to Dmytrii Gonchar for the feedback).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6138 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-28 02:42:42 +00:00
Nanang Izzuddin
85887b2367
Re #2251 : Fixed bug in memory capture, wrong user data passed in invoking callback.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6132 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-10 07:26:36 +00:00
Nanang Izzuddin
74eb0a0289
Re #2251 : Fixed bug in memory player, wrong user data passed in invoking callback. Thanks to Marcus Froeschl for the report and the fix.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6131 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-10 07:09:51 +00:00
Sauw Ming
e98fe43314
Closed #589 : Update Speex AEC to the latest version to get multichannel EC
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6129 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-09 09:05:50 +00:00
Sauw Ming
3147bc0235
Re #1778 : Temporarily disable VPIO on Mac for stereo due to recording sound defects.
...
Steps to reproduce:
- Revert this changeset
- Use pjsua to do sound loopback (cc 0 0) with --ec-tail=0 (VPIO disabled->audio fine) and ec-tail=1 (VPIO enabled->recording sound defects)
Several observations:
- Playback is totally fine in VPIO stereo mode.
- Defect more noticable in 44.1 kHz
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6128 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-08 08:55:30 +00:00
Sauw Ming
1e2b570d7a
Re #1778 : Fixed incorrect calculation for stereo mode
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6127 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-08 08:40:04 +00:00
Nanang Izzuddin
245cc13ce8
Re #2255 : Fixed compile warning on MacOS.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6125 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-24 02:13:32 +00:00
Sauw Ming
e9e71f8753
Re #2210 (misc): Fixed incorrect error printing in Darwin dev when there's a runtime session error
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6124 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-23 07:11:50 +00:00
Nanang Izzuddin
4f5a7a5016
Re #2255 : Fixed wrong check of fullscreen mode in window creation and added pjsua app commands for fullscreen.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6123 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-23 03:27:09 +00:00
Riza Sulistyo
43e4680406
Close #2257 : Filter SRTP crypto setting for DTLS-SRTP profile.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6118 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-16 12:37:57 +00:00
Nanang Izzuddin
b9fd883dc2
Close #2255 : Add API for making video window full screen.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6117 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-10 03:55:51 +00:00
Nanang Izzuddin
e8c72cf9ba
Misc ( #2210 ): Put back PJMEDIA_STREAM_CHECK_RTP_PT feature in stream (introduced in #1160 ).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6116 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-06 05:57:48 +00:00
Nanang Izzuddin
8631ffe736
Fix #2254 : Updated SDP encoder of SDES to avoid deactivating/disabling media, it should be done by the parent/SRTP instead.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6115 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-04 09:01:19 +00:00
Sauw Ming
81b29e9aa2
Re #2252 : Fixed failed pjmedia-test, due to unsupported conversion format.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6113 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-29 07:53:43 +00:00
Sauw Ming
e472147378
Fixed #2251 : Deadlock between PJSUA LOCK and conference mutex
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6112 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-29 04:21:17 +00:00
Sauw Ming
3c9fa7ae2d
Fixed #2253 : Support for VP8 and VP9 video codec
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6110 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-22 06:18:55 +00:00
Sauw Ming
3237e7b188
Fixed #2252 : Fix Darwin video issue if supplied image height is different from the resolution
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6109 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-18 06:24:11 +00:00
Nanang Izzuddin
1bfd835547
Re #1437 : Fixed linking error when PJMEDIA_HAS_VIDEO is not set.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6107 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-13 10:08:59 +00:00
Nanang Izzuddin
2d9f105d82
Close #1437 : Video keyframe request/response using RTCP-FB PLI.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6106 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-13 09:11:04 +00:00
Nanang Izzuddin
dc0335a046
Close #1297 :
...
- Updated PJMEDIA endpoint to rearrange dynamic payload type allocation in generating SDP for audio, the allocation arranged in pjmedia_audio_pt enumeation is no longer used.
- Updated PJMEDIA_RTP_PT_TELEPHONE_EVENTS default value to 120, so lower PT values will be used by audio codecs.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6105 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-13 08:09:34 +00:00
Nanang Izzuddin
b48fd409dd
Close #2088 : Generate and negotiate telephone-event with multiple clock-rates in SDP offer/answer.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6103 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-08 10:17:16 +00:00
Riza Sulistyo
948bbed19e
Close #2250 : Enable OpenH264 native log.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6101 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-06 08:10:42 +00:00
Sauw Ming
a441c67a54
Fixed #2248 : Memory leak if stream fails to be created
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6098 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-30 05:20:06 +00:00
Sauw Ming
e001752e3c
Re #2210 (misc): Add passthrough codec source into Makefile
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6096 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-22 03:07:26 +00:00
Nanang Izzuddin
c342e68d75
Fix #2247 : Distorted video sent by iOS 13 devices.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6095 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-21 01:58:11 +00:00
Sauw Ming
a0be35b381
Fixed #1778 : Support for Voice Processing IO Audio Unit on Mac
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6094 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-17 07:02:50 +00:00
Nanang Izzuddin
fc665ef46f
Fix #2245 : Reconnect video stream listeners in video conference bridge after format changed.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6093 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-15 08:58:41 +00:00
Nanang Izzuddin
33a3c9e0a5
Fixed #2239 :
...
- Deinit OpenGL immediately when initialization fails, so video device {{{start()}}} and {{{put_frame()}}} will return immediately.
- Introduced new media event {{{PJMEDIA_EVENT_VID_DEV_ERROR}}}, used for notifying app when video device reinit (due to format change) fails.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6085 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-04 04:26:39 +00:00
Sauw Ming
59cd1bb5c6
Re #2210 (misc): Add log if WebRTC AEC fails to be created (currently it only supports mono)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6084 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-04 02:38:14 +00:00
Nanang Izzuddin
5dc221e74b
Fix #2236 : Fixed exception in iOS Video Toolbox H264 due to UI API called on background thread.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6078 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-25 03:34:38 +00:00
Riza Sulistyo
1914af648e
Fix #2234 : Memory leak with third party resampling.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6076 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-24 14:46:12 +00:00
Sauw Ming
d024a392ec
Fixed #2229 : Limitations in ICE data sending
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6071 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-23 07:25:41 +00:00
Sauw Ming
b073ccb3cc
Fixed #2231 : Potential premature buffer reuse in UDP media transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6070 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-23 07:24:24 +00:00
Nanang Izzuddin
1773fa8da6
Re #2228 : Also updated PCM shifting in G722.1.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6065 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-06 05:20:32 +00:00
Nanang Izzuddin
6cf2381849
Re #2228 : Fixed bugs in PCM shifting in G722 codec.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6064 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-06 05:19:40 +00:00
Nanang Izzuddin
ba1182d61e
Misc (re #2210 ): Division by zero in pjmedia_wav_player_port_get_pos(), i.e: when player has just been created (the position is 0) or when no loop is specified and player already reached EOF and stopped (the position is again 0). Thanks to Sergei Rozinov for the patch.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6061 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-04 09:57:56 +00:00
Riza Sulistyo
efb3a0bb9f
Close #2224 : De-Initialize ALSA sound device with snd_pcm_drop() instead of snd_pcm_drain() to avoid stuck issue
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6057 74dad513-b988-da41-8d7b-12977e46ad98
2019-08-28 15:25:13 +00:00
Riza Sulistyo
6adec9df42
Close #2223 : ALSA sound device wrapper implementation ignores period size returned by ALSA
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6056 74dad513-b988-da41-8d7b-12977e46ad98
2019-08-28 15:02:12 +00:00
Riza Sulistyo
34d3063627
Re #2210 (misc): optimize r6049.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6050 74dad513-b988-da41-8d7b-12977e46ad98
2019-08-06 05:00:31 +00:00
Riza Sulistyo
2b44d5b2b2
Re #2210 (misc): Release pool last when destroying android video dev factory.
...
Thanks to Pandia Rajan for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6049 74dad513-b988-da41-8d7b-12977e46ad98
2019-08-05 12:40:56 +00:00
Nanang Izzuddin
cf94e805c3
Misc (re #2210 ): Added format definitions for NV12 & NV21.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6046 74dad513-b988-da41-8d7b-12977e46ad98
2019-07-29 02:25:34 +00:00
Nanang Izzuddin
805193c622
Fix #2215 :
...
- Reset jitter buffer after Opus ptime decreased.
- Updated jitter buffer framelist sequence restart detection, also added some tracing logs.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6043 74dad513-b988-da41-8d7b-12977e46ad98
2019-07-25 03:00:33 +00:00
Riza Sulistyo
c8f6f091bd
Re #2210 (misc): Prevent overflow when searching for the closest video format.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6041 74dad513-b988-da41-8d7b-12977e46ad98
2019-07-19 09:05:23 +00:00
Sauw Ming
46cd329d9e
Fixed #2212 : Fix potential buffer overflow in Video Toolbox codec
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6038 74dad513-b988-da41-8d7b-12977e46ad98
2019-07-14 17:21:16 +00:00
Nanang Izzuddin
61ffb0ddc4
Misc (re #2147 ): Fixed compile warnings due to unused var/function.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6020 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-31 06:13:09 +00:00
Sauw Ming
2ba08831e3
Re #2206 : Fixed incorrect variable
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6017 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-30 03:32:28 +00:00
Sauw Ming
8def8e58d5
Fixed #2206 : Avoid calling SSL_shutdown() in DTLS media transport if handshake isn't completed yet
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6016 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-30 03:27:25 +00:00
Sauw Ming
f183fc1389
Re #2147 (misc): Fixed assertion in pjmedia test if video is disabled
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6013 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-28 06:03:17 +00:00
Riza Sulistyo
c217c850f7
Re #2147 (misc): Fix various compilation warnings on VS2015.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6009 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-27 15:01:08 +00:00
Riza Sulistyo
4724f14af5
Close #2202 : Limit the number of ignored error when receiving RTP/RTCP.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6005 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-26 13:18:02 +00:00
Riza Sulistyo
2b49e900ca
Re #2147 (misc): Avoid swig error caused by pjsua_snd_dev_id enum definition.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6001 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-23 13:57:48 +00:00
Sauw Ming
ef5ac1253f
Fixed #2107 : Add option to use loopback media transport in pjsua
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5989 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-15 00:09:57 +00:00
Nanang Izzuddin
64048ef507
Re #1298 : Updated PJMEDIA* to use PJ_ERROR consistently.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5982 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-09 07:24:57 +00:00
Sauw Ming
9358524737
Fixed #2188 : RTCP RR not generated if stream's encoder channel is paused
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5968 74dad513-b988-da41-8d7b-12977e46ad98
2019-04-15 02:53:52 +00:00
Riza Sulistyo
939045ae46
Re #2181 : Add vid_conf.h/c to pjmedia project for VS2015.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5967 74dad513-b988-da41-8d7b-12977e46ad98
2019-04-11 12:17:14 +00:00
Nanang Izzuddin
fdc3c5d9be
Misc (re #2147 ): When tracing is enabled, print ALSA error message when opening device failed in device enumeration.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5965 74dad513-b988-da41-8d7b-12977e46ad98
2019-04-10 06:32:27 +00:00
Sauw Ming
681033652a
Fixed #2186 : Enable video stream keep alive mechanism
...
* Also add video stream port to video conf when call is on local hold in order for video stream to keep sending keep-alive.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5960 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-27 01:53:57 +00:00
Sauw Ming
2c8710a584
Re #2181 : Fixed assertion in darwin_dev pj_assert(frame->size >= stream->frame_size);
...
But the problem itself is caused by video port, which passes the wrong frame size when the video capture is passive.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5948 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-08 09:22:21 +00:00
Nanang Izzuddin
151c0d526a
Re #2181 : Fixed unreleased pool when disconnecting ports in video conference.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5947 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-08 07:02:23 +00:00
Nanang Izzuddin
eafc04d5bf
Re #2181 : Initial version of video conference implementation.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5939 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-05 06:23:02 +00:00
Riza Sulistyo
4e965d2ad1
Close #2174 : Fix out of bound error when enabling GnuTLS.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5929 74dad513-b988-da41-8d7b-12977e46ad98
2019-01-09 09:15:11 +00:00
Nanang Izzuddin
8c76e17145
Close #2171 :
...
- Apply returned frame quality filter in OpenH264 decoder (drop the frame if decoder returns dsRefLost dsNoParamSets, dsDepLayerLost).
- Only publish keyframe missing event when decoder returns non-dsErrorFree (was always publishing the event when no frame is returned, while decoder may return dsErrorFree and no frame returned, e.g: when decoding parameter sets).
- Added a bit more logs for debugging.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5925 74dad513-b988-da41-8d7b-12977e46ad98
2018-12-17 03:46:35 +00:00
Nanang Izzuddin
7fdb4bf16d
Re #2168 :
...
- Added a new PJSUA callback on_media_event().
- Added audio device error handling into PJSUA2.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5923 74dad513-b988-da41-8d7b-12977e46ad98
2018-12-13 06:57:23 +00:00
Nanang Izzuddin
eb94374bc8
Close #2168 : Added media event for audio device error.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5920 74dad513-b988-da41-8d7b-12977e46ad98
2018-12-12 07:16:46 +00:00
Sauw Ming
3a633fecc0
Fixed #2166 : Possible buffer overread if RTCP packet length is invalid
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5919 74dad513-b988-da41-8d7b-12977e46ad98
2018-12-04 02:25:52 +00:00
Sauw Ming
12669335c6
Re #2147 (misc): Fixed incorrect typecast in Speex resampler. Thanks to Sebastian Marek for the patch.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5916 74dad513-b988-da41-8d7b-12977e46ad98
2018-11-26 00:57:54 +00:00
Nanang Izzuddin
4957180b34
Misc (re #2147 ): Removed 'experimental' word for Speex resampling.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5915 74dad513-b988-da41-8d7b-12977e46ad98
2018-11-23 10:06:51 +00:00
Nanang Izzuddin
f43b6cb0aa
Fix #2163 :
...
- Frame rate calculation is now done using temporary variable, instead of using stream decoding channel state directly.
- Added condition for applying calculated frame rate: it must be greater than zero.
- Fixed frame rate comparison to use float, was using integer which might get overflow on 32 bit integer platforms.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5913 74dad513-b988-da41-8d7b-12977e46ad98
2018-11-22 03:33:42 +00:00
Sauw Ming
c80b56d1ef
Fixed #2160 : stuck issue in ioqueue when detaching UDP media transport
...
- Fixed transport_udp so it won't call another read operation when being stopped.
- Add robustness checks (assertion) in ioqueue recv, recvfrom, and accept to prevent the same op key being used twice.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5907 74dad513-b988-da41-8d7b-12977e46ad98
2018-11-07 04:34:01 +00:00
Sauw Ming
ac7e0e618f
Re #2157 : Clear the callback rtp_cb2() when detaching transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5903 74dad513-b988-da41-8d7b-12977e46ad98
2018-11-05 00:55:21 +00:00
Sauw Ming
91358a9135
Re #2147 (misc): Removed null video device declaration, which has no implementation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5902 74dad513-b988-da41-8d7b-12977e46ad98
2018-11-05 00:47:05 +00:00
Nanang Izzuddin
2bdc03bf22
Misc (re #2147 ): Assertion in pj_sockaddr_cp() when pjmedia_transport_attach() is called with rem_rtcp zero initialized (thanks Lauri Vänskä for the report).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5901 74dad513-b988-da41-8d7b-12977e46ad98
2018-11-02 06:45:58 +00:00
Sauw Ming
2de667c542
Re #2157 : Minor change: prioritize rtp_cb2() and add more robustness
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5898 74dad513-b988-da41-8d7b-12977e46ad98
2018-10-17 00:52:26 +00:00
Sauw Ming
1b030ecdb7
Fixed #2157 : Update media transport adapter sample
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5897 74dad513-b988-da41-8d7b-12977e46ad98
2018-10-16 12:03:21 +00:00
Riza Sulistyo
aedbbbbdb9
Re #2147 (misc): Call pj_bzero() to frame_out to avoid undefined value for
...
bit_info. Thanks to Sai Krishna for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5894 74dad513-b988-da41-8d7b-12977e46ad98
2018-10-02 07:13:16 +00:00
Sauw Ming
1dc36f9a74
Re #2147 (misc): Add assertion in pjmedia_port_info_init() to prevent division by zero.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5890 74dad513-b988-da41-8d7b-12977e46ad98
2018-09-24 02:45:20 +00:00
Nanang Izzuddin
b02d7b6b01
Close #2152 : Updated video stream to delay video frame decoding, the minimum delay is configurable via PJMEDIA_VID_STREAM_DECODE_MIN_DELAY_MSEC.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5887 74dad513-b988-da41-8d7b-12977e46ad98
2018-09-19 08:26:41 +00:00
Sauw Ming
fdca1bd954
Re #2059 (misc): re r5873, add more comment in the code.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5874 74dad513-b988-da41-8d7b-12977e46ad98
2018-09-03 07:45:04 +00:00
Sauw Ming
fdcece45bf
Re #2059 (misc): Add log for error info when Darwin capture session fails to start running or encounters an error during runtime.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5873 74dad513-b988-da41-8d7b-12977e46ad98
2018-09-03 07:36:46 +00:00
Sauw Ming
7db2028ec2
Re #2103 :
...
A couple of improvements:
- Now initialize both video port's renderer AND capture buffer
- Support RGB format as well.
Known limitation: YUV currently only supports I420 and YV12
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5868 74dad513-b988-da41-8d7b-12977e46ad98
2018-08-28 02:00:05 +00:00
Sauw Ming
657df2b09e
Re #2103 : Darwin's capture device is passive, thus the video port's clock will fetch the frames much earlier than when the device is ready, getting zero frames and resulting in green screen on the remote side.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5867 74dad513-b988-da41-8d7b-12977e46ad98
2018-08-23 04:48:03 +00:00
Sauw Ming
34de9fcee0
Re #2103 : Move the black screen initialization of the renderer to pjmedia_vid_port_start() instead
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5866 74dad513-b988-da41-8d7b-12977e46ad98
2018-08-23 04:45:13 +00:00
Sauw Ming
4fcfc942d8
Fixed #2139 : Fix potentially incorrect buffer allocation for video port renderer
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5864 74dad513-b988-da41-8d7b-12977e46ad98
2018-08-21 08:06:43 +00:00
Nanang Izzuddin
f654c5aa08
Close #2103 : Initiate video port frame buffer with black for I420 & YV12 formats.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5862 74dad513-b988-da41-8d7b-12977e46ad98
2018-08-20 05:30:01 +00:00
Nanang Izzuddin
d641faa661
Re #2096 : Fixed some compile warnings.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5860 74dad513-b988-da41-8d7b-12977e46ad98
2018-08-16 02:39:36 +00:00
Nanang Izzuddin
893cd9d20b
Re #2096 : Fixed bug of r5855, SRTP encode_sdp() should not reset bypass_srtp flag in reoffer/answer scenario.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5857 74dad513-b988-da41-8d7b-12977e46ad98
2018-08-15 10:52:28 +00:00
Nanang Izzuddin
952ddfb355
Re #2096 : Answer with one SRTP keying only when offered both (thanks Wei-Wei for the feedback).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5855 74dad513-b988-da41-8d7b-12977e46ad98
2018-08-15 02:44:53 +00:00
Sauw Ming
808e9375ae
Re #2096 : re r5852, fixed assertion in pj_sockaddr_cp() because the address can actually be zero if we haven't received any packets
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5853 74dad513-b988-da41-8d7b-12977e46ad98
2018-08-03 09:21:51 +00:00
Sauw Ming
b6721dc614
Re #2096 : DTLS updates
...
- Fix assertion when DTLS tries to attach transport, but the ICE transport's source RTP address hasn't been updated.
- Fix DTLS transport attachment in dtls_media_start() which misses rtcp-mux checking, causing rtcp-mux to be disabled.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5852 74dad513-b988-da41-8d7b-12977e46ad98
2018-08-03 02:33:28 +00:00
Sauw Ming
fd5674b334
Fixed #2136 : Increase default ICE password length as mandated by the RFC
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5850 74dad513-b988-da41-8d7b-12977e46ad98
2018-08-01 08:34:19 +00:00
Nanang Izzuddin
2d8776016d
Re #2096 :
...
- Updated DTLS-SRTP to ignore stray packet after DTLS nego has been completed.
- Added few debugging logs.
- Fixed false SSL error.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5847 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-27 06:16:26 +00:00
Sauw Ming
1db5b2167d
Re #2059 (misc): List ALSA audio device even if it fails to open
...
If an ALSA audio device cannot be opened for recording and playback, it may mean that they are temporarily busy (such as currently being used by another app), so we should still list it.
Thanks to Tobias Schneider for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5846 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-27 02:58:41 +00:00
Nanang Izzuddin
5852395694
Re #2096 :
...
- Added new error code for sending RTP/RTCP failure when DTLS-SRTP nego is in progress.
- When sending RTP/RTCP fails, only print error message once for consecutive same errors.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5845 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-26 07:19:39 +00:00
Sauw Ming
e98553fbcb
Re #2126 : Create thread when creating the event manager, which is required for video. Also add more doc about this in pjmedia_event_mgr.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5843 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-26 03:20:03 +00:00
Riza Sulistyo
8dcaa4496d
Re #2126 : Add rtcp_fb.h and rtcp_fb.c to pjmedia project file for VS2015.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5832 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-23 07:03:57 +00:00
Sauw Ming
2cfde147cc
Fixed #2131 : Incorrect Opus fmtp settings
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5831 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-23 06:35:57 +00:00
Sauw Ming
f5b93b5f5a
Fixed #2128 : Add feature to allow responding incoming INVITE/re-INVITE asynchronously and set the SDP answer
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5828 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-20 02:19:41 +00:00
Nanang Izzuddin
d0b08f08ae
Re #2126 : Added rtcp_fb.c to Makefile and fixed compile warnings on gcc.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5827 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-19 07:25:17 +00:00
Nanang Izzuddin
f61de805c8
Re #2126 : Implemented incoming RTCP-FB handling, i.e: parse and notify application via PJMEDIA event framework.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5825 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-17 08:11:17 +00:00
Nanang Izzuddin
4028a34cd9
Re #2096 : Fixed silly mistake of missing a comma in r5823.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5824 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-16 08:04:02 +00:00
Nanang Izzuddin
8ebab77c7f
Re #2096 :
...
- For better interoperability, check remote support for DTLS-SRTP by inspecting SDP a=fingerprint availability instead of UDP/TLS/SRTP/SAVP.
- Bailout DTLS-SRTP when SDP a=fingerprint is not available.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5823 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-16 07:35:52 +00:00
Nanang Izzuddin
8a883d4ffb
Close #2126 : Initial implementation of RTCP Feedback.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5820 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-12 08:22:31 +00:00
Nanang Izzuddin
f31f77289b
Misc (re #2059 ): Updated configure script to:
...
- make sure that C++ compiler is available, and
- disable ALSA when ALSA development library is not found.
Thanks Alexander Traud for the feedbacks.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5814 74dad513-b988-da41-8d7b-12977e46ad98
2018-06-26 07:08:24 +00:00
Nanang Izzuddin
147c1021fd
Misc (re #2059 ): Fixed various compile warnings on GCC 8.1 (thanks Alexander Traud for the report).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5813 74dad513-b988-da41-8d7b-12977e46ad98
2018-06-25 07:56:57 +00:00
Riza Sulistyo
1a7c9f8882
Re #2059 (misc): Fixed some error on transport_srtp.c after #2097 + #2096 .
...
- Fixed nullptr exception, because opt pointer might not be set.
- Remove assertion to check pool and sdp in pjmedia_transport_media_start().
Thanks to Ciro Ferraiuolo for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5811 74dad513-b988-da41-8d7b-12977e46ad98
2018-06-22 17:13:02 +00:00
Nanang Izzuddin
8bf2192722
Fixed #2122 : Reorder supported format list in Android camera to have I420 before YV12 & NV21.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5810 74dad513-b988-da41-8d7b-12977e46ad98
2018-06-22 08:22:01 +00:00
Nanang Izzuddin
94f40384f8
Fixed #2118 :
...
- Stream buffer calculation is now based on maximum bitrate and maximum receiving frame size.
- Added buffer size check when getting frame from jitter buffer, pjmedia_jbuf_get_frame*() specification has been updated that 'size' param is now input and output (was output only).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5803 74dad513-b988-da41-8d7b-12977e46ad98
2018-06-06 08:38:29 +00:00
Nanang Izzuddin
ba59059944
Re #2089 :
...
- Set default max Opus RX frame length, i.e: param.info.max_rx_frame_size, to 1275. This is to avoid issue of truncated frame in jitter buffer when incoming frame length gets increased (after remote Opus encoder changes Opus params on the fly, e.g: ptime, VBR/CBR, sampling rate). Thanks Marcus Froeschl for the report, the investigation, and the solution.
- Fixed pjmedia_codec_opus_set_default_param() to initiate codec param with current default settings.
- Fixed some compile warnings.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5799 74dad513-b988-da41-8d7b-12977e46ad98
2018-05-30 07:41:23 +00:00
Nanang Izzuddin
311d70ad13
Re #2096 :
...
- Fixed memory leak due to not destroyed DTLS-SRTP keying (when it is not active).
- DTLS-SRTP must not destroy itself, keying destroy must be initiated by SRTP.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5794 74dad513-b988-da41-8d7b-12977e46ad98
2018-05-18 07:12:41 +00:00
Sauw Ming
2eaf3e7653
Fixed #2114 : Reset VideoToolbox on iOS when app switches from background to active
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5793 74dad513-b988-da41-8d7b-12977e46ad98
2018-05-18 02:29:04 +00:00
Sauw Ming
a7cea667a3
Closed #2113 : Implement conference signal level adjustment for a specific connection
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5792 74dad513-b988-da41-8d7b-12977e46ad98
2018-05-15 08:23:44 +00:00
Sauw Ming
d44bf2999a
Re #2059 (misc): Related to #2031 . Add compile-time config for L16 48KHz.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5791 74dad513-b988-da41-8d7b-12977e46ad98
2018-05-14 01:24:43 +00:00
Nanang Izzuddin
de3a19fa3d
Re #2087 : Fixed compile error on iOS target: undeclared identifier 'pjmedia_rtp_hdr'.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5790 74dad513-b988-da41-8d7b-12977e46ad98
2018-05-10 08:50:51 +00:00
Nanang Izzuddin
3d718197d7
Misc (re #2059 ): Frame timestamp not set in get_frame_from_buffer() (thanks Giorgio Alfarano for the report).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5789 74dad513-b988-da41-8d7b-12977e46ad98
2018-05-10 04:01:13 +00:00
Sauw Ming
ab6022bae3
Fixed #2087 : Support for RTP and RTCP multiplexing
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5788 74dad513-b988-da41-8d7b-12977e46ad98
2018-05-09 06:58:48 +00:00
Sauw Ming
72aee8feda
Fixed #2111 : Add compile-time setting to specify DTMF duration in ms
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5786 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-24 05:27:57 +00:00
Sauw Ming
469fffc0de
Fixed #2110 : Incorrect DTMF duration/timestamp for codecs with RTP timestamp unit not using actual sampling rate
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5785 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-23 09:30:55 +00:00
Nanang Izzuddin
852b4f0273
Re #2096 : Start UDP transport earlier to allow early DTLS-SRTP nego.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5783 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-18 07:45:46 +00:00
Nanang Izzuddin
2eb03533a1
Re #2096 : added log about crypto setting.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5782 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-18 03:05:59 +00:00
Nanang Izzuddin
7cdd970880
Re #2096 :
...
- Fixed DTLS-SRTP issues with AEAD_AES_256_GCM crypto, e.g: material buffer length too short, silly mistake of missing comma in PJSIP-OpenSSL crypto map.
- Fixed SRTP error PJMEDIA_SRTP_ESDPREQCRYPTO when crypto count is set to zero and SRTP is in mandatory mode.
- Fixed SRTP transport attach where stream RTP/RTCP reception callbacks may be overriden by DTLS-SRTP.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5781 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-17 10:52:33 +00:00
Riza Sulistyo
2517f1e5ec
Re #2096 : When checking hash algo, don't use case sensitive comparision.
...
Thanks to Christian Scheid for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5780 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-12 00:48:20 +00:00
Riza Sulistyo
1d030de05f
Re #2059 (misc): Fix some warnings related to use of external Portaudio.
...
Thanks to Alexander Traud for the report and patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5779 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-09 12:30:48 +00:00
Sauw Ming
8601a535eb
Re #2059 (misc): Comment unused const to prevent compiler warning
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5773 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-03 04:05:41 +00:00
Sauw Ming
ec76b5aa04
Re #2059 (misc): Remove warning of unused functions if no audio codecs is enabled
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5772 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-03 00:57:44 +00:00
Sauw Ming
ebebac11ec
Re #2059 (misc): Removed warning of unused variable
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5770 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-02 06:34:33 +00:00
Sauw Ming
970752f845
Re #2091 : Removed warning of unused function
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5769 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-02 06:25:54 +00:00
Sauw Ming
1519ac1bdc
Fixed #2106 : Fixed SID counter for AMR-WB
...
Thanks to Alexander Traud for the patch
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5766 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-02 05:53:37 +00:00
Sauw Ming
3e7ac78d81
Re #2059 (misc): Fixed incorrect assertion in pjmedia stream
...
Thanks to Vyacheslav Yamont for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5764 74dad513-b988-da41-8d7b-12977e46ad98
2018-04-02 05:03:50 +00:00
Riza Sulistyo
111322c0e1
Re #2059 (misc): Don't include test app (exe) when building for Android.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5761 74dad513-b988-da41-8d7b-12977e46ad98
2018-03-27 05:35:03 +00:00
Sauw Ming
cea6909212
Re #2059 : Fixed the ordering of CXXFLAGS to prevent build issue on Android, such as below:
...
In file included from /android-ndk-r15c/platforms/android-15/arch-arm/usr/include/linux/posix_types.h:41:0,
from /android-ndk-r15c/platforms/android-15/arch-arm/usr/include/sys/types.h:37,
from /android-ndk-r15c/platforms/android-15/arch-arm/usr/include/stdio.h:50,
from ../../pjlib/include/pj/compat/string.h:39,
from ../../pjlib/include/pj/string.h:29,
from ../include/pjmedia/frame.h:28,
from ../include/pjmedia/port.h:30,
from ../include/pjmedia/codec.h:29,
from ../include/pjmedia-codec/types.h:29,
from ../include/pjmedia-codec/openh264.h:22,
from ../src/pjmedia-codec/openh264.cpp:19:
/android-ndk-r15c/sysroot/usr/include/arm-linux-androideabi/asm/posix_types.h:33:37: fatal error: asm-generic/posix_types.h: No such file or directory
#include <asm-generic/posix_types.h>
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5757 74dad513-b988-da41-8d7b-12977e46ad98
2018-03-19 00:26:55 +00:00
Sauw Ming
17d09ee571
Re #2059 : Allow multiple codecs in SDP answer when creating SDP neg with remote offer
...
Thanks to Alexey Ermoshin for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5756 74dad513-b988-da41-8d7b-12977e46ad98
2018-03-16 07:54:41 +00:00
Nanang Izzuddin
922b4e2ed6
Close #2100 :
...
- Added new APIs:
* PJMEDIA: pjmedia_srtp_enum_crypto(), pjmedia_srtp_enum_keying()
* PJSUA: pjsua_config.srtp_opt, pjsua_acc_config.srtp_opt, pjsua_srtp_opt_default()
* PJSUA2: AccountMediaConfig::srtpOpt, Endpoint::srtpCryptoEnum()
- Deprecated PJSUA callback on_create_media_transport_srtp() (not removed yet, just warnings).
- Slightly refactored SRTP code:
* Fixed potential issue with on_create_media_transport_srtp(), some PJSUA internal values in pjmedia_srtp_setting may be overridden by app.
* Fixed few issues in SRTP and keying mechanism, e.g: premature local SDP modification (it should be done after verification).
* Potential minor backward compatibility issue: default value of pjmedia_srtp_setting.crypto_count is now zero, previously it was initialized with all crypto via pjmedia_srtp_setting_default(), actually zero and all cryptos in this setting semantically are the same.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5755 74dad513-b988-da41-8d7b-12977e46ad98
2018-03-15 03:00:59 +00:00
Sauw Ming
1780e6c5df
Re #2098 : Fixed insufficient buffer length to avoid message truncation.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5753 74dad513-b988-da41-8d7b-12977e46ad98
2018-03-08 23:54:40 +00:00
Sauw Ming
106ec876a3
Fixed #865 : More clever RTP transport remote address switch
...
The summary of changes:
- To solve no 2:
Add callback rtp_cb2(pjmedia_tp_cb_param *param) which allows application to get more info from the media transport, such as the packet's source address.
- To solve no 3:
Add compile time option PJMEDIA_TRANSPORT_SWITCH_REMOTE_ADDR (by default enabled). Currently, there are already runtime options PJMEDIA_UDP_NO_SRC_ADDR_CHECKING and PJMEDIA_ICE_NO_SRC_ADDR_CHECKING, but there are a few drawbacks:
* the options are not exported to the higher level, such as stream, or pjsua.
* the options are separate for each transport, UDP and ICE, there's no single option to do this.
- To solve no 1:
Using the new rtp_cb2() callback, move the functionality to check the packet's source address to the stream/video stream.
By checking the RTP pt and SSRC, there are a few advantages:
* When receiving packets from multiple sources, stream can choose the packet with the correct SSRC as advertised from the SDP, and discard the others (see also ticket #1366 ).
* If remote address switch is enabled, a faster switch can be achieved as soon as packet with correct ssrc is received, instead of waiting for several consecutive packets (according to setting PJMEDIA_RTP_NAT_PROBATION_CNT).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5752 74dad513-b988-da41-8d7b-12977e46ad98
2018-03-08 02:01:26 +00:00
Nanang Izzuddin
6d20076196
Re #2096 :
...
- Fixed crash in media transport when application calls detach() while the transport only implements detach2().
- Avoid assertion in UDP media transport when calling detach() without previously calling attach().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5750 74dad513-b988-da41-8d7b-12977e46ad98
2018-03-06 07:42:54 +00:00
Nanang Izzuddin
4a5dc5711d
Re #2096 : Fixed assertion in SDP answerer when its SRTP is disabled. This is an SDES issue, but related to DTLS-SRTP works (all SRTP keyings have been refactored for DTLS implementation).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5749 74dad513-b988-da41-8d7b-12977e46ad98
2018-02-27 07:44:26 +00:00
Sauw Ming
b8226493a8
Fixed #2098 : Add SDP attribute SSRC and CNAME
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5748 74dad513-b988-da41-8d7b-12977e46ad98
2018-02-27 03:37:53 +00:00
Nanang Izzuddin
486266b850
Close #2097 : Updated UDP media transport to start socket read operation in pjmedia_transport_media_start().
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5747 74dad513-b988-da41-8d7b-12977e46ad98
2018-02-26 10:14:27 +00:00
Nanang Izzuddin
4223637bd0
Fixe #2096 :
...
- Fixed re-INVITE scenario: always generate SRTP attr in SDP re-offer/answer as both offerer/answerer (as long as SRTP is not disabled of course), currently it does not generate SRTP attr if active session does not use SRTP.
- Fixed bug in retrieving video stream info from SDP that caused DTLS transport (UDP/TLS/RTP/SAVP) getting rejected.
- Added pjsua app param '--srtp-keying=0/1' to choose SRTP keying to be used in the outgoing offer (0=SDES (default), 1=DTLS-SRTP).
- Few minors, e.g: adding transport_srtp_dtls/sdes.c to pjmedia MSVC2015 project.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5746 74dad513-b988-da41-8d7b-12977e46ad98
2018-02-26 07:50:18 +00:00
Sauw Ming
12affd6c35
Fixed #2093 : Crash when parsing SDP with an invalid media format description
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5741 74dad513-b988-da41-8d7b-12977e46ad98
2018-02-21 02:32:36 +00:00
Sauw Ming
6229154cb1
Fixed #2092 : Crash when receiving SDP with invalid fmtp attribute
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5740 74dad513-b988-da41-8d7b-12977e46ad98
2018-02-21 02:28:02 +00:00
Riza Sulistyo
0be14c8181
Fix #2091 : On iOS11, replace_udp_sock() might fail and lead to unusable UDP transport.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5737 74dad513-b988-da41-8d7b-12977e46ad98
2018-02-15 13:57:11 +00:00
Sauw Ming
c7d20d5111
Fixed #2089 : Support receiving Opus packets with various frame lengths
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5734 74dad513-b988-da41-8d7b-12977e46ad98
2018-02-12 06:18:22 +00:00
Sauw Ming
a6fe0de627
Re #2084 : Make sure the output size of opus_decode() doesn't exceed the available frame size.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5731 74dad513-b988-da41-8d7b-12977e46ad98
2018-01-24 02:37:39 +00:00
Sauw Ming
b1bb629773
Fixed #2084 : Opus decode/recovery issue when FEC or PLC is enabled
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5728 74dad513-b988-da41-8d7b-12977e46ad98
2018-01-18 04:02:00 +00:00
Sauw Ming
c4279ec635
Re #2082 : Initial implementation of GnuTLS support.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5725 74dad513-b988-da41-8d7b-12977e46ad98
2018-01-15 08:52:29 +00:00
Riza Sulistyo
6a3a672e33
Close #2073 : Enable wav playlist to play WAV files with extra chunks after DATA chunk.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5711 74dad513-b988-da41-8d7b-12977e46ad98
2017-12-07 03:03:50 +00:00
Sauw Ming
2403173ecd
Re #2059 (misc): Fixed ffmpeg H264 unpacketization error due to uninitialized unpack_nal_start
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5705 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-29 02:23:08 +00:00
Sauw Ming
efb1a7f102
Fixed #2068 : Add compile time option to enable/disable simple AGC in conference
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5702 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-27 03:29:07 +00:00
Nanang Izzuddin
c8847d0d12
Re #2057 : Fixed compile error on MSVC2005 due to var declaration not in the beginning of block (C89 interop).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5698 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-21 06:00:21 +00:00
Sauw Ming
19686af25f
Re #2063 : Add more doc in other parts of the library
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5697 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-17 04:07:43 +00:00
Riza Sulistyo
8c64f49acb
Re #2059 (misc): Set conference's port rx_level to 0 when get frames from the
...
port is skipped. Thanks to Kal Conley for the original patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5696 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-16 13:25:04 +00:00
Sauw Ming
3eb2db9847
Fixed #2057 : Optimization: Improve conference mix loop performance
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5687 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-09 22:48:17 +00:00
Riza Sulistyo
8438c3eab6
Re #2045 (misc): Fix various warning raised from using clang 4.0.1. Thanks to
...
Alexander Traud for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5678 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-01 04:55:29 +00:00
Sauw Ming
0a1f0aa252
Fixed #2053 : Update pjsua_get_snd_dev() info before calling on_snd_dev_operation() callback
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5677 74dad513-b988-da41-8d7b-12977e46ad98
2017-10-27 06:30:50 +00:00
Sauw Ming
773323dd8f
Re #2045 (misc): Continuation of r5673: Set endpt to NULL after iLBC deinit(). Thanks to Kal Conley for the report.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5674 74dad513-b988-da41-8d7b-12977e46ad98
2017-10-16 10:20:18 +00:00
Sauw Ming
39fe6052d5
Re #2045 (misc): Prevent iLBC codec to be initialized more than once
...
Thanks to Kal Conley for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5673 74dad513-b988-da41-8d7b-12977e46ad98
2017-10-16 03:49:22 +00:00
Riza Sulistyo
93c3c1bd29
Re #2045(misc): To prevent assertion, don't copy rem_rtcp on pjmedia_stream_create()/pjmedia_vid_stream_create() if address is not set.
...
Thanks to Lauri Vanksa for the Report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5671 74dad513-b988-da41-8d7b-12977e46ad98
2017-10-06 06:54:37 +00:00
Riza Sulistyo
2838ed1049
Close #2050 : Enabling AES-GCM when using external libSRTP version 1.x or 2.0.0.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5670 74dad513-b988-da41-8d7b-12977e46ad98
2017-10-05 04:40:20 +00:00
Sauw Ming
f9a385c4f0
Re #2045 (misc): Fix PLC from being active too early
...
Thanks to Kal Conley for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5667 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-29 02:36:49 +00:00
Riza Sulistyo
e58d5bfec9
Re #1994(misc): Fix warning on VS2015 when enabling video, opus, webrtc ec.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5659 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-25 02:58:42 +00:00
Sauw Ming
51519471d8
Re #1993 : With the update of bundled libSRTP to 2.1, external SRTP needs to be of version 2.x as well. This changeset will allow external SRTP users the option to continue using their current version 1.x.
...
* Also add autodetection of external SRTP version via the configure script.
Thanks to Alexander Traud for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5656 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-22 02:42:22 +00:00
Riza Sulistyo
e307352851
Re #1994(misc): Fixed various warnings on VS2015.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5654 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-20 04:34:27 +00:00
Sauw Ming
9b1eaa7903
Re #2022 : Enable encode_decode_test() for Video Toolbox in pjmedia video codec unit tests
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5652 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-20 02:09:42 +00:00
Sauw Ming
6327086923
Re #1994 (misc): Fixed various warnings thrown by GCC 6.3. Thanks to Alexander Traud for the info.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5646 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-08 11:16:09 +00:00
Riza Sulistyo
087584a93f
Re #2035 : Don't include srtp.h on pjmedia config.h, which raise error when including PJSIP from install dir.
...
Thanks to Peter Koletzki for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5643 74dad513-b988-da41-8d7b-12977e46ad98
2017-08-22 04:59:57 +00:00
Sauw Ming
cc2ecbfb28
Re #1994 (misc): Prevent possible overflow in video bps calculation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5642 74dad513-b988-da41-8d7b-12977e46ad98
2017-08-17 02:48:38 +00:00
Riza Sulistyo
add2753ff5
Re #2035 : Should check enough space for (MAX_TRAILER_LEN+4) before srtp_protect_rtcp().
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5640 74dad513-b988-da41-8d7b-12977e46ad98
2017-08-02 13:31:14 +00:00
Riza Sulistyo
1932df820e
Fix #2035 : Make sure transport SRTP buf size is sufficient before calling
...
srtp_protect() and srtp_protect_rtcp().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5639 74dad513-b988-da41-8d7b-12977e46ad98
2017-08-02 10:44:10 +00:00
Sauw Ming
e34fa7ed5e
Fixed #2032 : NAT64 support for IPv4 interoperability
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5636 74dad513-b988-da41-8d7b-12977e46ad98
2017-08-02 02:51:59 +00:00
Nanang Izzuddin
494f58b07d
Misc (re #1994 ): Fixed compile warnings on MSVC 2005 & 2015.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5635 74dad513-b988-da41-8d7b-12977e46ad98
2017-08-01 07:49:34 +00:00
Nanang Izzuddin
92d73c51d5
Fix #2033 : ICE must use regular nomination when communicating with lite implementations.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5634 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-28 09:43:57 +00:00
Sauw Ming
e33d5ff658
Fixed #2031 : Add compile-time config for L16 codec
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5632 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-27 06:45:48 +00:00
Riza Sulistyo
10882ddde2
Re #2029 : Support for G.729 backend implementation from bcg729.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5630 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-19 10:29:10 +00:00
Sauw Ming
3d50dd93ed
Re #1994 (misc): Fixed warning during runtime on iOS 11:
...
UI API called on a background thread
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5628 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-18 11:55:25 +00:00
Sauw Ming
fb5e38e119
Re #2022 : Fixed build error on older Mac SDKs if Foundation.h is not explicitly included.
...
Also fix warning of unused label.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5625 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-07 10:59:25 +00:00
Nanang Izzuddin
af17b763fc
Misc (re #1994 ): Rearrange H264 default backend priority to avoid multiple H264 backends. Currently OpenH264 has higher priority than FFmpeg, and VideoToolBox (for MacOS/iOS) should be manually enabled.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5624 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-07 08:40:04 +00:00
Nanang Izzuddin
c259fa68b2
Close #1999 : Support OpenSSL 1.1.0 with backward compatibility setting turned of (no deprecated APIs).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5623 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-07 02:52:44 +00:00
Nanang Izzuddin
ceae447b4f
Re #2018 : Added API pjmedia_transport_srtp_dtls_start_nego() to start DTLS-SRTP nego without SDP offer/answer.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5621 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-05 05:37:24 +00:00
Riza Sulistyo
07b997252c
Fix #2026 : Add option to for the SDP version to not increment when there's no
...
change from previous answer/offer.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5619 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-05 03:57:53 +00:00
Nanang Izzuddin
99aa30f054
Re #1993 : Slight improvement on simple SRTP key generator (when PJ_HAS_SSL_SOCK is not set).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5617 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-04 11:22:39 +00:00
Riza Sulistyo
cf1ee2b672
Fix #1991 : Support ALSA audio device volume setting.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5616 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-04 10:32:39 +00:00
Nanang Izzuddin
0e6af12b9e
Close #1993 : Updated bundled libSRTP version to 2.1.0.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5614 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-04 05:22:51 +00:00
Sauw Ming
7b26b96875
Re #1994 (misc): Fixed uninitialized return status in function wsola_discard_get_frame() which may cause the test to fail in some cases.
...
Thanks to Michael Scheiffler for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5607 74dad513-b988-da41-8d7b-12977e46ad98
2017-06-15 03:03:21 +00:00
Sauw Ming
101682a15a
Re #2022 : Fixed build configuration to make sure that it's not included in other platforms (such as Android).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5606 74dad513-b988-da41-8d7b-12977e46ad98
2017-06-15 02:56:48 +00:00
Nanang Izzuddin
99767f9421
Close #2009 : Fixed issue no 2:
...
- Synchronizing PJMEDIA transport ICE and ICE stream transport lifetime using group lock.
- Zeroing callback pointer in ICE stream transport destructor.
- Added few pointer validity checks.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5604 74dad513-b988-da41-8d7b-12977e46ad98
2017-06-14 06:04:12 +00:00
Sauw Ming
d71eeaf882
Fixed #2022 : Video Toolbox H264 encoder and decoder for Mac and iOS
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5603 74dad513-b988-da41-8d7b-12977e46ad98
2017-06-08 06:23:56 +00:00
Sauw Ming
cb37176f10
Re #2018 : fixed build failure due to undefined function "get_libsrtp_errstr" in transport_srtp_sdes.c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5602 74dad513-b988-da41-8d7b-12977e46ad98
2017-06-08 06:12:45 +00:00
Nanang Izzuddin
d521840c98
Re #2018 : Fixed compile error due to a silly mistake.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5598 74dad513-b988-da41-8d7b-12977e46ad98
2017-06-04 08:58:55 +00:00
Nanang Izzuddin
edcedb569a
Re #2018 : Initial version of DTLS-SRTP implementation.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5597 74dad513-b988-da41-8d7b-12977e46ad98
2017-06-03 09:22:34 +00:00
Sauw Ming
e0abc07c24
Re #1994 (misc): In video port, print the actual format of the video device being opened (instead of the requested format).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5595 74dad513-b988-da41-8d7b-12977e46ad98
2017-05-23 02:44:19 +00:00
Riza Sulistyo
2bfc5161cd
Re #1994 (misc): Related to r5500, when receiving an SDP answer for SRTP, process the tag correctly based on the offer. Thanks to Colin Morelli for the report.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5588 74dad513-b988-da41-8d7b-12977e46ad98
2017-04-25 14:13:56 +00:00
Riza Sulistyo
b033d247a6
Fix #2013 : Prevent crash when timer refresh with SRTP is interrupted by a re-INVITE.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5586 74dad513-b988-da41-8d7b-12977e46ad98
2017-04-25 09:45:10 +00:00
Nanang Izzuddin
d4e88a504f
Misc (re #1994 ): Potential linking error due to bad dependency library ordering.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5577 74dad513-b988-da41-8d7b-12977e46ad98
2017-04-01 06:22:16 +00:00
Sauw Ming
728b18eb2d
Fixed #2005 : Crash when hanging up call if video capture device fails to open
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5571 74dad513-b988-da41-8d7b-12977e46ad98
2017-03-24 03:00:47 +00:00
Nanang Izzuddin
2bf25fb6c9
Misc (re #1994 ): Fixed linking errors when configuring with '--disable-speex-codec' and without '--disable-speex-aec' params.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5568 74dad513-b988-da41-8d7b-12977e46ad98
2017-03-13 10:27:14 +00:00
Riza Sulistyo
154238bfe0
Re #1994 (misc): Fix linker error on Visual Studio when using OpenSSL 1.1 or newer.
...
Thanks to Sean Bright for the report and patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5566 74dad513-b988-da41-8d7b-12977e46ad98
2017-03-09 04:41:45 +00:00
Nanang Izzuddin
3b90d341cd
Misc (re #1994 ): Updated dshow video device stop to not wait for renderer thread when renderer is not created.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5560 74dad513-b988-da41-8d7b-12977e46ad98
2017-02-24 04:21:07 +00:00
Riza Sulistyo
d76dcc020d
Re #1900 : Fixed some build error for UWP arm.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5547 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-25 07:52:32 +00:00
Nanang Izzuddin
d83a154766
Re #1900 : Updated audio device config to automatically enable WASAPI and disable WMME when PJ_WIN32_WINPHONE8 is set.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5546 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-25 04:15:11 +00:00
Nanang Izzuddin
84ad7a0244
Misc (re #1945 ): Fixed compile warnings on Android 64bit platforms, e.g: dereferencing type-punned pointer, using uninitialized var.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5544 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-24 05:41:05 +00:00
Nanang Izzuddin
8e9b1a9d42
Misc (re #1945 ): Automatically define macro PJ_ANDROID=1 on Android platforms (previously should be defined manually via config_site_sample.h or config_site.h).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5543 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-24 05:36:50 +00:00
Nanang Izzuddin
1b25ccaf76
Re #1900 : Merged changes from trunk.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5538 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-23 04:18:59 +00:00
Riza Sulistyo
1aadfca5bf
Close #1919 : Clear unused-variable warnings.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5535 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-19 10:31:38 +00:00
Nanang Izzuddin
7d9a05c9a3
Re #1513 : Applied the new API pj_pool_safe_release().
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5534 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-19 07:41:25 +00:00
Nanang Izzuddin
101b72f638
Re #1900 : Merged changes from trunk.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5532 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-18 10:55:35 +00:00
Sauw Ming
ddbcae1896
Re #1945 (misc): move default setting of number of supported video device format to pjmedia-videodev config instead of config_site_sample, since not everybody will use the sample.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5524 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-17 00:50:09 +00:00
Nanang Izzuddin
bb2d69508e
Fixed #1990 :
...
- Added check for possibility of premature failure in pj_turn_sock_alloc() after pj_turn_session_set_server() returns PJ_SUCCESS.
- Added more logs on ICE initialization progress for future debugging.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5521 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-11 07:29:46 +00:00
Riza Sulistyo
e03e14b7f1
Re 1989: Implement pj_strtok()/pj_strtok() as a replacement to strtok().
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5520 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-11 04:38:29 +00:00
Nanang Izzuddin
698254c51a
Misc (re #1945 ): Fixed warning of missing braces in nested struct/union var initialization on recent GCC versions.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5516 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-03 12:44:08 +00:00
Nanang Izzuddin
04d4620359
Re #1900 : Miscelaneous updates, e.g: enable/disable WMME/WASAPI automatically based on active platform, cosmetics.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5515 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-28 09:27:40 +00:00
Riza Sulistyo
6044d8b204
Re #1900 : Fix merge conflict for solution file and project files. And fix some compile error found for UWP.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5514 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-28 05:20:16 +00:00
Nanang Izzuddin
c551b147fc
Re #1900 : More merged from trunk (r5512 mistakenly contains merged changes in third-party dir only).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5513 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-28 03:40:07 +00:00
Nanang Izzuddin
9f2f701296
Misc (re #1945 ): Update SRTP to restart crypto tag from 1 when generating reoffer.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5500 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-19 03:00:37 +00:00
Sauw Ming
d204202e18
Re #1941 : re #5454 , modify declaration of NSArray to support older compiler version
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5498 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-16 04:05:44 +00:00
Nanang Izzuddin
6c47f59bc8
Re #1900 : Updated project files for target platform version configuration, it is configurable via property sheet build/vs/pjproject-vs14-common-config.props.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5497 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-09 13:43:07 +00:00
Riza Sulistyo
9ec7576fd9
Re #1945 : Change the error message on pjsua_media_channel_update() when unknown/unsupported media type is found.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5489 74dad513-b988-da41-8d7b-12977e46ad98
2016-11-23 08:15:49 +00:00
Riza Sulistyo
4129164aec
Closed #1978 : Add function to get RTP session from stream/video stream.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5479 74dad513-b988-da41-8d7b-12977e46ad98
2016-11-04 14:57:20 +00:00
Riza Sulistyo
fee1634ae5
Re #1977 : Add attach2() and pjmedia_transport_attach2() to pjmedia transport interface.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5478 74dad513-b988-da41-8d7b-12977e46ad98
2016-11-03 09:39:20 +00:00
Sauw Ming
62e8930801
Fixed #1941 : Disable the setup of audio session in coreaudio_dev. This will allow application to have better control towards its audio session management, which will help to ensure a smoother integration with CallKit features.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5463 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-18 00:38:18 +00:00
Riza Sulistyo
6b8a0bf30b
Re #1970 : Implement function pjmedia_rtp_decode_rtp2().
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5460 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-13 11:49:57 +00:00
Sauw Ming
594c1bd214
Re #1941 : Support for AVCaptureDeviceDiscoverySession to replace the deprecated [AVCaptureDevice devices] in iOS 10.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5454 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-07 05:58:54 +00:00
Sauw Ming
e40b1e65ab
Re #1945 (misc): Fixes a memory leak in alsa_factory_refresh().
...
Thanks to Kal (b17 c0de) for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5452 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-07 01:56:22 +00:00
Nanang Izzuddin
bc3134bb8f
Misc (re #1945 ): Added feature of listing dshow device in ffmpeg video device (experimental).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5441 74dad513-b988-da41-8d7b-12977e46ad98
2016-09-29 04:04:22 +00:00
Nanang Izzuddin
e81b938dbe
Misc (re #1945 ): Fixed warning in OpenH264 encoder "ParamValidationExt(), slice mode = SM_SIZELIMITED_SLICE..." (thanks Carlos Dom for the report).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5440 74dad513-b988-da41-8d7b-12977e46ad98
2016-09-27 03:12:13 +00:00
Riza Sulistyo
84566a6387
Re #1954 (misc): Fix build error on pjmedia-test when defining PJMEDIA_CONF_USE_SWITCH_BOARD.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5438 74dad513-b988-da41-8d7b-12977e46ad98
2016-09-20 08:21:26 +00:00
Sauw Ming
6edfd510b5
Re #1952 : Apply the fix to video stream info as well
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5436 74dad513-b988-da41-8d7b-12977e46ad98
2016-09-14 19:43:18 +00:00
Sauw Ming
6cdf2d7a45
Fixed #1958 : Update RTP sequence number during keep-alive
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5434 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-30 00:45:19 +00:00
Riza Sulistyo
c1bbda538f
Re #1954 : Add support for VS2005.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5433 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-29 08:44:54 +00:00
Sauw Ming
fcd490b08a
Re #1954 : Add support for VS2015.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5432 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-26 01:59:53 +00:00
Sauw Ming
8f1d068b65
Re #1956 : Support for setting audio input source capability in Android JNI audio device
...
* modify the sample code
* add symbols for pjsua2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5430 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-25 03:28:54 +00:00
Sauw Ming
3469abaa11
Re #1954 : Add WebRTC to third party component
...
* Add build config for GNU build systems
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5428 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-25 01:36:33 +00:00
Sauw Ming
f69b5d2fdd
Fixed #1956 : Support for setting audio input source capability in Android JNI audio device
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5426 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-23 09:13:28 +00:00
Nanang Izzuddin
f8d033ff82
Misc (re #1945 ): Added opus.h/c to VS2005 & VS2015 project pjmedia-codec (thanks Arkadiusz Wronski for the report).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5422 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-18 09:54:37 +00:00
Nanang Izzuddin
25c71542c5
Fix #1952 : Skip address type matching in pjmedia_stream_info_from_sdp() when both sides use ICE, the ICE transport will do the matching when it generates ICE checklist.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5419 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-15 09:59:09 +00:00
Riza Sulistyo
4cca53c97b
Re #1943 : Raise linking error if libsrtp doesn't support the crypto.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5418 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-15 07:32:29 +00:00
Sauw Ming
a9f5f14b4f
Re #1943 : AES-GCM crypto support for SRTP
...
Special thanks to Alexander Traud for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5412 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-08 09:09:29 +00:00
Riza Sulistyo
2180c8aed1
Re #1910 : Send the additional keyframe only after the initial one.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5411 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-05 13:06:14 +00:00
Riza Sulistyo
968508c801
Re #1910 : Implement option to regularly send video keyframe in the beginning of video call session.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5410 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-05 07:26:18 +00:00
Sauw Ming
dc8990b4a1
Re #1945 (misc): Fixed incorrect SRTP crypto suite name and doc.
...
Thanks to Alexander Traud for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5408 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-05 01:14:20 +00:00
Sauw Ming
c6831f27ef
Fixed #1948 : Modify async dispatch to synchronous on Mac and iOS video device implementation
...
Thanks to Marc Etcheverry for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5406 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-03 10:22:29 +00:00
Sauw Ming
2fc4124143
Fixed #1947 : Support for OpenH264 v1.6.0 codec
...
Thanks to Marc Etcheverry for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5405 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-03 07:08:07 +00:00
Nanang Izzuddin
57e10a2a18
Misc (re #1945 ): Updated ffmpeg video device to query supported format from the device/ffmpeg instead of hardcoded to RGB24.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5399 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-27 07:49:14 +00:00
Riza Sulistyo
76eb2a2a4a
Re #1944 : Allow native window to be set for video output window on SDL
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5392 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-20 06:55:11 +00:00
Sauw Ming
15117996cd
Re #1937 : Do not build libyuv in shared mode if video is disabled.
...
Thanks to Ross Beer for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5378 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-11 00:51:12 +00:00
Riza Sulistyo
711b13c371
Re #1928 : max_bps on the param codec needs to be set properly on Opus.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5374 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-01 08:22:14 +00:00
Sauw Ming
e2ca1d7a08
Re #1931 : Add one more session preset to support, i.e. resolution 960x540
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5372 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-30 06:40:10 +00:00
Riza Sulistyo
5f61940597
Re #1928 : Fixed set bitrate on opus codec might not change the codec param and support opus automatic bitrate setting.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5371 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-30 03:36:39 +00:00
Sauw Ming
6c976cb23e
Fixed #1931 : Support more resolutions when opening the video capture and properly set the buffer's width and height as well.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5370 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-30 03:18:47 +00:00
Riza Sulistyo
331e7c7fb0
Re #1928 : fix silly mistake on r5365.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5368 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29 07:11:41 +00:00
Riza Sulistyo
0a30b3ed81
Re #1928 : Allow setting opus bitrate to PJMEDIA_CODEC_OPUS_DEFAULT_BIT_RATE when calling pjmedia_codec_opus_set_default_param.
...
Thanks to Marcus Froeschl for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5365 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29 05:46:17 +00:00
Nanang Izzuddin
22295d8972
Re #1937 : Keep libyuv enabled in configure script even when ffmpeg swscale is detected because video orientation feature requires libyuv. However, put ffmpeg swscale priority higher than libyuv in video converter.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5364 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29 04:58:16 +00:00
Nanang Izzuddin
5a0186f493
Re #1937 : Added libyuv build configs for GNU build systems.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5361 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-28 14:32:08 +00:00
Riza Sulistyo
82d6857fd9
Re #1937 : Change the include header format, so that user can specify external library.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5360 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-28 08:00:58 +00:00
Riza Sulistyo
6e472e9320
Re #1937 : Change project and folder name for consistency with existing third party library.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5358 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-28 06:04:19 +00:00
Riza Sulistyo
4459e48ee6
Fixed #1939 : Fixed crash when failed to initialize android jni dev (AudioRecord).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5357 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-27 11:09:01 +00:00
Riza Sulistyo
0ebbabf445
Re #1937 : Add libyuv to Visual Studio 2005 and 2015 solution.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5354 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-23 05:28:54 +00:00
Sauw Ming
118fc60dee
Re #1931 : Fixed configure script for iOS to be able to detect both AVFoundation and OpenGL ES
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5348 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-16 10:55:23 +00:00
Sauw Ming
cfeae392cb
Re #1931 : Add support for AVFoundation on Mac
...
- Deprecate QTKit
- Rename ios_dev.m to darwin_dev.m
- Important: Re-run configure and make dep after applying this change!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5347 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-16 10:38:34 +00:00
Riza Sulistyo
468c0625b1
Re #1928(misc) : Align Big-AES names with latest RFC.
...
Thanks to Alexander Traud for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5341 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-10 04:04:09 +00:00
Nanang Izzuddin
4d07fcf756
Re #422 : Added IPv6 support to PJNATH, changes:
...
- Deprecated 'pj_ice_strans_cfg.af', if set, the value will be ignored, address family setting is now specified via transport setting, i.e: 'pj_ice_strans_cfg.stun_tp/turn_tp'.
- Deprecated 'pj_ice_strans_cfg.stun/turn', for backward compatibility, this field value will be checked if 'pj_ice_strans_cfg.stun_tp_cnt/turn_tp_cnt' is set to zero.
- Added 'pj_ice_strans_stun_cfg' & 'pj_ice_strans_stun_cfg' and the corresponding 'pj_ice_strans_stun/turn_cfg_default()'
- Added 'pj_ice_strans_cfg.stun_tp/turn_tp' as replacement of 'pj_ice_strans_cfg.stun/turn', it is now an array so app can have multiple STUN/TURN transports.
- Added macro PJ_ICE_MAX_STUN/TURN to specify maximum number of STUN/TURN transports in each ICE component in compile-time.
- Miscellaneous: fixed socket number limit in concurrency test in pjnath-test, updated pjsua_media.c to use new 'pj_ice_strans_cfg' setting.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5339 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-08 03:17:45 +00:00
Nanang Izzuddin
24200380fa
Misc (re #1928 ): Updated SDP parser to be able to consume IPv6 address in RTCP line.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5335 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-06 09:14:37 +00:00
Nanang Izzuddin
8c0e9f3dbe
Misc (re #1917 ): Missed inline implementation of pjmedia_snd_get_dev_count(), see also #1907 (thanks Marcus Froeschl for the report).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5321 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-26 04:51:07 +00:00
Riza Sulistyo
47b7aeb2b2
Re #1917(misc): Update how PJMEDIA_VIDEO_DEV_HAS_OPENGL is define.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5315 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-25 04:31:29 +00:00
Sauw Ming
3733338bc1
Re #1922 : Replace IPv4 specific APIs as per Apple's recommendations
...
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW27
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5311 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-20 04:17:00 +00:00
Riza Sulistyo
205fac5b22
Re #1917 (misc): Change how PJMEDIA_VIDEO_DEV_SDL_HAS_OPENGL is declared in config.h. It needs to be enabled manually.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5309 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-19 10:31:48 +00:00
Riza Sulistyo
a43bfb036b
Re #1920 : Avoid linking error when video is not enabled.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5306 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-18 10:11:53 +00:00
Riza Sulistyo
45a0a37a55
Re #1920 : Update how keyframe is detected on FFMpeg codec, since
...
AVCodecContext.coded_frame is deprecated.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5305 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-18 07:50:15 +00:00
Riza Sulistyo
ffe13e6e01
Re #1920 : Check for libavformat instead of libavcodec when setting
...
PJMEDIA_HAS_FFMPEG_CODEC.
ffmpeg_vid_codecs.c has a compile-time guard of PJMEDIA_HAS_FFMPEG_VID_CODEC
which is PJMEDIA_HAS_FFMPEG_CODEC which is PJMEDIA_HAS_LIBAVCODEC.
However, the code requires libavutil, libavcodec, and libavformat.
In Ubuntu (and Debian), the package libavformat-dev contains
libavcodec-dev and libavutil-dev.
Not the other way around. Therefore, the current compile-time guard is
not sufficient and should check PJMEDIA_HAS_LIBAVFORMAT instead.
Thanks to Alexander Traud for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5304 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-17 16:14:36 +00:00
Riza Sulistyo
f2735eb226
Re #1920 : Fix typo on configuration script when trying to detect FFMpeg
...
package (libavdevice).
Thanks to Alexander Traud for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5303 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-17 16:01:59 +00:00