Commit graph

416 commits

Author SHA1 Message Date
Margaux Clerc
a2561ca88c Add ref counting on LinphoneFriend 2015-04-14 17:04:48 +02:00
Ghislain MARY
74ad3ed63f Add linphonerc option to disable video during pause. 2015-04-10 11:45:47 +02:00
Jehan Monnier
1fd8e12180 change local ip management to take into account new bind_address settings for both media and sig 2015-04-03 14:03:15 +02:00
eburke
90ba818cbf updated b256 patch fixing a crash when new config vars don't exist
Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
2015-03-25 23:38:15 +01:00
Jehan Monnier
a56d4e495e store cam setting in call context to be able to manage webcam configuration, call by call, specially useful to set nowebcam in Pausing state only. 2015-03-24 13:56:56 +01:00
Jehan Monnier
15b915e036 -No longer rewrite callparams->has_video, but use dedicated params to save offers answer result regarding video
-Invoke FIR in method linphone_core_send_vfu_request
-Invoke CallStatsUpdated even in case of scheduled updates
-Fix media direction in case of paused/resumed with paused by « inactive »
2015-03-23 12:49:31 +01:00
François Grisez
0ce5a5f7df Add a config parameter to avoid linphone to save authentication data 2015-03-19 14:18:22 +01:00
Simon Morlat
b2b1410a69 fix multiple memory leaks 2015-03-13 15:18:08 +01:00
Jehan Monnier
5035992c64 Merge remote-tracking branch 'private/dev_lime'
Conflicts:
	coreapi/linphonecall.c
2015-03-12 15:08:35 +01:00
Simon Morlat
c7a6cb0986 fix vtables
linphone_core_remove_listener() can safely be called from within a callback.
don't destroy the vtable in linphone_core_destroy(), similar to what is done with linphone_core_remove_listener().
2015-03-10 15:25:02 +01:00
Ben Sartor
e2dbfd5477 configfile now supports setting zrtps key agreements
Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
2015-03-02 21:13:06 +01:00
Ghislain MARY
0d75cb32a3 Fix build of tester and lp-gen-wrappers with Visual Studio. 2015-02-27 14:14:54 +01:00
Johan Pascal
d133ebd5eb Merge remote-tracking branch 'linphone-public/master' into dev_lime 2015-02-26 22:46:24 +01:00
Simon Morlat
49a91becb7 cleanups, add network simulation api to liblinphone 2015-02-24 18:11:12 +01:00
Jehan Monnier
2d30e846d8 fix multicast lock crash + enable dtls for android 2015-02-23 13:40:48 +01:00
Simon Morlat
41a3e1e06d rework multicast. It is not necessary to bind to the multicast address. 0.0.0.0 just works while the binding to the multicast address is rejected on windows
fixes reading provisionning config file from disk on windows.
2015-02-17 23:43:20 +01:00
Simon Morlat
5dbc66938c rename LinphoneCallParamsMediaDirection into LinphoneMediaDirection, as it has no reason to be attached to LinphoneCallParams and could be re-used in other contexts. 2015-02-07 13:30:30 +01:00
Simon Morlat
7b62f3313d repair linphone, broken by previous commit implementing stream directions. 2015-02-07 13:23:33 +01:00
Simon Morlat
589d3cd540 appnaping improvements
- take a background task during the ice gatethering for incoming call
- add timestamps to gtk debug window, which was required to investigate the issue.

Requires up to date belle-sip
2015-02-06 19:31:42 +01:00
Ghislain MARY
0d94ad277f Handle media direction when creating the local media description according to the call params. 2015-02-06 19:04:11 +01:00
Simon Morlat
59758df62d add custom header API to proxy config 2015-02-05 20:34:38 +01:00
Simon Morlat
9b95f24fc3 avoid multiple warnings due to ms_is_multicast() not used correctly, make code stream type agnostic 2015-02-05 00:09:46 +01:00
Jehan Monnier
a08aacea3f add android support for multicast rtp 2015-02-04 12:17:15 +01:00
Jehan Monnier
3e1a1430f4 add Android wifi lock management at LinphoneCall level 2015-02-04 12:17:15 +01:00
Jehan Monnier
5dc7fa8d1a make sure multicast and unicast eraly media call forking work 2015-02-04 12:17:15 +01:00
Jehan Monnier
98448654d3 add lc default value for call param real_early_media 2015-02-04 12:17:15 +01:00
Jehan Monnier
06fc0526ec multicast impl 2015-02-04 12:17:14 +01:00
Ghislain MARY
ecf4ba1b5c Enable setting a different video window id for each call. 2015-02-02 14:25:57 +01:00
Johan Pascal
219451388d Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-27 10:42:06 +01:00
Simon Morlat
16180e2430 change the way payload type numbers are assigned, so that an application can support more payload type than the RTP profile table allows to contain.
Compliance with RFC3264 (offer answer model) is improved, by reusing numbers in case of reINVITEs.
Fix memory leaks
Move offer/answer related tests into a new test suite.
2015-01-21 22:38:46 +01:00
Johan Pascal
85ca8c3cac Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-14 00:16:11 +01:00
Gautier Pelloux-Prayer
b8f297f6be Change linphone_proxy_ocnifg_normalize_number API to return a boolean value: TRUE if input was a phone number, FALSE otherwise
Conflicts:
	coreapi/linphonecore.h
