Commit graph

511 commits

Author SHA1 Message Date
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
Simon Morlat
8f633b21fc fix stack overflow. 2014-12-18 16:17:26 +01:00
Ghislain MARY
33aaac313b Fix compilation with Visual Studio. 2014-12-16 11:32:51 +01:00
Jehan Monnier
551cb17583 fix crash in outgoing call case 2014-12-16 11:22:14 +01:00
Jehan Monnier
8d13609402 various ice fix for better interwork 2014-12-15 16:02:27 +01:00
Jehan Monnier
3939954500 add ssrc attribute in case of srtp dtls 2014-12-15 13:04:40 +01:00
Simon Morlat
1ac1cd5fe8 fix RtpTransport leak on video side as well 2014-12-12 18:56:14 +01:00
Simon Morlat
f48780782c fix compilation 2014-12-12 16:54:30 +01:00
Simon Morlat
1cf049cabd fix leak of RtpTransport when call is updated/paused. Fix reporting of bandwidth, which was displayed even if the stream was inactive. 2014-12-12 16:46:37 +01:00
Jehan Monnier
45e1da743c make sure rtp destination is change as soon as ice is terminated 2014-12-12 15:47:09 +01:00
François Grisez
db5fc6ea89 Fix the reading of .linpohne.ecstate 2014-12-12 12:12:44 +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
Jehan Monnier
273207b25c differentiate rtp/rtcp bandwidth reporting 2014-12-08 18:07:06 +01:00