Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
2987f2ec
Commit
2987f2ec
authored
Jul 16, 2012
by
Ghislain MARY
Browse files
Do not save ICE candidate pair role on retransmission.
parent
8695965b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/ice.c
src/ice.c
+2
-3
No files found.
src/ice.c
View file @
2987f2ec
...
...
@@ -510,13 +510,12 @@ static void ice_send_binding_request(IceCheckList *cl, IceCandidatePair *pair, R
memcpy
(
&
pair
->
transactionID
,
&
msg
.
msgHdr
.
tr_id
,
sizeof
(
pair
->
transactionID
));
sendMessage
(
socket
,
buf
,
len
,
dest
.
addr
,
dest
.
port
);
/* Save the role of the agent. */
pair
->
role
=
cl
->
session
->
role
;
if
(
pair
->
state
!=
ICP_InProgress
)
{
/* First transmission of the request, initialize the retransmission timer. */
pair
->
rto
=
ICE_DEFAULT_RTO_DURATION
;
pair
->
retransmissions
=
0
;
/* Save the role of the agent. */
pair
->
role
=
cl
->
session
->
role
;
/* Change the state of the pair. */
ice_pair_set_state
(
pair
,
ICP_InProgress
);
}
...
...
Write
Preview
Markdown
is supported
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