Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Anti-censorship
Pluggable Transports
Snowflake
Commits
c8c5d56b
Commit
c8c5d56b
authored
Dec 20, 2016
by
Arlo Breault
Browse files
Remove deprecated callbacks
parent
1d193a38
Changes
1
Hide whitespace changes
Inline
Side-by-side
proxy/snowflake.coffee
View file @
c8c5d56b
...
...
@@ -125,7 +125,6 @@ class Snowflake
try
offer
=
JSON
.
parse
desc
dbg
'Received:
\n\n
'
+
offer
.
sdp
+
'
\n
'
log
offer
sdp
=
new
SessionDescription
offer
@
sendAnswer
pair
if
pair
.
receiveWebRTCOffer
sdp
catch
e
...
...
@@ -137,8 +136,9 @@ class Snowflake
pair
.
pc
.
setLocalDescription
sdp
fail
=
->
dbg
'webrtc: Failed to create Answer'
promise
=
pair
.
pc
.
createAnswer
next
,
fail
promise
.
then
next
if
promise
pair
.
pc
.
createAnswer
()
.
then
next
.
catch
fail
makeProxyPair
:
(
relay
)
->
pair
=
new
ProxyPair
null
,
relay
,
@
rateLimit
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment