Commit 8695965b authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Do not change STUN transaction ID on ICE connectivity check retransmission.

parent fb223b55
......@@ -499,6 +499,11 @@ static void ice_send_binding_request(IceCheckList *cl, IceCandidatePair *pair, R
/* Keep the same transaction ID for retransmission. */
if (pair->state == ICP_InProgress) {
memcpy(&msg.msgHdr.tr_id, &pair->transactionID, sizeof(msg.msgHdr.tr_id));
len = stunEncodeMessage(&msg, buf, len, &password);
if (len > 0) {
/* Save the generated transaction ID to match the response to the request, and send the request. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment