fix socks5 FT
This commit is contained in:
parent
f35c3d9143
commit
8408b17758
|
@ -375,9 +375,14 @@ class JingleFileTransfer(JingleContent):
|
|||
|
||||
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':
|
||||
|
|
Loading…
Reference in New Issue