Commit graph

967 commits

Author SHA1 Message Date
Simon Morlat
2e64b3b045 update ms2 for bugfix and fix JNI 2012-08-24 11:14:33 +02:00
Ghislain MARY
29e0c09557 Use accessor function to get ICE check list state. 2012-08-24 10:57:06 +02:00
Ghislain MARY
101278f2f0 Restart media streams when updating them even if only the video stream is running. 2012-08-24 10:57:05 +02:00
Ghislain MARY
3b8e54e6ec Check if an ICE check list can be set to the Completed state after adding the losing pairs. 2012-08-24 10:57:05 +02:00
Ghislain MARY
7b6314c381 Set an ICE check list to the Failed state if the corresponding media stream has been deactivated by the peer. 2012-08-24 10:57:05 +02:00
Ghislain MARY
011750b6cd Prevent gathering ICE candidates if not needed. 2012-08-24 10:57:05 +02:00
Ghislain MARY
5276606942 Do not delete ICE session when it is in the Failed state.
If the ICE session is deleted it can not be restarted later.
However try to send a re-invite if the session state is Failed but some check
lists have completed successfully.
2012-08-24 10:57:05 +02:00
Simon Morlat
9b9106c1e7 fix bad function name 2012-08-24 10:41:06 +02:00
Ghislain MARY
4e7aa3c6c6 Set the state of an ICE check list to Failed if the peer has set the port of the media stream to 0. 2012-08-22 15:58:13 +02:00
Ghislain MARY
1f9a43a8e8 Prevent crappy RTP and RTCP address if their extraction from ICE fails. 2012-08-22 15:56:59 +02:00
Ghislain MARY
467d83da4c Do not include ICE candidates in the SDP for a media stream with the port set to 0. 2012-08-22 15:54:44 +02:00
Ghislain MARY
c82d1dd37f Allow starting video stream without starting audio stream. 2012-08-22 12:05:12 +02:00
Ghislain MARY
125626d071 Fix enabling and disabling of video. 2012-08-21 15:09:12 +02:00
Simon Morlat
aca7607bea add dtmf_player_amp propertyo 2012-08-21 10:32:26 +02:00
Ghislain MARY
423777d8cf Compilation fix. 2012-08-16 14:27:21 +02:00
Ghislain MARY
4e511fe479 Merge branch 'dev_ice' 2012-08-16 12:01:29 +02:00
Ghislain MARY
98cfcb39f9 Better loop ending test. 2012-08-16 10:59:14 +02:00
Ghislain MARY
7b5bddf359 Deactivate symmetric RTP when ICE is in use. 2012-08-14 12:37:21 +02:00
Ghislain MARY
6f392caf46 Do not set the c= line to 0.0.0.0 to pause a call when ICE is used. 2012-08-13 15:03:17 +02:00
Ghislain MARY
bccc94646a Restart ICE if the c= line is set to 0.0.0.0. 2012-08-13 14:28:31 +02:00
Simon Morlat
0203f32f0f fix bug when telephone-event appears first in a remote SDP offer 2012-08-13 09:49:51 +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
bad089b4a7 Restore ice-mismatch that was broken during redesign of the interface between media descriptions and ICE. 2012-08-09 09:55:02 +02:00
Ghislain MARY
6eb7105258 Restart ICE if remote credentials have changed. 2012-08-08 16:29:54 +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
aef56a9c3a Correctly handle content of SDP when ICE has completed for a specific media stream. 2012-08-07 11:45:47 +02:00
Ghislain MARY
7baeffbff4 Use correct contact address in RE-INVITE SIP messages. 2012-08-07 10:53:07 +02:00
Ghislain MARY
2a827ff58a Some fixes of bugs introduced with redesign of interaction between ICE and media descriptions. 2012-08-06 17:08:06 +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
Simon Morlat
3be24046c2 update documentation 2012-08-06 10:40:59 +02:00
Simon Morlat
bde9b86e96 add API to set custom parameters in the SIP contact address of registers. 2012-08-03 16:33:22 +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
fa824200e3 Prevent video stop on ICE reinvite when video connectivity checks are finished. 2012-08-02 15:39:48 +02:00
Sylvain Berfini
042890cdde GetVersion method for linphoneCore exported 2012-08-02 12:17:57 +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
623e9e1813 Remove ICE check lists from media streams that are removed from the SDP. 2012-08-01 15:56:34 +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
Sylvain Berfini
deb7ed6d93 Exported is_network_reachable method through JNI 2012-08-01 14:03:28 +02:00