Amazon Kinesis Webrtc C SDK
RtpPacket.c File Reference
#include "../Include_i.h"
Include dependency graph for RtpPacket.c:

Macros

#define LOG_CLASS   "RtpPacket"
 

Functions

STATUS createRtpPacket (UINT8 version, BOOL padding, BOOL extension, UINT8 csrcCount, BOOL marker, UINT8 payloadType, UINT16 sequenceNumber, UINT32 timestamp, UINT32 ssrc, PUINT32 csrcArray, UINT16 extensionProfile, UINT32 extensionLength, PBYTE extensionPayload, PBYTE payload, UINT32 payloadLength, PRtpPacket *ppRtpPacket)
 
STATUS setRtpPacket (UINT8 version, BOOL padding, BOOL extension, UINT8 csrcCount, BOOL marker, UINT8 payloadType, UINT16 sequenceNumber, UINT32 timestamp, UINT32 ssrc, PUINT32 csrcArray, UINT16 extensionProfile, UINT32 extensionLength, PBYTE extensionPayload, PBYTE payload, UINT32 payloadLength, PRtpPacket pRtpPacket)
 
STATUS freeRtpPacket (PRtpPacket *ppRtpPacket)
 
STATUS createRtpPacketFromBytes (PBYTE rawPacket, UINT32 packetLength, PRtpPacket *ppRtpPacket)
 
STATUS constructRetransmitRtpPacketFromBytes (PBYTE rawPacket, UINT32 packetLength, UINT16 sequenceNum, UINT8 payloadType, UINT32 ssrc, PRtpPacket *ppRtpPacket)
 
STATUS setRtpPacketFromBytes (PBYTE rawPacket, UINT32 packetLength, PRtpPacket pRtpPacket)
 
STATUS createBytesFromRtpPacket (PRtpPacket pRtpPacket, PBYTE pRawPacket, PUINT32 pPacketLength)
 
STATUS setBytesFromRtpPacket (PRtpPacket pRtpPacket, PBYTE pRawPacket, UINT32 packetLength)
 
STATUS constructRtpPackets (PPayloadArray pPayloadArray, UINT8 payloadType, UINT16 startSequenceNumber, UINT32 timestamp, UINT32 ssrc, PRtpPacket pPackets, UINT32 packetCount)
 

Macro Definition Documentation

◆ LOG_CLASS

#define LOG_CLASS   "RtpPacket"

Function Documentation

◆ constructRetransmitRtpPacketFromBytes()

STATUS constructRetransmitRtpPacketFromBytes ( PBYTE  rawPacket,
UINT32  packetLength,
UINT16  sequenceNum,
UINT8  payloadType,
UINT32  ssrc,
PRtpPacket ppRtpPacket 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ constructRtpPackets()

STATUS constructRtpPackets ( PPayloadArray  pPayloadArray,
UINT8  payloadType,
UINT16  startSequenceNumber,
UINT32  timestamp,
UINT32  ssrc,
PRtpPacket  pPackets,
UINT32  packetCount 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createBytesFromRtpPacket()

STATUS createBytesFromRtpPacket ( PRtpPacket  pRtpPacket,
PBYTE  pRawPacket,
PUINT32  pPacketLength 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createRtpPacket()

STATUS createRtpPacket ( UINT8  version,
BOOL  padding,
BOOL  extension,
UINT8  csrcCount,
BOOL  marker,
UINT8  payloadType,
UINT16  sequenceNumber,
UINT32  timestamp,
UINT32  ssrc,
PUINT32  csrcArray,
UINT16  extensionProfile,
UINT32  extensionLength,
PBYTE  extensionPayload,
PBYTE  payload,
UINT32  payloadLength,
PRtpPacket ppRtpPacket 
)
Here is the call graph for this function:

◆ createRtpPacketFromBytes()

STATUS createRtpPacketFromBytes ( PBYTE  rawPacket,
UINT32  packetLength,
PRtpPacket ppRtpPacket 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freeRtpPacket()

STATUS freeRtpPacket ( PRtpPacket ppRtpPacket)
Here is the caller graph for this function:

◆ setBytesFromRtpPacket()

STATUS setBytesFromRtpPacket ( PRtpPacket  pRtpPacket,
PBYTE  pRawPacket,
UINT32  packetLength 
)
Here is the caller graph for this function:

◆ setRtpPacket()

STATUS setRtpPacket ( UINT8  version,
BOOL  padding,
BOOL  extension,
UINT8  csrcCount,
BOOL  marker,
UINT8  payloadType,
UINT16  sequenceNumber,
UINT32  timestamp,
UINT32  ssrc,
PUINT32  csrcArray,
UINT16  extensionProfile,
UINT32  extensionLength,
PBYTE  extensionPayload,
PBYTE  payload,
UINT32  payloadLength,
PRtpPacket  pRtpPacket 
)
Here is the caller graph for this function:

◆ setRtpPacketFromBytes()

STATUS setRtpPacketFromBytes ( PBYTE  rawPacket,
UINT32  packetLength,
PRtpPacket  pRtpPacket 
)
Here is the call graph for this function:
Here is the caller graph for this function: