Commit graph

10890 commits

Author SHA1 Message Date
Ghislain MARY
652471f66f Defer call update when adding video during communication if ICE is activated to wait for ICE candidates gathering to finish. 2012-08-01 15:24:15 +02:00
Ghislain MARY
981accf8bb Do not create an ICE check list if it has already been created. 2012-08-01 15:11:39 +02:00
Sylvain Berfini
deb7ed6d93 Exported is_network_reachable method through JNI 2012-08-01 14:03:28 +02:00
Ghislain MARY
bb80550705 Delete ICE session, when its state is Failed after receiving an answer from the peer (probably caused by ice-mismatch attributes). 2012-08-01 11:34:51 +02:00
Ghislain MARY
8e50e1c2bd Fix some more crashes related to asynchronous ICE candidates gathering. 2012-08-01 11:32:36 +02:00
Ghislain MARY
922caf698f Fix some crashes related to asynchronous ICE candidates gathering. 2012-08-01 09:52:51 +02:00
Ghislain MARY
950c65ffd9 Defer ringing when ICE is activated to be able to gather local candidates. 2012-08-01 09:29:19 +02:00
Ghislain MARY
53d44ea8ee Add some checks to prevent crashes. 2012-07-31 17:10:53 +02:00
Jehan Monnier
9a0097a974 fix IOS camera localized name issue 2012-07-31 16:22:25 +02:00
Ghislain MARY
6d0083a1f4 Asynchronous ICE candidates gathering. 2012-07-31 12:12:06 +02:00
Simon Morlat
d36cc880b8 merge patch to indicate whether video is active in linphonec 2012-07-31 11:28:44 +02:00
Jehan Monnier
e2d0579e6b First working version 2012-07-27 18:24:08 +02:00
Ghislain MARY
3c3051a0be Set the state of an ICE check list to Failed if an ice-mismatch attribute is received for it. 2012-07-27 16:02:31 +02:00
Ghislain MARY
72360e58a5 Check for ICE mismatch and add the ice-mismatch attribute in the SDP if there is a mismatch. 2012-07-27 15:33:28 +02:00
Ghislain MARY
682e19e665 Specify default ICE remote candidates. 2012-07-27 12:10:35 +02:00
Yann Diorcet
14fc5446d0 Fix Decline/Missed call log 2012-07-26 16:17:46 +02:00
Yann Diorcet
771cff4252 Update ms2 2012-07-26 15:38:02 +02:00
Ghislain MARY
dc4c620474 Include ice-ufrag and ice-pwd attributes in RE-INVITE. 2012-07-26 12:21:37 +02:00
Ghislain MARY
cec1d35fed Handle the case where ICE is activated locally but the remote does not support it. 2012-07-26 11:28:26 +02:00
Ghislain MARY
df347a9733 Handle case where ICE is activated and the configured STUN server do not reply. 2012-07-26 10:49:12 +02:00
Ghislain MARY
3cca370ef1 Handle received ICE remote-candidates attribute in SDP. 2012-07-26 09:55:32 +02:00
Sylvain Berfini
75e09c9613 Updated builtin echo canceller devices list 2012-07-25 17:23:51 +02:00
Sylvain Berfini
78565bae79 update ms2 2012-07-25 17:21:16 +02:00
Ghislain MARY
0ec0c0afa1 Add remote-candidates attributes in the SDP in RE-INVITE when ICE process has processed successfully. 2012-07-25 16:41:31 +02:00
Sylvain Berfini
46a3895185 Fix SIGSEV when pausing call 2012-07-25 16:21:35 +02:00
Ghislain MARY
a45b6fbd73 Add raddr and rport values in ICE candidate attributes in the SDP. 2012-07-25 15:32:51 +02:00
Ghislain MARY
dc308bc2c6 Only include ICE candidates matching the default destination for each component of the stream in RE-INVITE for Completed check lists. 2012-07-25 12:54:25 +02:00
Ghislain MARY
20c2ba6ff2 ICE API change. 2012-07-25 11:18:05 +02:00
Ghislain MARY
b11704376f Good timing handling for STUN request during ICE candidates gathering. 2012-07-24 16:03:55 +02:00
Ghislain MARY
d3b07fe32d Eliminate ICE redundant candidates. 2012-07-24 15:04:19 +02:00
Sylvain Berfini
0121763b41 ms2 update 2012-07-24 11:37:48 +02:00
Ghislain MARY
ebdfca041b Specify remote RTCP address explicitly. 2012-07-23 15:26:18 +02:00
Ghislain MARY
f97f51d4f3 Specify local RTCP port explicitly. 2012-07-23 14:28:19 +02:00
Ghislain MARY
55cb3fa3ed Parse the rtcp attribute in the SDP if present. 2012-07-23 13:37:10 +02:00
Ghislain MARY
3d0f4b369b Add RTCP attribute for each media stream when ICE is activated. 2012-07-23 12:03:17 +02:00
Ghislain MARY
1ed0fa066e Re-Invite when ICE processing is finished successfully. 2012-07-23 10:52:53 +02:00
Ghislain MARY
ba85ea0b32 Fix putting media specific c= line in the SDP. 2012-07-20 17:24:38 +02:00
Ghislain MARY
4a0f37147c Only the Controlling ICE agent sends the re-invite. 2012-07-20 17:23:57 +02:00
Ghislain MARY
5f622db086 Send RE-INVITE when the ICE session processing finishes successfully. 2012-07-20 15:38:57 +02:00
Ghislain MARY
83bc61b27b Callback registering is now useless (use event queues instead). 2012-07-20 14:46:41 +02:00
Ghislain MARY
4c527f6466 The ICE check lists are destroyed automatically when destroying the ICE session. 2012-07-20 12:15:56 +02:00
Ghislain MARY
ca3536d4e1 Fix number of media streams in 200 OK SDP. 2012-07-20 10:05:41 +02:00
Ghislain MARY
6066dbc529 Fix ICE roles. 2012-07-20 09:58:59 +02:00
Ghislain MARY
6857091ea9 Moved ICE session and check lists respectively from LinphoneCall and SalMediaDescription to SalOp. 2012-07-19 15:03:27 +02:00
Ghislain MARY
91c9eff049 Copy ICE check list pointers between media descriptions. 2012-07-19 15:03:27 +02:00
Ghislain MARY
2ef1e7c9cd Gather ICE candidates on incoming call. 2012-07-19 15:03:27 +02:00
Ghislain MARY
3020133c80 Allocate ICE session when parsing SDP on incoming call. 2012-07-19 15:03:27 +02:00
Ghislain MARY
c93c092cf3 Parse ICE attributes when receiving SDP. 2012-07-19 15:03:27 +02:00
Ghislain MARY
afe90f2be9 Create ICE session when receiving an incoming call if this is necessary. 2012-07-19 15:03:27 +02:00
Ghislain MARY
f8f3db359c Define ICE session role explicitly. 2012-07-19 15:03:27 +02:00