Commit graph

2298 commits

Author SHA1 Message Date
Simon Morlat
dbbea2a41c add debug message to indicate duration of sqlite request 2014-05-28 11:35:31 +02:00
Simon Morlat
550af5a8c7 fix linphone_proxy_config_edit() calls unbalanced with linphone_proxy_config_done() calls.
This caused regressions, like for example linphone_core_clear_proxy_config() not sending any unREGISTER.
2014-05-26 22:10:05 +02:00
Ghislain MARY
3c770cac9a Remove call to RTCP interval functions that no longer exist. 2014-05-26 10:10:02 +02:00
Guillaume BIENKOWSKI
43e42a55f5 Better fix: just in case, don't use the storage id and use a better search condition. 2014-05-22 14:40:42 +02:00
Guillaume BIENKOWSKI
76a5f51e35 Use storage id for storing the message state, instead of filtering by message and time.
This was historically used because notifications of the new message state would supposedly be made with a new instance of the same message, so without a correct storage_id.
I verified that this is not the case anymore.
2014-05-22 13:41:53 +02:00
Ghislain MARY
e15cc87d5b Set RTCP information before starting the streams. 2014-05-21 17:29:15 +02:00
Simon Morlat
5f90762513 fix crash with conference and ICE 2014-05-21 16:25:32 +02:00
Simon Morlat
78e59e5bec suppress warnings 2014-05-21 16:04:11 +02:00
Simon Morlat
da54b475d7 improve management of comments in linphonerc parser 2014-05-21 15:43:58 +02:00
Simon Morlat
fbc8f77e3a allow crypto lines to be configured from linphonerc, and improve code handling SRTP crypto lines 2014-05-21 13:11:13 +02:00
Jehan Monnier
cc5570cae5 proxy route parameter should not be used to check if proxy server address has changed 2014-05-21 10:17:43 +02:00
Jehan Monnier
bb6d660594 rework proxy config management edit()/done() method to only send unregister message when really needed 2014-05-20 18:38:56 +02:00
Guillaume BIENKOWSKI
0dce1b41db Don't use printf 2014-05-20 11:16:38 +02:00
Guillaume BIENKOWSKI
20c646bc4a Allow multiple calls to linphone_core_message_storage_init 2014-05-20 10:49:34 +02:00
Guillaume BIENKOWSKI
d491197c91 Switch to UTC timestamp storage for messages, instead of string-based local timezone time.
Migration procedure included.
2014-05-19 14:31:03 +02:00
Guillaume BIENKOWSKI
4a2bb40b1b Upcase SQL statements for reading convenience 2014-05-19 14:31:03 +02:00
Simon Morlat
a6aa0a50a5 fix ICE call without SDP test 2014-05-16 22:29:46 +02:00
Simon Morlat
eb6462663a adapt to lastest belle-sip and fix bad naming of variables. 2014-05-16 22:14:26 +02:00
Simon Morlat
44bafb091a fix crash with ICE in case of no incoming SDP 2014-05-15 19:13:51 +02:00
Guillaume BIENKOWSKI
51a5189c76 Fix leak in JNI 2014-05-15 17:14:50 +02:00
Guillaume BIENKOWSKI
f27a2387d4 Add list of transient messages for messages that are still transitioning to either "delivered" or "error" state.
This allows the get_history() call to return pointers that are valid when the chat_state_changed callback is called.
2014-05-15 17:14:50 +02:00
Ghislain MARY
0c7af0d5f1 Update ms2 submodule + disable AVPF for the moment. 2014-05-14 12:00:29 +02:00
Ghislain MARY
131c00b9ee Limit the sending of VFU request if a lot of video decoding errors are reported. 2014-05-13 16:56:39 +02:00
Guillaume BIENKOWSKI
b8c3eed489 Don't return on failure to bind UDP, so that subsequent channels are still available 2014-05-13 16:42:43 +02:00
Simon Morlat
24a208100a * notify friend status to offline when network goes unreachable
* relax timeouts of tests again
* always install linphone_tunnel.h
2014-05-12 12:41:32 +02:00
Simon Morlat
a63a3f59cd avoid sending dummy route headers as much as possible 2014-05-09 15:20:14 +02:00
Gautier Pelloux-Prayer
77e0fede43 use C comment style '/* ... */' instead of C++ '// ...' one 2014-05-09 12:48:51 +02:00
Simon Morlat
77ff00acbc improve network state monitor so that it can take into account IP address changes. 2014-05-07 21:42:31 +02:00
Simon Morlat
610f31c95f add java bindings for new payload type related API 2014-05-07 12:06:32 +02:00
Simon Morlat
c8cdbdd543 allow setting explicit bitrate for video codecs 2014-05-07 12:04:53 +02:00
Simon Morlat
ad32d0f58c remove check for android, not true for opus 2014-05-05 12:58:06 +02:00
Jehan Monnier
b5117cf71e Answer 504 to UPDADE requests received in a confirmed dialog 2014-05-05 12:03:46 +02:00
Simon Morlat
fb2b7ee40d ipv6 detection fix 2014-05-05 11:47:19 +02:00
Simon Morlat
eba52ef155 fix bad handling of link-local ipv6 addresses 2014-05-05 11:27:35 +02:00
Simon Morlat
e942c6590b fix clang warning 2014-05-05 11:03:46 +02:00
Simon Morlat
4296c3945c update oRTP, fix bad error output, and restore UPDATE method in allow header (removed by mistake) 2014-05-02 23:22:36 +02:00
Simon Morlat
3a6aa9f08d deep modifications about audio & video codec bitrates are handled.
- vbr codecs can automatically have different output bitrates depending on whether video is used and/or allowed total output bandwidth
- application can specify an output IP bitrate for a given codec, which allows to control the quality of vbr codecs.
Note: a belle-sip upgrade is required to fix a bug around channels parsing in rtpmap.
2014-05-02 20:24:51 +02:00
Simon Morlat
f6d63524d3 fix declared number of channels in SDP for opus codec, to follow opus-rtp draft.
add ugly hack to allow older versions of linphone to call new versions with opus.
2014-05-01 12:14:05 +02:00
Gautier Pelloux-Prayer
1d7d5f47eb fix crash in quality reporting if ip was not valid on call end 2014-04-28 17:53:53 +02:00
Gautier Pelloux-Prayer
037859f83a do not use _() macro for quality reporting data since this macro is used for localized text (gettext) 2014-04-28 12:00:49 +02:00
Gautier Pelloux-Prayer
2b5e2f2a81 submit quality report on call end instead of on call release and add doxygen documentation 2014-04-28 11:27:53 +02:00
Simon Morlat
7553aa6492 - linphone now puts Route headers in requests (except register) for outbound proxy configurations, according to RFC3261
This behavior can be reverted by putting [sip]->use_no_initial_route=1 in the configuration file.
- accept presence NOTIFY without bodies, instead of replying 415
- remove belle-sip warning at start due to stack not created early enough.
2014-04-25 23:13:26 +02:00
Jehan Monnier
078e2d461d change LinphoneEvent from/to management to only use op 2014-04-25 15:07:37 +02:00
Simon Morlat
0e9a92ef5a declare prototype 2014-04-24 19:05:01 +02:00
Margaux Clerc
d38ec1eebe Add missing file in Makefile 2014-04-24 09:33:39 +02:00
Simon Morlat
811223d35f reset error_info in case of success 2014-04-23 16:57:10 +02:00
Jehan Monnier
2d1c999fc5 add proxy config setter for publish expiration 2014-04-23 12:50:16 +02:00
Ghislain MARY
25a3df8060 Link against libgcc and libmingwex when compiling for Windows with CMake. 2014-04-23 10:39:42 +02:00
Gautier Pelloux-Prayer
95b0718a4a cast size_t to unsigned long when using printf since some compilers complain about bad format conversion 2014-04-23 10:08:39 +02:00
Margaux Clerc
ff7d1a7091 Value uninitialized 2014-04-23 09:15:41 +02:00