From cc577d4828fee3d3e5e4d3e2afcbb9c4538556aa Mon Sep 17 00:00:00 2001 From: Fabrice Bellet Date: Wed, 7 Jun 2017 16:47:48 +0200 Subject: 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 --- transmitters/nice/fs-nice-stream-transmitter.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.1