summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-07-25 20:36:47 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2011-10-11 15:36:06 -0400
commit6fe8daabcf8ba6fff6e7926330c6c4d64327a88c (patch)
tree096fc042a687b825da72badbc99b63dad1f18f76 /examples
parent1e79915c6e26e57aafc91766c2fdeb9d08fe6d24 (diff)
downloadfarstream-6fe8daabcf8ba6fff6e7926330c6c4d64327a88c.tar.gz
rawudp: Use force_remote_candidates, not set
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/gui/fs2-gui.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/gui/fs2-gui.py b/examples/gui/fs2-gui.py
index d85fcbc5..ba8a050c 100755
--- a/examples/gui/fs2-gui.py
+++ b/examples/gui/fs2-gui.py
@@ -507,7 +507,10 @@ class FsUIStream:
self.candidates.append(candidate)
def candidates_done(self):
"Callback for the network object."
- self.fsstream.set_remote_candidates(self.candidates)
+ if TRANSMITTER == "rawudp":
+ self.fsstream.force_remote_candidates(self.candidates)
+ else:
+ self.fsstream.set_remote_candidates(self.candidates)
self.candidates = []
def codecs(self, codecs):
"Callback for the network object. Set the codecs"