summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Bellet <fabrice@bellet.info>2017-06-07 16:47:48 +0200
committerOlivier CrĂȘte <olivier.crete@collabora.com>2017-06-07 12:01:44 -0400
commitcc577d4828fee3d3e5e4d3e2afcbb9c4538556aa (patch)
tree5f16a667d0a4dd2540e47f35e7db641e0915cf30
parent0ff6a4eda899461aa21a876033edc42f5b048bc7 (diff)
downloadfarstream-cc577d4828fee3d3e5e4d3e2afcbb9c4538556aa.tar.gz
nice: select the candidate with the correct stream id
This selection based on the stream_id has been lost in commit b8751b8 https://bugs.freedesktop.org/show_bug.cgi?id=92208
-rw-r--r--transmitters/nice/fs-nice-stream-transmitter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index 5e27127d..dac87c6b 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -1734,6 +1734,9 @@ agent_new_candidate (NiceAgent *agent,
FsNiceStreamTransmitter *self = FS_NICE_STREAM_TRANSMITTER (user_data);
FsCandidate *fscandidate = NULL;
+ if (candidate->stream_id != self->priv->stream_id)
+ return;
+
GST_DEBUG ("New candidate found");
fscandidate = nice_candidate_to_fs_candidate (agent, candidate, TRUE);