Commit graph

177 commits

Author SHA1 Message Date
Ghislain MARY
7b5bddf359 Deactivate symmetric RTP when ICE is in use. 2012-08-14 12:37:21 +02:00
Ghislain MARY
202821d4f5 Merge branch 'master' into dev_ice 2012-08-10 13:21:45 +02:00
Ghislain MARY
66f80b83ff Fix compilation when video is not enabled. 2012-08-10 12:49:04 +02:00
Simon Morlat
6f9b9458f7 add config entry to finely select audio stream features 2012-08-09 16:08:21 +02:00
Ghislain MARY
4b8a215735 Can now use ICE and ping OPTIONS in parallel. 2012-08-09 15:45:22 +02:00
Ghislain MARY
ccfd3c7b2d Update of ICE from remote media description may delete the ICE session, so check that the session exists after the update to prevent crashes. 2012-08-09 14:47:20 +02:00
Ghislain MARY
d0e7a66501 Refactor code to prevent changing linphone_core API. 2012-08-09 13:04:19 +02:00
Ghislain MARY
c6dfd648a9 Restart ICE if requested by ICE itself. 2012-08-08 14:53:27 +02:00
Ghislain MARY
d3851711b1 Defer sending of answer of re-invite when there are some ICE losing candidate pairs. 2012-08-08 13:14:06 +02:00
Ghislain MARY
3611187779 Use ICE selected pairs instead of nominated valid pairs. 2012-08-08 11:43:51 +02:00
Ghislain MARY
dbb1253c6d If ICE processing fails, delete the ICE session. 2012-08-07 16:35:43 +02:00
Ghislain MARY
3bf2dea300 Change of mediastream2 API. 2012-08-07 13:44:18 +02:00
Ghislain MARY
5742b453cd Handle conversion between media description and ice session. 2012-08-06 11:41:29 +02:00
Ghislain MARY
6f2853c8a0 Redesign ICE integration to prevent Sal from depending on ICE.
- Move the ICE session from the Sal Op to the LinphoneCall.
 - Do not access directly to the ICE session to generate the SDP from
   the media description or to generate the media description from the
   SDP. Instead include ICE attributes in the media description.
2012-08-06 11:16:16 +02:00
Ghislain MARY
93db3330b6 Prevent crash, video stream may not exist at this time. 2012-08-02 18:03:48 +02:00
Ghislain MARY
65c46c6cb8 Defer acceptation of video activation to gather ICE candidates if ICE is enabled. 2012-08-02 12:16:25 +02:00
Ghislain MARY
e5103d7a76 Remove ICE check list from the session when removing video from the communication. 2012-08-01 17:22:37 +02:00
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
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
6d0083a1f4 Asynchronous ICE candidates gathering. 2012-07-31 12:12:06 +02:00
Yann Diorcet
14fc5446d0 Fix Decline/Missed call log 2012-07-26 16:17:46 +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
20c2ba6ff2 ICE API change. 2012-07-25 11:18:05 +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
1ed0fa066e Re-Invite when ICE processing is finished successfully. 2012-07-23 10:52:53 +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
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
afe90f2be9 Create ICE session when receiving an incoming call if this is necessary. 2012-07-19 15:03:27 +02:00
Ghislain MARY
c87250cb9a Gather ICE server reflexive candidates when starting an outgoing call. 2012-07-19 15:03:27 +02:00
Ghislain MARY
47b52bbcdb Allocate ICE session and check lists for each stream when ICE is enabled. 2012-07-19 15:03:27 +02:00
Simon Morlat
f5555cc7ff enhance documentation 2012-06-21 12:13:10 +02:00
Simon Morlat
23d589cec0 fix bugs in call status, write codecs config immediately 2012-06-12 17:22:03 +02:00
Yann Diorcet
a4cfc69c95 Fix call stats init 2012-05-21 17:29:47 +02:00
Yann Diorcet
d92f7e0b38 Add call audio/video stats 2012-05-21 15:35:14 +02:00
Yann Diorcet
ea6dd35f76 Add API to know Call audio/video codec 2012-04-25 15:37:10 +02:00
Pierre-Eric Pelloux-Prayer
05e04e2059 Add transfer_state property to LinphoneCall 2012-04-03 16:13:12 +02:00
Jehan Monnier
6e0a681c9e Merge commit 'aab6c70' 2012-04-03 10:50:48 +02:00
Jehan Monnier
aab6c70d93 introduce use of card preferred sample rate, usefull for IOS to speed-up call estbalishement 2012-04-03 10:49:23 +02:00
Pierre-Eric Pelloux-Prayer
d481382fb4 Moved the 'video frame decoded' callback from Core to LinphoneCall 2012-03-30 14:16:38 +02:00