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

Macros

#define LOG_CLASS   "IceUtils"
 

Functions

STATUS createTransactionIdStore (UINT32 maxIdCount, PTransactionIdStore *ppTransactionIdStore)
 
STATUS freeTransactionIdStore (PTransactionIdStore *ppTransactionIdStore)
 
VOID transactionIdStoreInsert (PTransactionIdStore pTransactionIdStore, PBYTE transactionId)
 
BOOL transactionIdStoreHasId (PTransactionIdStore pTransactionIdStore, PBYTE transactionId)
 
VOID transactionIdStoreRemove (PTransactionIdStore pTransactionIdStore, PBYTE transactionId)
 
VOID transactionIdStoreClear (PTransactionIdStore pTransactionIdStore)
 
STATUS iceUtilsGenerateTransactionId (PBYTE pBuffer, UINT32 bufferLen)
 
STATUS iceUtilsPackageStunPacket (PStunPacket pStunPacket, PBYTE password, UINT32 passwordLen, PBYTE pBuffer, PUINT32 pBufferLen)
 
STATUS iceUtilsSendStunPacket (PStunPacket pStunPacket, PBYTE password, UINT32 passwordLen, PKvsIpAddress pDest, PSocketConnection pSocketConnection, PTurnConnection pTurnConnection, BOOL useTurn)
 
STATUS iceUtilsSendData (PBYTE buffer, UINT32 size, PKvsIpAddress pDest, PSocketConnection pSocketConnection, PTurnConnection pTurnConnection, BOOL useTurn)
 
STATUS parseIceServer (PIceServer pIceServer, PCHAR url, PCHAR username, PCHAR credential)
 

Macro Definition Documentation

◆ LOG_CLASS

#define LOG_CLASS   "IceUtils"

Kinesis Video Producer Ice Utils

Function Documentation

◆ createTransactionIdStore()

STATUS createTransactionIdStore ( UINT32  maxIdCount,
PTransactionIdStore ppTransactionIdStore 
)
Here is the caller graph for this function:

◆ freeTransactionIdStore()

STATUS freeTransactionIdStore ( PTransactionIdStore ppTransactionIdStore)
Here is the caller graph for this function:

◆ iceUtilsGenerateTransactionId()

STATUS iceUtilsGenerateTransactionId ( PBYTE  pBuffer,
UINT32  bufferLen 
)
Here is the caller graph for this function:

◆ iceUtilsPackageStunPacket()

STATUS iceUtilsPackageStunPacket ( PStunPacket  pStunPacket,
PBYTE  password,
UINT32  passwordLen,
PBYTE  pBuffer,
PUINT32  pBufferLen 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ iceUtilsSendData()

STATUS iceUtilsSendData ( PBYTE  buffer,
UINT32  size,
PKvsIpAddress  pDest,
PSocketConnection  pSocketConnection,
PTurnConnection  pTurnConnection,
BOOL  useTurn 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ iceUtilsSendStunPacket()

STATUS iceUtilsSendStunPacket ( PStunPacket  pStunPacket,
PBYTE  password,
UINT32  passwordLen,
PKvsIpAddress  pDest,
PSocketConnection  pSocketConnection,
PTurnConnection  pTurnConnection,
BOOL  useTurn 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseIceServer()

STATUS parseIceServer ( PIceServer  pIceServer,
PCHAR  url,
PCHAR  username,
PCHAR  credential 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transactionIdStoreClear()

VOID transactionIdStoreClear ( PTransactionIdStore  pTransactionIdStore)
Here is the caller graph for this function:

◆ transactionIdStoreHasId()

BOOL transactionIdStoreHasId ( PTransactionIdStore  pTransactionIdStore,
PBYTE  transactionId 
)
Here is the caller graph for this function:

◆ transactionIdStoreInsert()

VOID transactionIdStoreInsert ( PTransactionIdStore  pTransactionIdStore,
PBYTE  transactionId 
)
Here is the caller graph for this function:

◆ transactionIdStoreRemove()

VOID transactionIdStoreRemove ( PTransactionIdStore  pTransactionIdStore,
PBYTE  transactionId 
)
Here is the caller graph for this function: