summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@ocrete.ca>2023-01-06 12:51:51 -0500
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>2023-01-06 12:51:51 -0500
commitff725d928c0f357ab015ed3756fd4a6508ea356c (patch)
tree7f6d5ff9b32864f6743d59c7eb93d02224915c35
parentf90200c058b15ced34ccc7b3af5453506c062633 (diff)
downloadlibnice-ff725d928c0f357ab015ed3756fd4a6508ea356c.tar.gz
test-consent: Don't try to set the consent prop after creation
It was already set at creation time, so all we got was a warning.
-rw-r--r--tests/test-consent.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test-consent.c b/tests/test-consent.c
index 7377a9a..d24df13 100644
--- a/tests/test-consent.c
+++ b/tests/test-consent.c
@@ -234,10 +234,8 @@ static int run_consent_test (NiceAgent *lagent, NiceAgent *ragent, NiceAddress *
global_ragent_cands = 0;
global_ragent_read_exit = 32;
- g_object_set (G_OBJECT (lagent), "controlling-mode", TRUE,
- "consent-freshness", TRUE, NULL);
- g_object_set (G_OBJECT (ragent), "controlling-mode", FALSE,
- "consent-freshness", TRUE, NULL);
+ g_object_set (G_OBJECT (lagent), "controlling-mode", TRUE, NULL);
+ g_object_set (G_OBJECT (ragent), "controlling-mode", FALSE, NULL);
/* step: add one stream, with RTP+RTCP components, to each agent */
ls_id = nice_agent_add_stream (lagent, 2);