Commit 0fc36cb2 authored by Olivier Crête's avatar Olivier Crête

iostream: remove re-entrant call into NiceAgent

parent 42e8f64a
......@@ -279,15 +279,10 @@ nice_io_stream_set_property (GObject *object, guint prop_id,
GIOStream *
nice_io_stream_new (NiceAgent *agent, guint stream_id, guint component_id)
{
gboolean reliable_agent;
g_return_val_if_fail (NICE_IS_AGENT (agent), NULL);
g_return_val_if_fail (stream_id > 0, NULL);
g_return_val_if_fail (component_id > 0, NULL);
g_object_get (agent, "reliable", &reliable_agent, NULL);
g_return_val_if_fail (reliable_agent, NULL);
return g_object_new (NICE_TYPE_IO_STREAM,
"agent", agent,
"stream-id", stream_id,
......
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