Commit graph

286 commits

Author SHA1 Message Date
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
Simon Morlat
8f7a1ee5d5 fix audio only build 2015-03-19 17:21:24 +01:00
Ghislain MARY
59860a2ab7 Also test that the video stream is started to try early-media forking. 2015-03-19 12:08:13 +01:00
Simon Morlat
9ef35e8f77 fix crash when receiving no SDP in 200 OK and ICE is enabled 2015-03-15 17:16:02 +01:00
Ghislain MARY
b886fbda41 Play a ringback tone when an early-media call is accepted with inactive audio. 2015-03-02 17:25:52 +01:00
Guillaume BIENKOWSKI
1af008598f NULL-checks for DTLS activation. 2015-03-02 16:58:53 +01:00
Jehan Monnier
11ffe4f943 move rtp_session_set_symmetric_rtp for ice to the completion of ice 2015-02-19 17:17:40 +01:00
Guillaume BIENKOWSKI
a971445719 Fix problem with missing SDP in 200 OK when the call is in early-media. We should recover correctly, we were not.
Also introduced the corresponding unit test.
2015-02-18 15:16:08 +01:00
Jehan Monnier
fd0a7cfd73 add more DTLS tests 2015-02-13 18:01:56 +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
c9376cc2dd Add parameter and API to allow ringing while in the incoming early media call state. 2015-02-06 19:03:03 +01:00
Ghislain MARY
0f12a36b67 Allow queuing several incoming calls instead of declining all of them except the first. 2015-02-06 15:30:05 +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
5dc7fa8d1a make sure multicast and unicast eraly media call forking work 2015-02-04 12:17:15 +01:00
Johan Pascal
219451388d Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-27 10:42:06 +01:00
Guillaume BIENKOWSKI
7acf4df883 Add a unit test for a no-sdp reinvite after a pause, and implement a correction to handle this case. 2015-01-23 14:30:38 +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
Jehan Monnier
d7437ef1f5 enable ice with tunnel 2014-12-22 21:47:35 +01:00
Guillaume BIENKOWSKI
b8e643f7b1 Fix reinvite in case of redirection: we should use the linphone_core_restart_invite function, which correctly handles the streams close/reopen 2014-12-03 12:29:03 +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
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
Gautier Pelloux-Prayer
abe5a19431 Do not crash if SDP could not be parsed and had some unit tests. - avoid crash if missing SDP in REINVITE ACK - resume previous media parametrs instead of aborting call in case of invalid SDP in REINVITE 2014-11-06 17:25:36 +01:00
Simon Morlat
965add9d6e add new states LinphoneCallEarlyUpdating and LinphoneCallEarlyUpdatedByRemote to properly handle the early dialog UPDATE scenarios.
fix test suite.
2014-10-20 15:10:40 +02:00
Jehan Monnier
3c955d1680 add option sip,call_logs_use_asserted_id_instead_of_from to update call logs from value with value from P-Asserted-identity 2014-10-15 13:35:53 +02:00
Simon Morlat
3e1e3c93f4 fix crash when declining an update
refine conditions for refusing an UPDATE
2014-09-25 14:15:06 +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
c8a7b144c6 fix problem when receiving a pause request after putting the other party in pause. 2014-09-12 14:38:47 +02:00
Simon Morlat
513ef5f7e7 fix uninitialized LinphoneContent 2014-09-12 12:10:49 +02:00
Guillaume BIENKOWSKI
2d9de5a1bd Handle NULL ringback tones + setup iOS tester correctly for AudioQueue and no ringback tone 2014-09-11 11:42:11 +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
Ghislain MARY
eaa1d6bb1d Add reference count handling to the LinphoneCallParams object. 2014-09-01 14:58:32 +02:00
Guillaume BIENKOWSKI
d28e18e058 Null-check the auth-info when it fails. In some cases it could be Nil 2014-08-26 11:34:31 +02:00
Simon Morlat
c68dd94acb allow notification of registration_state_changed callback for removed proxy configs. 2014-08-21 17:01:55 +02:00
Simon Morlat
b214e21ffe prevent receiving an incoming call when another is in the IncomingEarlyMedia state. 2014-07-01 22:51:01 +02:00
Simon Morlat
0d5af07a7e fix memory leaks 2014-06-10 16:30:47 +02:00
Ghislain MARY
6f95bbc5d2 Fix bug 0001279: Wrong usage of n_active_streams in the media descriptions.
Inactive streams are now allowed between active streams in the SDP.
2014-06-10 13:26:41 +02:00
Simon Morlat
10c9de93ca implement early media forking at client side 2014-06-04 15:16:21 +02:00
Ghislain MARY
2110281d2e Handle AVPF and SAVPF profiles. 2014-06-02 11:02:40 +02:00
Simon Morlat
8c2e4d9e80 increment sdp session id when making a response to pause/resume request
don't accept linphone_core_update_call() outside of StreamsRunning state.
2014-05-30 12:06: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
39f9ec6a48 improve LinphoneEvent api:
- better error notification
- allow publish without expires
2014-04-11 10:00:13 +02:00
Simon Morlat
7bd50e004f allow usage of system-choosen random ports.
Implies a lot of refactoring in streams management.
2014-04-07 17:37:50 +02:00
Simon Morlat
5cff5bebe5 fix bad enum cast and invalid enum translation 2014-03-28 17:12:49 +01:00
Simon Morlat
c25273e9ca add C function to disable chat 2014-03-25 12:48:50 +01:00
Simon Morlat
546dcfb160 enable real early media sending for incoming calls. 2014-03-25 10:58:18 +01:00
Simon Morlat
269f8d1c4e add new API to obtain full details about failures (calls, registration, events).
Fix bug when receiving a 487 after cancelling call, resulting in a call waiting tone to be played.
2014-03-21 18:15:28 +01:00