Amazon Kinesis Webrtc C SDK
JitterBuffer.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  JitterBuffer
 

Macros

#define UINT16_DEC(a)   ((UINT16) ((a) - 1))
 
#define JITTER_BUFFER_HASH_TABLE_BUCKET_COUNT   3000
 
#define JITTER_BUFFER_HASH_TABLE_BUCKET_LENGTH   2
 

Typedefs

typedef STATUS(* FrameReadyFunc) (UINT64, UINT16, UINT16, UINT32)
 
typedef STATUS(* FrameDroppedFunc) (UINT64, UINT16, UINT16, UINT32)
 
typedef struct JitterBufferPJitterBuffer
 

Functions

STATUS createJitterBuffer (FrameReadyFunc, FrameDroppedFunc, DepayRtpPayloadFunc, UINT32, UINT32, UINT64, PJitterBuffer *)
 
STATUS freeJitterBuffer (PJitterBuffer *)
 
STATUS jitterBufferPush (PJitterBuffer, PRtpPacket, PBOOL)
 
STATUS jitterBufferDropBufferData (PJitterBuffer, UINT16, UINT16, UINT32)
 
STATUS jitterBufferFillFrameData (PJitterBuffer, PBYTE, UINT32, PUINT32, UINT16, UINT16)
 

Macro Definition Documentation

◆ JITTER_BUFFER_HASH_TABLE_BUCKET_COUNT

#define JITTER_BUFFER_HASH_TABLE_BUCKET_COUNT   3000

◆ JITTER_BUFFER_HASH_TABLE_BUCKET_LENGTH

#define JITTER_BUFFER_HASH_TABLE_BUCKET_LENGTH   2

◆ UINT16_DEC

#define UINT16_DEC (   a)    ((UINT16) ((a) - 1))

Typedef Documentation

◆ FrameDroppedFunc

typedef STATUS(* FrameDroppedFunc) (UINT64, UINT16, UINT16, UINT32)

◆ FrameReadyFunc

typedef STATUS(* FrameReadyFunc) (UINT64, UINT16, UINT16, UINT32)

◆ PJitterBuffer

typedef struct JitterBuffer * PJitterBuffer

Function Documentation

◆ createJitterBuffer()

STATUS createJitterBuffer ( FrameReadyFunc  onFrameReadyFunc,
FrameDroppedFunc  onFrameDroppedFunc,
DepayRtpPayloadFunc  depayRtpPayloadFunc,
UINT32  maxLatency,
UINT32  clockRate,
UINT64  customData,
PJitterBuffer ppJitterBuffer 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freeJitterBuffer()

STATUS freeJitterBuffer ( PJitterBuffer ppJitterBuffer)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ jitterBufferDropBufferData()

STATUS jitterBufferDropBufferData ( PJitterBuffer  pJitterBuffer,
UINT16  startIndex,
UINT16  endIndex,
UINT32  nextTimestamp 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ jitterBufferFillFrameData()

STATUS jitterBufferFillFrameData ( PJitterBuffer  pJitterBuffer,
PBYTE  pFrame,
UINT32  frameSize,
PUINT32  pFilledSize,
UINT16  startIndex,
UINT16  endIndex 
)
Here is the caller graph for this function:

◆ jitterBufferPush()

STATUS jitterBufferPush ( PJitterBuffer  pJitterBuffer,
PRtpPacket  pRtpPacket,
PBOOL  pPacketDiscarded 
)
Here is the call graph for this function:
Here is the caller graph for this function: