Ghislain MARY
6cc4570ecd
Really fix has_video in call params.
2015-10-23 14:56:06 +02:00
Simon Morlat
a416d49e17
fix problems with call params video enablement
2015-10-22 17:34:23 +02:00
Simon Morlat
b65516c163
fix crash when no audio stream exists.
2015-10-22 16:14:32 +02:00
Ghislain MARY
c5eaa00e6f
Use nowebcam device if the call is paused.
2015-10-22 15:37:20 +02:00
Gautier Pelloux-Prayer
1b6b49a579
conference: fix conference API with tests - there must be no current call in conference
2015-10-21 15:44:33 +02:00
Sylvain Berfini
f574e10a87
Fix crash in quality reporting when call with audio, video and text + fix future index out of bound issue (if main stream index > 3)
2015-10-20 10:13:22 +02:00
Simon Morlat
08d0a6089c
automatically close call during early states when the initiating transaction is closed prematurely (network disconnection for example).
...
add new tests for this.
2015-10-18 17:21:32 +02:00
Simon Morlat
746e77ba3a
enable freeze_on_error by default. It gives much better results with VP8, especially with large images.
2015-10-15 13:55:52 +02:00
Simon Morlat
d3bd19d39d
implement RTP socket re-creation on the fly, in order to have RTP streams to follow the new routes defined by the system.
...
This is optional, done in linphone_core_set_network_reachable(lc, TRUE); when property recreate_sockets_when_network_is_up is set to 1 in [net] section of linphonerc.
2015-10-14 21:58:26 +02:00
Simon Morlat
78c788974f
fix case where params taken from linphone_core_accept_call_with_params() where not correctly taken into account
2015-10-14 16:23:33 +02:00
Simon Morlat
50c5599649
fix bad merge
2015-10-14 14:39:04 +02:00
Simon Morlat
28e6ee40b2
fix crash when calling linphone_call_get_remote_params() when no incoming message is received yet.
2015-10-14 14:23:40 +02:00
Gautier Pelloux-Prayer
49a80e87f3
linphonecall.c: fix call log saving on call end when not using database
2015-10-14 13:07:01 +02:00
Simon Morlat
ab41327e00
check for dead calls also in PausedByRemote state
2015-10-13 11:14:30 +02:00
Sylvain Berfini
8b90c32dc8
Fix crash on bb10 when zrtp and debug mode are enabled
2015-10-12 16:59:59 +02:00
Ghislain MARY
b025abb63a
Fix useless media restart on ICE re-invite.
2015-10-08 14:05:15 +02:00
Ghislain MARY
733ce6a09d
Fix crash in report_bandwidth when built without video support.
2015-10-08 14:04:06 +02:00
Simon Morlat
fcbbbcce85
fix crash
2015-10-08 11:41:09 +02:00
Simon Morlat
6cc3a1c410
get events from event queues before stream are destroyed (to avoid loosing events)
2015-10-08 09:42:06 +02:00
Ghislain MARY
c149a6da7e
Add API to handle custom SDP attributes.
2015-10-07 10:55:10 +02:00
Jehan Monnier
4648e9e7f3
add sdp_200_ack_follow_video_policy option to follow video policy to build SDP in case of INVITE without SDP for inactive video stream.
2015-10-07 08:35:19 +02:00
Simon Morlat
1f394e8622
various improvement to help debugging
2015-10-03 17:54:04 +02:00
Simon Morlat
1052ffc610
add debug logs for troubeshooting android failed tests
2015-10-03 11:22:16 +02:00
Simon Morlat
195a72ed6e
fix problem with the "next video frame decoded" notification, whose request was not surviving to a restart of the VideoStream.
2015-10-03 10:38:47 +02:00
Ghislain MARY
61ac1f8173
Fix compilation warnings when building for Windows 10.
2015-10-01 14:29:00 +02:00
Sylvain Berfini
ccc60f16ec
Added test for SRTP and realtime text
2015-09-29 14:22:59 +02:00
Johan Pascal
10c8d03e44
Fix SRTP key length error in SDES mode
2015-09-29 13:28:08 +02:00
Sylvain Berfini
d12f596bbe
Added some missing pieces for ICE and text stream + fix for textstream always AVP
2015-09-29 11:53:23 +02:00
Sylvain Berfini
c29d018bff
Added possibility to disable audio stream in call params + tester for RTT without audio stream
2015-09-28 12:08:16 +02:00
Simon Morlat
46e3ae725a
fix RTT CRLF handling (not sure it is correct but at least it no longer does invalid reads)
...
fix memory leak
2015-09-25 18:27:27 +02:00
Simon Morlat
7cbbb6b17e
fix conflicting changes
2015-09-25 17:35:18 +02:00
Simon Morlat
8e200bcf98
fix memory leaks in RTT and fix generation of local media description
2015-09-25 17:28:10 +02:00
Sylvain Berfini
ecc4615b05
Fix huge leak in rtt callback in linphonecall + a few others in rtt tester
2015-09-25 16:14:09 +02:00
Sylvain Berfini
4a5a866cd6
Finally RTT test is working
2015-09-25 15:33:53 +02:00
Sylvain Berfini
0216630824
More work on RTT
2015-09-24 17:21:35 +02:00
Simon Morlat
0f1cf8b14a
fix various recent problems with SDP offer/answer and ICE.
...
Most problematic was that declined streams were not put in SDP answers.
2015-09-24 16:44:07 +02:00
Simon Morlat
32eb45dfc6
fix bad handling of remote params, resulting in wrong information given in them in case of received INVITE without SDP
2015-09-24 11:15:34 +02:00
Sylvain Berfini
3f38e29408
Improved complex sip call tester
2015-09-24 09:36:45 +02:00
Simon Morlat
28a7d3dbbe
fix bug where a pause reINVITE was having a video stream while the original INVITE (made by other party) wasn't proposing video at all.
2015-09-23 18:11:03 +02:00
Sylvain Berfini
a2fd11bed7
filled linphone_call_start_text_stream + started to replace rtt stub implementation by real one
2015-09-23 16:19:48 +02:00
Ghislain MARY
1ae03a4be3
Fix invalid reads with update_rtp_stats that accesses a mediastream that has already been freed.
2015-09-23 11:51:50 +02:00
Gautier Pelloux-Prayer
8a2f20ceae
tester: add before_each / after_each methods to check memory leaks and fix various ones
2015-09-22 13:54:29 +02:00
Sylvain Berfini
b5d0667594
Merge branch 'dev_rtt'
2015-09-22 11:12:34 +02:00
Sylvain Berfini
0e439d9196
Fix and test for multiple mlines of same type in sdp
2015-09-22 10:47:43 +02:00
Sylvain Berfini
9a99b97a40
Fix remaining stream_index == 0 ? audio stream : video stream issue + test to check call with video mline before audio in sdp
2015-09-21 17:14:03 +02:00
Sylvain Berfini
9a792cbbf7
Added log to see which index have each stream
2015-09-21 16:29:35 +02:00
Simon Morlat
6ceaff09f6
fix check_media_direction again.
2015-09-21 10:47:18 +02:00
Gautier Pelloux-Prayer
c747a8da64
linphonecall.c: display error if SDP negotiation fails
2015-09-18 17:07:05 +02:00
Sylvain Berfini
0b8dd54535
Fix crash in test Call without SDP
2015-09-17 17:10:02 +02:00
Sylvain Berfini
9127666fe5
Do not use -1 for unused steams, instead use an unused index
2015-09-17 16:00:09 +02:00