Skip to content

Commit

Permalink
Update function def
Browse files Browse the repository at this point in the history
  • Loading branch information
moninom1 committed Jul 22, 2024
1 parent cc1a5e3 commit d788b4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/source/PeerConnection/PeerConnection.c
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ STATUS rtcpReportsCallback(UINT32 timerId, UINT64 currentTime, UINT64 customData
allocSize = packetLen + SRTP_AUTH_TAG_OVERHEAD + SRTP_MAX_TRAILER_LEN + 4;
CHK(NULL != (rawPacket = (PBYTE) MEMALLOC(allocSize)), STATUS_NOT_ENOUGH_MEMORY);

CHK_STATUS(setBytesFromRtcpValues_SenderReport(rawPacket, allocSize, packetLen, ssrc, ntpTime, rtpTime, packetCount, octetCount));
CHK_STATUS(setBytesFromRtcpValues_SenderReport(rawPacket, allocSize, ssrc, ntpTime, rtpTime, packetCount, octetCount));

CHK_STATUS(encryptRtcpPacket(pKvsPeerConnection->pSrtpSession, rawPacket, (PINT32) &packetLen));
CHK_STATUS(iceAgentSendPacket(pKvsPeerConnection->pIceAgent, rawPacket, packetLen));
Expand Down
2 changes: 1 addition & 1 deletion src/source/Rtcp/RtcpPacket.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ STATUS setRtcpPacketFromBytes(PBYTE pRawPacket, UINT32 pRawPacketsLen, PRtcpPack
return retStatus;
}

STATUS setBytesFromRtcpValues_SenderReport(PBYTE pRawPacket, UINT32 rawPacketsLen, UINT32 packetLen, UINT32 ssrc, UINT64 ntpTime, UINT64 rtpTime,
STATUS setBytesFromRtcpValues_SenderReport(PBYTE pRawPacket, UINT32 rawPacketsLen, UINT32 ssrc, UINT64 ntpTime, UINT64 rtpTime,
UINT32 packetCount, UINT32 octetCount)
{
ENTERS();
Expand Down
2 changes: 1 addition & 1 deletion src/source/Rtcp/RtcpPacket.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ typedef struct {
} RtcpPacket, *PRtcpPacket;

STATUS setRtcpPacketFromBytes(PBYTE, UINT32, PRtcpPacket);
STATUS setBytesFromRtcpValues_SenderReport(PBYTE, UINT32, UINT32, UINT32, UINT64, UINT64, UINT32, UINT32);
STATUS setBytesFromRtcpValues_SenderReport(PBYTE, UINT32, UINT32, UINT64, UINT64, UINT32, UINT32);
STATUS rtcpNackListGet(PBYTE, UINT32, PUINT32, PUINT32, PUINT16, PUINT32);
STATUS rembValueGet(PBYTE, UINT32, PDOUBLE, PUINT32, PUINT8);
STATUS isRembPacket(PBYTE, UINT32);
Expand Down

0 comments on commit d788b4b

Please sign in to comment.