[farsight2/master] Same candidate requires the ttl to be the same with multicast
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:21:06 PST 2008
---
.../multicast/fs-multicast-stream-transmitter.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/transmitters/multicast/fs-multicast-stream-transmitter.c b/transmitters/multicast/fs-multicast-stream-transmitter.c
index 6bbb90c..e2b494c 100644
--- a/transmitters/multicast/fs-multicast-stream-transmitter.c
+++ b/transmitters/multicast/fs-multicast-stream-transmitter.c
@@ -464,6 +464,7 @@ fs_multicast_stream_transmitter_add_remote_candidate (
FsCandidate *old_candidate =
self->priv->remote_candidate[candidate->component_id];
if (old_candidate->port == candidate->port &&
+ old_candidate->ttl == candidate->ttl &&
!strcmp (old_candidate->ip, candidate->ip))
{
GST_DEBUG ("Re-set the same candidate, ignoring");
--
1.5.6.5
More information about the farsight-commits
mailing list