Simon Morlat
c6bd038a6d
implement manual low banwdwidth mode.
...
It is also possible to check whether peer is under low bandwidth by looking into the linphone_call_get_remote_params()
2012-11-27 14:45:02 +01:00
Ghislain MARY
23b788205b
Remove useless code.
2012-10-08 12:36:03 +02:00
Ghislain MARY
c7b3b58145
Clean ICE remote candidates in the media description when sending re-invite after an ICE restart.
2012-10-05 11:31:54 +02:00
Ghislain MARY
8c02cac390
Fix to prevent crashes.
2012-10-05 11:31:54 +02:00
Ghislain MARY
c3894e57f8
Handle ICE running state in call statistics update.
2012-10-04 17:05:02 +02:00
Ghislain MARY
55f676763a
If the remote deactivates a media stream, remove the ICE check list for this stream.
2012-10-03 15:24:13 +02:00
Ghislain MARY
63c5dfed39
Unselect previous ICE valid pairs before adding losing pairs.
2012-10-03 14:11:05 +02:00
Jehan Monnier
6a0b67f9b5
add low bandwidth call param
2012-10-02 16:51:45 +02:00
Ghislain MARY
3b6eae7441
Add check to prevent crash if something wrong happens when sending Re-INVITE for ICE.
2012-10-01 15:50:50 +02:00
Ghislain MARY
37e69be091
Check that ICE gathering has already been completed before launching it again.
2012-10-01 15:50:50 +02:00
Ghislain MARY
79c2debc99
Fix for ICE state that can be wrong in some failing cases.
2012-10-01 09:50:55 +02:00
Ghislain MARY
85ad456a10
Prevent deleting streams (and therefore RTP sessions) when switching form ICE gathering to the call.
...
This prevents losing the first ICE connectivity checks if the restart of
the streams is slow.
2012-10-01 09:50:55 +02:00
Ghislain MARY
650cb5b160
Prevent using getifaddrs() to get the local IP during ICE gathering.
2012-09-26 15:08:04 +02:00
Jehan Monnier
e4309a8757
fix get local address in case of 3G connectivity on ios
2012-09-24 12:41:13 +02:00
Simon Morlat
b67d2dd4a7
fix: reuse stun discovered ip/port accross reinvites.
2012-09-20 21:31:19 +02:00
Ghislain MARY
92600fc6bb
Add check to prevent crash.
2012-09-19 17:59:48 +02:00
Ghislain MARY
c6d9b71cb5
Add ICE failed state.
2012-09-19 17:59:48 +02:00
Ghislain MARY
3cd49ea4bd
Deactivate ICE if the remote does not support it.
2012-09-19 10:31:14 +02:00
Ghislain MARY
c4086e989a
Add ICE state to the call stats.
2012-09-17 15:10:28 +02:00
Simon Morlat
5e4ac070cc
implement edge detection, and automatic configuration of call parameters for low bitrates
2012-09-04 22:02:34 +02:00
Simon Morlat
f75692eb02
Merge branch 'master' of git.linphone.org:linphone into dev_edge_optim
2012-09-04 15:50:23 +02:00
Jehan Monnier
f252a1ad20
add traces for ICE troubleshooting
2012-09-03 18:13:15 +02:00
Simon Morlat
cfb3b3dfd5
edge optimization in progress
2012-08-31 22:07:00 +02:00
Ghislain MARY
5129e306ab
Handle IPv6 addresses in parse_hostname_to_addr().
...
This is needed to correctly handle and IPv6 address set as gateway when
using the nat firewall policy.
2012-08-31 11:20:09 +02:00
Ghislain MARY
29e0c09557
Use accessor function to get ICE check list state.
2012-08-24 10:57:06 +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
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
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
98cfcb39f9
Better loop ending test.
2012-08-16 10:59:14 +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
Ghislain MARY
202821d4f5
Merge branch 'master' into dev_ice
2012-08-10 13:21:45 +02:00
Simon Morlat
6f9b9458f7
add config entry to finely select audio stream features
2012-08-09 16:08:21 +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
3611187779
Use ICE selected pairs instead of nominated valid pairs.
2012-08-08 11:43:51 +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
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
Ghislain MARY
6d0083a1f4
Asynchronous ICE candidates gathering.
2012-07-31 12:12:06 +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
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
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
f8f3db359c
Define ICE session role explicitly.
2012-07-19 15:03:27 +02:00
Ghislain MARY
38af09c6b5
Fix ICE candidates gathering for video stream.
2012-07-19 15:03:27 +02:00