Commit graph

370 commits

Author SHA1 Message Date
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
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
Simon Morlat
6337fe8429 fix crash in test and memory leak of LinphoneCallParams 2014-09-08 22:05:29 +02:00
Simon Morlat
f4a4a6440b Support for incoming UPDATEs within dialog.
For tests, the possibility to send an UPDATE with linphone_core_update_call() has been added thanks to a $
Added possibility to configure Supported SIP header.
2014-09-08 19:02:29 +02:00
Gautier Pelloux-Prayer
aed5bd789a Improve tunnel test: check that SIP packet actually use the tunnel 2014-09-08 14:20:31 +02:00
Guillaume BIENKOWSKI
3c32fd4397 Fix remote provisioning zero-length values. Fixes #1457 again. 2014-09-04 16:10:34 +02:00
Ghislain MARY
eaa1d6bb1d Add reference count handling to the LinphoneCallParams object. 2014-09-01 14:58:32 +02:00
Ghislain MARY
6639e57535 Fix crash in Python wrapper when the core is destroyed before the chat rooms. 2014-09-01 10:52:41 +02:00
Simon Morlat
2c90f5e702 add player api, fix bug in linphone_core_terminate_conference() 2014-08-31 21:58:32 +02:00
Simon Morlat
9c396a9cd9 Fix big crash in call logs because logs built from linphonerc were constructed using ms_new0(LinphoneCallLog,1). 2014-08-31 10:56:37 +02:00
Ghislain MARY
1caa2d8de3 Add reference count handling to LinphoneCallLog objects. 2014-08-29 15:07:13 +02:00
Ghislain MARY
b4963d9f70 Put call log related code in its own files. 2014-08-29 14:39:34 +02:00
Jehan Monnier
272b40e149 make sure rtp port are released even in case of call error 2014-08-27 16:58:54 +02:00
Ghislain MARY
294916d0eb Use belle-sip reference counting for LinphoneChatRoom objects. 2014-08-27 12:37:58 +02:00
Ghislain MARY
ec11864066 Remove duplicated user pointer. 2014-08-22 17:57:45 +02:00
Ghislain MARY
3d512a019c Fix update of primary contact. 2014-08-22 14:47:45 +02:00
Ghislain MARY
aa5f676dcd Improve fetching of the local IP to take into account the destination. 2014-08-21 17:51:01 +02:00
Simon Morlat
c68dd94acb allow notification of registration_state_changed callback for removed proxy configs. 2014-08-21 17:01:55 +02:00
Ghislain MARY
b6a9bdeed5 Use belle-sip reference counting for LinphoneProxyConfig and LinphoneCall objects. 2014-08-21 16:20:12 +02:00
Johan Pascal
ce24877b9d File transfer: add a cancel function to the core
- allow cancellation during upload or download
+ fix bug in file transfer message tester
2014-07-29 21:16:01 +02:00
Gautier Pelloux-Prayer
82ec76a4e1 Reuse previous nonce if outbound proxy realm is set to avoid reauthentication 2014-07-25 14:37:01 +02:00
Jehan Monnier
a3f96a73cb add config param to disable vfu request 2014-07-08 08:33:02 +02:00
Simon Morlat
7e0e6ff1be allow setting output framerate, get actual sent and received framerate from call params 2014-07-03 13:16:46 +02:00
Simon Morlat
65d70e3448 add linphone core api and setting to allow forcing the video capture size, and take a snapshot of preview during calls. 2014-07-02 23:35:39 +02:00
Simon Morlat
85e6548b59 add setting to disable symmetric rtp 2014-07-02 15:13:08 +02:00
Simon Morlat
570be5ea3f Merge remote-tracking branch 'private/dev_recorder'
Conflicts:
	mediastreamer2
2014-07-02 11:56:57 +02:00