Commit Graph

647 Commits

Author SHA1 Message Date
Nanang Izzuddin d65cacddd3
Implement trickle ICE (#2588)
Squash & merge trickle-ice dev branch to master.
2020-12-11 09:40:57 +07:00
Michael Scheiffler bef8339e31
Conf functions to disconnect all sinks/sources (#2585) 2020-11-24 11:27:57 +08: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
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 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
Max Truxa 5925c42ea3
Pass JB discard algorithm along other JB settings (#2506) 2020-08-14 10:35:11 +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
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
Max Truxa 97a3b349cf
Populate info format field in pjmedia_conf_get_port_info() (#2388) 2020-05-01 17:38:54 +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
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
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
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
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
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 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 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
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
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
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 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
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
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 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
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 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
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
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
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 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 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
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
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
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 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
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
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 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
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
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
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
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 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
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 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
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
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
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 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 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 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
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
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
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 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 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
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 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
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
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 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 0f529759d7 Re #1920: In the development branch of FFmpeg 0.8 (in July 2010), a new library
was created AVCore. Just a half year later (February 2011), AVCore was
merged into AVUtil (52.38.0).

Furthermore, nothing in pjproject uses libavcore. Therefore, it is save
to remove all references to that library.

Thanks to Alexander Traud for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5301 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-17 15:25:51 +00:00
Nanang Izzuddin 17e3246fc8 Close #1906: Removed PortAudio from PJSIP source package.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5268 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-23 07:52:41 +00:00
Sauw Ming f3790cfd24 Re #1907: Fixed build error: undeclared variables PJMEDIA_VID_DEV_MAX_DRIVERS and PJMEDIA_VID_DEV_MAX_DEVS when PJMEDIA_HAS_VIDEO is disabled.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5257 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-11 12:43:59 +00:00
Sauw Ming b1f406ce4f Fixed #1907: Remove pjmedia* circular dependency
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5255 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-10 05:02:07 +00:00
Riza Sulistyo c58101bb69 Misc (Re #1882): Add compile time option (PJMEDIA_HAS_DTMF_FLASH) to enable/disable DTMF flash as specified in rfc2833.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5242 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-18 03:15:19 +00:00
Sauw Ming d3ece1d774 Fixed #1904: Support for Opus codec
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5239 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-04 06:11:58 +00:00
Riza Sulistyo e67887e55e Re #1900: Initial implementation with pjsua cli/telnet sample app.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5210 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-10 01:58:38 +00:00
Sauw Ming c46656e2bc Re #1882 (misc): Configurable audio device name length
Thanks to Wolfgang Wallhäuser for the original patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5201 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-19 04:03:00 +00:00
Sauw Ming 4021214257 Fixed #1888: Support for WebRtc AEC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5186 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-06 05:57:51 +00:00
Sauw Ming d3d2427ead Fixed #1880: Incorrect orientation after switching video capture or when using back camera
Included in this fix:
* Change the spec & doc of pjmedia_orient enumeration
* Change iOS sample app to rotate all video devices upon orientation change event.
* Set orientation as well when fast switching cameras (for iOS and Android)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5166 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 06:46:32 +00:00
Sauw Ming 33bd0fd547 Re #1861: Changed pjsua API for setting the orientation using a more generic API, pjsua_vid_dev_set_setting() instead
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5125 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-03 06:21:30 +00:00
Sauw Ming 035c0e6abc Re #1843 (misc): Add two underscores for the header definition macros to match the convention
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5117 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-25 04:51:59 +00:00
Sauw Ming a32a7af322 Fixed #1860: Modify pjmedia_sdp_neg_fmt_match() to check for encoding parameters as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5114 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-22 07:33:46 +00:00
Nanang Izzuddin d3697ca8a0 Misc (re #1843): Updated docs of PJMEDIA_AUD_DEV_ROUTE_DEFAULT (default route of audio device).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5110 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-18 06:06:02 +00:00
Sauw Ming 685b1ad1fd Re #1843: Fixed unused variable warning when using OpenCore AMR (thanks to Alexander Traud for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5075 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-22 09:03:23 +00:00