diff options
Diffstat (limited to 'agent/stream.c')
-rw-r--r-- | agent/stream.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/agent/stream.c b/agent/stream.c index 533ff15..c1bd87b 100644 --- a/agent/stream.c +++ b/agent/stream.c @@ -58,13 +58,15 @@ nice_stream_finalize (GObject *obj); * @brief ICE stream functionality */ NiceStream * -nice_stream_new (guint n_components, NiceAgent *agent) +nice_stream_new (guint stream_id, guint n_components, NiceAgent *agent) { NiceStream *stream = NULL; guint n; stream = g_object_new (NICE_TYPE_STREAM, NULL); + stream->id = stream_id; + /* Create the components. */ for (n = 0; n < n_components; n++) { NiceComponent *component = NULL; |