[farsight2/master] Don't use per-candidate passwords, they're currently broken in libnice
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:26:19 PST 2008
---
transmitters/nice/fs-nice-stream-transmitter.c | 3 +++
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 eb01c09..ad71fa8 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -469,8 +469,11 @@ fs_candidate_to_nice_candidate (FsNiceStreamTransmitter *self,
nc->component_id = candidate->component_id;
strncpy (nc->foundation, candidate->foundation,
NICE_CANDIDATE_MAX_FOUNDATION);
+ /*
+ * ICE-6 per-candidate style passwords are broken in libnice
nc->username = (gchar*) candidate->username;
nc->password = (gchar*) candidate->username;
+ */
if (candidate->ip)
if (!nice_address_set_from_string (&nc->addr, candidate->ip))
--
1.5.6.5
More information about the farsight-commits
mailing list