Skip to content

Commit

Permalink
Add back accidentally removed code block
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankiesz authored Dec 7, 2023
1 parent 08c19a1 commit 977e6c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/source/PeerConnection/SessionDescription.c
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,12 @@ STATUS populateSessionDescriptionDataChannel(PKvsPeerConnection pKvsPeerConnecti
STRCPY(pSdpMediaDescription->sdpAttributes[attributeCount].attributeValue, pKvsPeerConnection->localIcePwd);
attributeCount++;

if (pKvsPeerConnection->canTrickleIce.value) {
STRCPY(pSdpMediaDescription->sdpAttributes[attributeCount].attributeName, "ice-options");
STRCPY(pSdpMediaDescription->sdpAttributes[attributeCount].attributeValue, "trickle");
attributeCount++;
}

STRCPY(pSdpMediaDescription->sdpAttributes[attributeCount].attributeName, "fingerprint");
STRCPY(pSdpMediaDescription->sdpAttributes[attributeCount].attributeValue, "sha-256 ");
STRCPY(pSdpMediaDescription->sdpAttributes[attributeCount].attributeValue + 8, pCertificateFingerprint);
Expand Down

0 comments on commit 977e6c5

Please sign in to comment.