Skip to content
Snippets Groups Projects
Commit 8408b177 authored by zimio's avatar zimio
Browse files

fix socks5 FT

parent f35c3d91
No related branches found
No related tags found
No related merge requests found
......@@ -374,10 +374,15 @@ class JingleFileTransfer(JingleContent):
def start_transfer(self):
self.state = STATE_TRANSFERING
# It tells wether we start the transfer as client or server
type = None
if self.isOurCandUsed():
type = 'client'
streamhost_used = self.nominated_cand['our-cand']
else:
type = 'server'
streamhost_used = self.nominated_cand['peer-cand']
if streamhost_used['type'] == 'proxy':
......
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