Commit graph

248 commits

Author SHA1 Message Date
Simon Morlat
ccf541c8e7 robustize tests 2015-02-25 10:31:42 +01:00
Simon Morlat
8906700884 robustize tests 2015-02-25 09:05:08 +01:00
Simon Morlat
49a91becb7 cleanups, add network simulation api to liblinphone 2015-02-24 18:11:12 +01:00
Jehan Monnier
11ffe4f943 move rtp_session_set_symmetric_rtp for ice to the completion of ice 2015-02-19 17:17:40 +01:00
Guillaume BIENKOWSKI
229f662b9f Rename test for early media without SDP in 200 Ok 2015-02-18 15:16:08 +01:00
Guillaume BIENKOWSKI
7fef3b08f7 Rename and fix "no SDP" tests 2015-02-18 15:16:08 +01:00
Guillaume BIENKOWSKI
a971445719 Fix problem with missing SDP in 200 OK when the call is in early-media. We should recover correctly, we were not.
Also introduced the corresponding unit test.
2015-02-18 15:16:08 +01:00
Guillaume BIENKOWSKI
56e58d0cee Change the SDP removal mechanism for something a bit more tunable.
There is now an "SDP handling mode": you can choose between normal, simulate removal of SDP or simulate SDP error.
This allows for simulating 200 OK without SDP, for instance (a unit test is coming for this).
2015-02-18 15:16:08 +01:00
Simon Morlat
d69838771a avoid unnecessary computations in call with file player 2015-02-18 00:20:01 +01:00
Simon Morlat
03b0be72e9 Merge branch 'master' of git.linphone.org:linphone
Conflicts:
	coreapi/remote_provisioning.c
2015-02-17 23:46:46 +01:00
Simon Morlat
41a3e1e06d rework multicast. It is not necessary to bind to the multicast address. 0.0.0.0 just works while the binding to the multicast address is rejected on windows
fixes reading provisionning config file from disk on windows.
2015-02-17 23:43:20 +01:00
Simon Morlat
097cae673a robustize tests for windows 2015-02-17 17:24:30 +01:00
Jehan Monnier
f5e0bc58de configure cert path for dtls 2015-02-17 09:04:51 +01:00
Simon Morlat
97c2607ec7 relax tests, ms2 and ortp must appear first in the link command to make sure that they are taken for inner directories. 2015-02-14 22:05:12 +01:00
Simon Morlat
3b15ef89cf relax tests again 2015-02-14 19:10:09 +01:00
Simon Morlat
52e9e229be relax tests 2015-02-14 17:38:04 +01:00
Simon Morlat
9b364df8f4 fix mkv file player test (was broken due to hello8000 changed) and fix assert not working on windows 2015-02-14 10:21:33 +01:00
Jehan Monnier
fd0a7cfd73 add more DTLS tests 2015-02-13 18:01:56 +01:00
Gautier Pelloux-Prayer
0e22f1b6cc Fix Android liblinphone_tester compilation 2015-02-13 10:32:22 +01:00
Gautier Pelloux-Prayer
5074658a6f Fix testers 2015-02-11 16:30:49 +01:00
Gautier Pelloux-Prayer
fd86ba4138 Better use 2 lines instead of doing code within CU macros 2015-02-11 16:30:49 +01:00
Gautier Pelloux-Prayer
f248cde16a Disable ms_audio_diff on ios simulator too because it locks the main loop 2015-02-10 14:04:20 +01:00
François Grisez
8f3844b4b6 Fix an invalid read in the "Call/Call with custom header" test 2015-02-05 10:25:29 +01:00
Jehan Monnier
06fc0526ec multicast impl 2015-02-04 12:17:14 +01:00
Ghislain MARY
54f3cd52db Add video tester that creates its own GTK windows for video display. 2015-02-04 10:38:00 +01:00
Simon Morlat
cced42ebc5 add test for generic CN, update oRTP and ms2 2015-01-30 20:00:35 +01:00
Simon Morlat
816ab8dfbd adapt to mediastreamer2 2015-01-27 17:03:48 +01:00
Johan Pascal
219451388d Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-27 10:42:06 +01:00
Guillaume BIENKOWSKI
7acf4df883 Add a unit test for a no-sdp reinvite after a pause, and implement a correction to handle this case. 2015-01-23 14:30:38 +01:00
Simon Morlat
9d3e0e736e fix conference with ice on android 2015-01-22 10:22:58 +01:00
Simon Morlat
a75e849611 disable cross correlation tests, on arm, too long. 2015-01-22 10:21:11 +01:00
Simon Morlat
16180e2430 change the way payload type numbers are assigned, so that an application can support more payload type than the RTP profile table allows to contain.
Compliance with RFC3264 (offer answer model) is improved, by reusing numbers in case of reINVITEs.
Fix memory leaks
Move offer/answer related tests into a new test suite.
2015-01-21 22:38:46 +01:00
Johan Pascal
85ca8c3cac Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-14 00:16:11 +01:00
Johan Pascal
fbcb1007f2 DTLS-SRTP add simple test call 2015-01-14 00:06:19 +01:00
Gautier Pelloux-Prayer
7afeede178 Do not test MKV intercorrelation on Android, because the test lasts 20 minutes which is unacceptable 2015-01-09 09:42:14 +01:00
Jehan Monnier
2ff1e17580 Merge remote-tracking branch 'origin/master' into dev_dtls
Conflicts:
	mediastreamer2
2015-01-06 14:55:28 +01:00
Jehan Monnier
8518bd1bf4 add test for timeouted BYE 2015-01-06 13:25:31 +01:00
Johan Pascal
e93a80f322 Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-05 18:17:05 +01:00
Jehan Monnier
d7437ef1f5 enable ice with tunnel 2014-12-22 21:47:35 +01:00
Simon Morlat
76c6886119 fix potential crash when receiving an incoming call for which audio is declined (due to incompatible codecs), but video is accepted. 2014-12-22 16:23:26 +01:00
Gautier Pelloux-Prayer
8be032a9df Fix compilation 2014-12-17 12:17:40 +01:00
Guillaume BIENKOWSKI
f16696d242 Update file player test to take in account the new hello8000 duration 2014-12-16 10:47:42 +01:00
Guillaume BIENKOWSKI
da9cffd5fe Use ms_time() instead of time() 2014-12-15 15:56:06 +01:00
Guillaume BIENKOWSKI
697a6d4a89 Fix the soundcard hint so that it trigger only when _all_ calls are paused or pausing (instead of just one call suffice). Also increase the test delay. 2014-12-15 14:49:42 +01:00
Guillaume BIENKOWSKI
3e56dcac16 Remove (now) unneeded use_files and fix the way we manage use_files in the linphone_core_manager to include a ringback tone 2014-12-15 12:36:27 +01:00
Simon Morlat
a6da440cfd add test to check absence of SDP in ACK in a scenario of INVITE without SDP. 2014-12-12 16:46:37 +01:00
Guillaume BIENKOWSKI
84e3d60838 fix the tests for ios 2014-12-11 17:39:47 +01:00
Guillaume BIENKOWSKI
b8e643f7b1 Fix reinvite in case of redirection: we should use the linphone_core_restart_invite function, which correctly handles the streams close/reopen 2014-12-03 12:29:03 +01:00
Simon Morlat
93493976b3 tester automatically creates unique accounts on flexisip server before running tests. This allows several developer to run the test suite simultaneously ! 2014-12-01 15:25:54 +01:00
François Grisez
d4d0781897 Fix "Call/Call with mkv file player" tester when opus is not supported by mediastreamer2 2014-11-28 15:07:27 +01:00