Commit ff725d92 authored by Olivier Crête's avatar Olivier Crête

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.
parent f90200c0
...@@ -234,10 +234,8 @@ static int run_consent_test (NiceAgent *lagent, NiceAgent *ragent, NiceAddress * ...@@ -234,10 +234,8 @@ static int run_consent_test (NiceAgent *lagent, NiceAgent *ragent, NiceAddress *
global_ragent_cands = 0; global_ragent_cands = 0;
global_ragent_read_exit = 32; global_ragent_read_exit = 32;
g_object_set (G_OBJECT (lagent), "controlling-mode", TRUE, g_object_set (G_OBJECT (lagent), "controlling-mode", TRUE, NULL);
"consent-freshness", TRUE, NULL); g_object_set (G_OBJECT (ragent), "controlling-mode", FALSE, NULL);
g_object_set (G_OBJECT (ragent), "controlling-mode", FALSE,
"consent-freshness", TRUE, NULL);
/* step: add one stream, with RTP+RTCP components, to each agent */ /* step: add one stream, with RTP+RTCP components, to each agent */
ls_id = nice_agent_add_stream (lagent, 2); ls_id = nice_agent_add_stream (lagent, 2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment