Skip to content
Snippets Groups Projects
Commit 19bc86d9 authored by zimio's avatar zimio
Browse files

fix candidate priority

parent 609ee797
No related branches found
No related tags found
No related merge requests found
......@@ -356,7 +356,7 @@ class JingleFileTransfer(JingleContent):
our_pr = int(self.nominated_cand['our-cand']['priority'])
if peer_pr != our_pr:
return peer_pr > our_pr
return our_pr > peer_pr
else:
return self.weinitiate
......@@ -373,7 +373,6 @@ class JingleFileTransfer(JingleContent):
else:
type = 'server'
print type
# FIXME if streamhost_used is none where do we get the proxy host
if streamhost_used and streamhost_used['type'] == 'proxy':
self.file_props['streamhost-used'] = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment