Age | Commit message (Collapse) | Author |
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5384 74dad513-b988-da41-8d7b-12977e46ad98
|
|
server.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5383 74dad513-b988-da41-8d7b-12977e46ad98
|
|
resolution fails to avoid zero address.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5382 74dad513-b988-da41-8d7b-12977e46ad98
|
|
used by other components, such as sip_dialog, publishc, and pjsua_im.
Application should use the new API pjsip_auth_clt_deinit() to release the pool.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5373 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5366 74dad513-b988-da41-8d7b-12977e46ad98
|
|
callback when unregistration fails.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5356 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- currently only IPv6 host candidate will be generated, still not sure whether IPv6 NAT is really used in real world
- if the account enables IPv6 media and the host has IPv4 address, ICE will generate IPv4+IPv6 candidates, it should be very useful in NAT64 environment, and should not add delay in ICE nego in IPv6 only environment (note: candidate check pair must have same IP address family).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5342 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- 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: http://svn.pjsip.org/repos/pjproject/trunk@5339 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5337 74dad513-b988-da41-8d7b-12977e46ad98
|
|
answer, as call may have been disconnected after call is answered with 200 from on_incoming_call() callback but media fails to start.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5329 74dad513-b988-da41-8d7b-12977e46ad98
|
|
UDP transport IPv6 with STUN enabled.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5327 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed issue of cannot make/receive call after previous call initialization fails due to STUN error, reproducing steps:
1. Configure an account with acc->cfg.media_stun_use set PJSUA_STUN_RETRY_ON_FAILURE.
2. Start pjsua with STUN servers A and B configured. On startup, both STUN servers A and B are available, so PJSIP will use STUN server A
3. Both STUN server A and B become unavailable
4. Make an outgoing call.
5. Pjsua first tries with STUN server A, fails
6. Pjsua then retry with STUN server B, still fails
7. PJSIP then aborts the call with error (which is desired!)
8. Both STUN server A and B become available again
9. User tries to dial or receive an incoming call, but cannot because the last STUN server status is stored and used in making/receiving call without retrying to resolve STUN server.
- Fixed deadlock issues.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5326 74dad513-b988-da41-8d7b-12977e46ad98
|
|
initialization fails.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5324 74dad513-b988-da41-8d7b-12977e46ad98
|
|
avoid assertion.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5323 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5322 74dad513-b988-da41-8d7b-12977e46ad98
|
|
applied to the left hand side of this comparison" warning
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5317 74dad513-b988-da41-8d7b-12977e46ad98
|
|
avoid assertion.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5314 74dad513-b988-da41-8d7b-12977e46ad98
|
|
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW27
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5311 74dad513-b988-da41-8d7b-12977e46ad98
|
|
and transport keep alive
Also:
- add more detailed transport info for TCP and TLS transport
- fixed pjsua sample app which tries to get IPv4 local address from IPv6 transport.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5308 74dad513-b988-da41-8d7b-12977e46ad98
|
|
lock handling.
Also move the unusable server to the least prioritize to be chosen on the fallback process.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5307 74dad513-b988-da41-8d7b-12977e46ad98
|
|
media on failure
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5297 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5288 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5283 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5282 74dad513-b988-da41-8d7b-12977e46ad98
|
|
subscribing/unsubscribing presence in pjsua_pres
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5279 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5273 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5252 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- For contact rewrite feature, when contact address is IPv6, it shouldn't be replaced with IPv4 address
- If tp_type is already of type IPv6, adding it with PJSIP_TRANSPORT_IPV6 will result in an invalid transport type
- Add check if pj_getaddrinfo() returns zero address.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5249 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Crash when endpoint has multiple worker threads and SIP TCP transport is disconnected during incoming call handling.
- Deprecated pjsip_dlg_create_uas(), replaced by pjsip_dlg_create_uas_and_inc_lock().
- Serialized transaction state notifications (of 'terminated' and 'destroyed') in case of transport error.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5241 74dad513-b988-da41-8d7b-12977e46ad98
|
|
to Dan Wright for the report.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5232 74dad513-b988-da41-8d7b-12977e46ad98
|
|
robust and consistent with the other two checks below.
Note that without the check, it should be safe, but the buffer could point to one byte after the buffer, even though the string length is zero.
Thanks to Dusan Klinec for the proposed patch.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5224 74dad513-b988-da41-8d7b-12977e46ad98
|
|
ICE after STUN is disabled in account config (media_stun_use == PJSUA_STUN_USE_DISABLED).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5217 74dad513-b988-da41-8d7b-12977e46ad98
|
|
direction attribute is inactive, as long as media port is not zero.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5205 74dad513-b988-da41-8d7b-12977e46ad98
|
|
disconnected transport
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5188 74dad513-b988-da41-8d7b-12977e46ad98
|
|
on_call_tx_offer()/Call::onCallTxOffer() to notify incoming re-INVITE without offer.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5185 74dad513-b988-da41-8d7b-12977e46ad98
|
|
sound device after setting it to null device
Thanks to Fredrik Hansson for the report and patch
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5179 74dad513-b988-da41-8d7b-12977e46ad98
|
|
declaration.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5170 74dad513-b988-da41-8d7b-12977e46ad98
|
|
unregistration.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5143 74dad513-b988-da41-8d7b-12977e46ad98
|
|
in SDP:
- reverted back r5124 (of this ticket) and r4373 (of #1626)
- applied another fix for #1626 as in described in the ticket desc
- also fixed a related add/remove media issue:
- we send an offer with 2 audio and 1 video in SDP
- remote answers with only 1 audio in SDP
- when we send a re-offer/re-INVITE, we have 5 media lines in our SDP (3 audio + 2 video, note 1 audio and 1 video are disabled)
- call settings are actually maintained (2 active audio + 1 active video), just better to avoid the additional disabled media.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5135 74dad513-b988-da41-8d7b-12977e46ad98
|
|
Thanks to Itay Bianco for the patch
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5133 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5131 74dad513-b988-da41-8d7b-12977e46ad98
|
|
succeeds to avoid blocked main thread when STUN server is down.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5127 74dad513-b988-da41-8d7b-12977e46ad98
|
|
API, pjsua_vid_dev_set_setting() instead
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5125 74dad513-b988-da41-8d7b-12977e46ad98
|
|
in the SDP
Thanks to Brian Walker for the report and patch testing.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5124 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Utility to resize and rotate video frame
- Support for iOS + sample
- pjsua API to set video device's orientation
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5118 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Hangup the call immediately when there is no active media, this is only for initial INVITE.
- Stop media and destroy media transport properly upon any error.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5099 74dad513-b988-da41-8d7b-12977e46ad98
|
|
The param passed is suppose to be pjmedia_vid_dev_hwnd.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5098 74dad513-b988-da41-8d7b-12977e46ad98
|
|
init fails during incoming call
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5096 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5094 74dad513-b988-da41-8d7b-12977e46ad98
|
|
starting an already existed preview, just print a log, also apply the specified window handle.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5088 74dad513-b988-da41-8d7b-12977e46ad98
|