Commit graph

538 commits

Author SHA1 Message Date
Simon Morlat
31f304b9d0 fix crash when attempting to change the camera for video stream that is not started 2015-03-24 21:29:46 +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
Gautier Pelloux-Prayer
67618dbd3b linphonecall.c: when call parameters have been changed, modify the display status accordingly 2015-03-23 17:03:25 +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
Jehan Monnier
5035992c64 Merge remote-tracking branch 'private/dev_lime'
Conflicts:
	coreapi/linphonecall.c
2015-03-12 15:08:35 +01:00
Jehan Monnier
8df520011a Make sure encryption mandatory is taken into account for alto like ZRTP or DTLS 2015-03-11 14:15:59 +01:00
Sylvain Berfini
db7ba6939a Changes regarding mic gain + changes for echo cancelation on Android 2015-03-10 12:11:56 +01:00
Gautier Pelloux-Prayer
1852c2ae0c Logging: improve log formatting of statistics to align correctly 2015-03-09 11:56:20 +01:00
Simon Morlat
7a295dbc21 fix ugly log 2015-03-03 20:49:24 +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
Ben Sartor
cc8a3a9f7c configfile now supports setting zrtps cipher and auth tag
Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
2015-03-02 21:12:58 +01:00
Guillaume BIENKOWSKI
1af008598f NULL-checks for DTLS activation. 2015-03-02 16:58:53 +01:00
François Grisez
d490d30787 Fix regretion on DTMF."DTMF sequence canceled if call state changed" 2015-03-02 11:44:20 +01:00
Johan Pascal
d133ebd5eb Merge remote-tracking branch 'linphone-public/master' into dev_lime 2015-02-26 22:46:24 +01:00
Jehan Monnier
65734e818d move android lock mgt to call state cb 2015-02-25 12:22:47 +01:00
Simon Morlat
c7aa499ddb telephone-event and confort noise are not so necessary in video streams, actually. 2015-02-24 22:12:15 +01:00
Simon Morlat
49a91becb7 cleanups, add network simulation api to liblinphone 2015-02-24 18:11:12 +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
Johan Pascal
00ef853170 Give DTLS fingerprint to context as soon as possible(do not wait for ice) 2015-02-19 14:02:13 +01:00
Jehan Monnier
213206027f rework dtls start 2015-02-18 17:56:47 +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
Jehan Monnier
e1291ba3ea rework a bit dtls 2015-02-17 17:05:10 +01:00
Jehan Monnier
ccb890ad94 simplify dtls session/media description attributes mgt 2015-02-16 17:50:41 +01:00
Jehan Monnier
fd0a7cfd73 add more DTLS tests 2015-02-13 18:01:56 +01:00
Simon Morlat
90ee807c7e event queue needs to be unregistered since RtpSession is kept 2015-02-11 09:31:09 +01:00
Simon Morlat
e9f89d162f do not unregister event queue while msticker is still running with the RtpSession.
The stream must be first stopped, then queue can be destroyed safely
2015-02-10 15:12:21 +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
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
Ghislain MARY
1d080cb1f5 Add default_max_bandwidth parameter and apply it to video when no bandwidth is specified in the signalling. 2015-02-05 17:54:03 +01:00
Simon Morlat
7798932b93 fix to previous commit: a real local interface must be decided and bound to to send multicast.
For unicast calls, continue to bind to 0.0.0.0 as we need it for multi-homed environments.
2015-02-05 01:16: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
François Grisez
2ef0e530b6 Fix compilation. Compatibility with C99 2015-02-04 16:19:33 +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
06fc0526ec multicast impl 2015-02-04 12:17:14 +01:00
Margaux Clerc
8484642ce2 Add video ifdef 2015-02-04 10:57:38 +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
92c1c6d4ac code cleaning
remove useless DTLS debug traces
2015-01-31 22:40:56 +01:00
Simon Morlat
cced42ebc5 add test for generic CN, update oRTP and ms2 2015-01-30 20:00:35 +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
Johan Pascal
54e91b6394 Update srtp to rely on stream sessions structure and not complete stream structure 2015-01-12 15:35:28 +01:00
Gautier Pelloux-Prayer
9e6fa8ceb6 Doxygen: replace invalid @returns with @return 2015-01-09 11:42:05 +01:00
Johan Pascal
5fdf3b82ba Enable DTLS-SRTP protection on video stream 2015-01-08 12:56:10 +01:00
Johan Pascal
e93a80f322 Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-05 18:17:05 +01:00
Johan Pascal
88e2ba7625 move srtp from ortp to mediastreamer2 2015-01-05 15:02:52 +01:00
Jehan Monnier
7fe891b4ae add ice option to enable backward compatibility with previous version of ice 2014-12-27 19:45:19 +01:00
Jehan Monnier
d7437ef1f5 enable ice with tunnel 2014-12-22 21:47:35 +01:00