2015-01-08 11:39:25 +01:00
Johan Pascal
e93a80f322 Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-05 18:17:05 +01:00
Jehan Monnier
d7437ef1f5 enable ice with tunnel 2014-12-22 21:47:35 +01:00
Jehan Monnier
3939954500 add ssrc attribute in case of srtp dtls 2014-12-15 13:04:40 +01:00
Ghislain MARY
89565386ac Working file transfer in Python.
- Add the LinphoneBuffer object so that file transfer callbacks do not pass out parameters
- Use the LinphoneBuffer object in the file transfer callbacks
- Implement the file_transfer_send callback in the Python file transfer test
2014-12-10 16:35:19 +01:00
Johan Pascal
8637eacae5 Merge remote-tracking branch 'origin/master' into dev_dtls
Conflicts:
	mediastreamer2
	oRTP
2014-12-10 15:18:14 +01:00
Johan Pascal
b986af3733 Add dtls srtp 2014-12-10 15:11:36 +01:00
Guillaume BIENKOWSKI
dc2d250d99 Perform sound card usage check when a call is dismissed or when a call transitions to pausing state 2014-12-10 14:23:10 +01:00
Ghislain MARY
6b2be053e9 Improve change of identity of a proxy config.
- Add the function linphone_address_equal().
- The comparison of two proxy config addresses now returns one of these three values: equal, weak-equal or different.
- If the new proxy config identity is equal to the previous one, a call to linphone_proxy_config_done() does not
unregister and does not delete the sal op. If it's weak-equal the sal op is destroyed but the unregister is not
done. Finally, if it's different the unregister is performed and the sal op is destroyed.
2014-12-09 10:14:33 +01:00
Ghislain MARY
a6cfecf3e4 Handle events in classes other than LinphoneCore.
Callbacks getters still need to be implemented correctly.
2014-12-05 16:14:04 +01:00
Sylvain Berfini
3f53d5f045 Reworked jni layer to be able to set multiple vtables for callbacks in android app 2014-11-28 17:23:39 +01:00
Guillaume BIENKOWSKI
e6209d9051 Merge commit '2e515642f07eb33974583587ddb2ee4669d4ff29' into dev_lime
Conflicts:
	coreapi/chat.c
2014-11-27 18:01:33 +01:00
Ghislain MARY
4ac1ccdf05 Handle the callbacks associated with a chat message directly in the LinphoneChatMessage object instead of in the LinphoneCore object. 2014-11-24 16:16:17 +01:00
Guillaume BIENKOWSKI
8934000867 Fix message tester when no storage is used 2014-11-24 11:53:43 +01:00
Ghislain MARY
9cabfe37dd A LinphoneContent object now owns all its data fields including the buffer.
A normal LinphoneContent object will now copy the data from the given buffer when calling linphone_content_set_buffer().
However LinphoneContent objects converted from LinphoneContentPrivate structures do not own its data fields.
2014-11-20 17:27:26 +01:00
Ghislain MARY
35189535a7 Convert LinphoneContent from a simple struct to a belle-sip object to ease generation of wrappers. 2014-11-18 16:42:16 +01:00
Simon Morlat
2e515642f0 fix bad call state notification (Released) when receiving a call with incompatible codecs.
Normally this should not trigger any notification.
Fix bug allowing two incoming calls to be notified if ICE is used.
2014-11-18 16:01:51 +01:00
Simon Morlat
d0095948b9 Allow the tunnel mode to work with any proxy config (except for sips destinations)
fix the tunnel tests, that were not working correctly.
2014-11-14 20:17:54 +01:00
Gautier Pelloux-Prayer
0aabc05145 Add linphone_call_send_dtmfs method to allow sending a DTMF sequence instead of a single one, and add a test suite 2014-11-12 14:58:19 +01:00