Commit graph

394 commits

Author SHA1 Message Date
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
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
Gautier Pelloux-Prayer
f07b7be07a Fix compilation 2014-11-04 14:04:08 +01:00
Jehan Monnier
78c11c8f6e compute call log duration since connected state instead of from call creation 2014-10-20 22:49:40 +02:00
Ghislain MARY
4717028ded Allow sending a chat message containing a file from its path. 2014-10-20 11:09:49 +02:00
Ghislain MARY
2f47ffacd3 Change file transfer progression indication to have the number of bytes sent/received and the total. 2014-10-20 11:05:27 +02:00
François Grisez
fd75b79477 Add a destroy function to the Linphone Player Interface 2014-10-15 14:34:15 +02:00
François Grisez
f89751515f Add two getter the the LinphonePlayer interface 2014-10-07 13:53:02 +02:00
Ghislain MARY
1d10e749b5 Add API to store the logs in files and to upload them on a server. 2014-10-06 11:45:27 +02:00
Ghislain MARY
e5311281fc Store the file transfer server in the linphonerc file. 2014-10-06 11:41:48 +02:00
Simon Morlat
c54e3af5e0 add tester for call player 2014-09-22 16:33:25 +02:00
Guillaume BIENKOWSKI
b7c6893d27 Video source reuse API 2014-09-19 16:03:59 +02:00
Simon Morlat
df58cddb5d clean proxy config in linphone_core_destroy() 2014-09-17 13:21:57 +02:00
Simon Morlat
a08e2635b6 add setting to LinphoneCore to enable avpf even for calls out of proxies. 2014-09-17 11:09:37 +02:00
Jehan Monnier
251ba960c5 add new functions linphone_core_add_listener to enable multiple vtable to be registered 2014-09-16 15:00:12 +02:00
François Grisez
37be673607 Add a private FirewallPolicy getter which return NoFirewallPolicy whether a tunnel is enabled 2014-09-15 15:55:10 +02:00