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

Macros

#define LOG_CLASS   "Signaling"
 

Functions

STATUS createSignalingSync (PSignalingClientInfoInternal pClientInfo, PChannelInfo pChannelInfo, PSignalingClientCallbacks pCallbacks, PAwsCredentialProvider pCredentialProvider, PSignalingClient *ppSignalingClient)
 
STATUS freeSignaling (PSignalingClient *ppSignalingClient)
 
STATUS setupDefaultRetryStrategyForSignalingStateMachine (PSignalingClient pSignalingClient)
 
STATUS configureRetryStrategyForSignalingStateMachine (PSignalingClient pSignalingClient)
 
STATUS freeClientRetryStrategy (PSignalingClient pSignalingClient)
 
STATUS terminateOngoingOperations (PSignalingClient pSignalingClient)
 
STATUS signalingSendMessageSync (PSignalingClient pSignalingClient, PSignalingMessage pSignalingMessage)
 
STATUS signalingGetIceConfigInfoCount (PSignalingClient pSignalingClient, PUINT32 pIceConfigCount)
 
STATUS signalingGetIceConfigInfo (PSignalingClient pSignalingClient, UINT32 index, PIceConfigInfo *ppIceConfigInfo)
 
STATUS signalingFetchSync (PSignalingClient pSignalingClient)
 
STATUS signalingConnectSync (PSignalingClient pSignalingClient)
 
STATUS signalingDisconnectSync (PSignalingClient pSignalingClient)
 
STATUS signalingDeleteSync (PSignalingClient pSignalingClient)
 
STATUS validateSignalingCallbacks (PSignalingClient pSignalingClient, PSignalingClientCallbacks pCallbacks)
 
STATUS validateSignalingClientInfo (PSignalingClient pSignalingClient, PSignalingClientInfoInternal pClientInfo)
 
STATUS validateIceConfiguration (PSignalingClient pSignalingClient)
 
STATUS refreshIceConfiguration (PSignalingClient pSignalingClient)
 
STATUS signalingStoreOngoingMessage (PSignalingClient pSignalingClient, PSignalingMessage pSignalingMessage)
 
STATUS signalingRemoveOngoingMessage (PSignalingClient pSignalingClient, PCHAR correlationId)
 
STATUS signalingGetOngoingMessage (PSignalingClient pSignalingClient, PCHAR correlationId, PCHAR peerClientId, PSignalingMessage *ppSignalingMessage)
 
STATUS initializeThreadTracker (PThreadTracker pThreadTracker)
 
STATUS uninitializeThreadTracker (PThreadTracker pThreadTracker)
 
STATUS awaitForThreadTermination (PThreadTracker pThreadTracker, UINT64 timeout)
 
STATUS describeChannel (PSignalingClient pSignalingClient, UINT64 time)
 
STATUS createChannel (PSignalingClient pSignalingClient, UINT64 time)
 
STATUS getChannelEndpoint (PSignalingClient pSignalingClient, UINT64 time)
 
STATUS getIceConfig (PSignalingClient pSignalingClient, UINT64 time)
 
STATUS deleteChannel (PSignalingClient pSignalingClient, UINT64 time)
 
STATUS connectSignalingChannel (PSignalingClient pSignalingClient, UINT64 time)
 
STATUS joinStorageSession (PSignalingClient pSignalingClient, UINT64 time)
 
STATUS describeMediaStorageConf (PSignalingClient pSignalingClient, UINT64 time)
 
UINT64 signalingGetCurrentTime (UINT64 customData)
 
STATUS signalingGetMetrics (PSignalingClient pSignalingClient, PSignalingClientMetrics pSignalingClientMetrics)
 

Variables

StateMachineState SIGNALING_STATE_MACHINE_STATES []
 
UINT32 SIGNALING_STATE_MACHINE_STATE_COUNT
 

Macro Definition Documentation

◆ LOG_CLASS

#define LOG_CLASS   "Signaling"

Function Documentation

◆ awaitForThreadTermination()

STATUS awaitForThreadTermination ( PThreadTracker  pThreadTracker,
UINT64  timeout 
)
Here is the caller graph for this function:

◆ configureRetryStrategyForSignalingStateMachine()

STATUS configureRetryStrategyForSignalingStateMachine ( PSignalingClient  pSignalingClient)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ connectSignalingChannel()

STATUS connectSignalingChannel ( PSignalingClient  pSignalingClient,
UINT64  time 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createChannel()

STATUS createChannel ( PSignalingClient  pSignalingClient,
UINT64  time 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createSignalingSync()

STATUS createSignalingSync ( PSignalingClientInfoInternal  pClientInfo,
PChannelInfo  pChannelInfo,
PSignalingClientCallbacks  pCallbacks,
PAwsCredentialProvider  pCredentialProvider,
PSignalingClient ppSignalingClient 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deleteChannel()

STATUS deleteChannel ( PSignalingClient  pSignalingClient,
UINT64  time 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ describeChannel()

STATUS describeChannel ( PSignalingClient  pSignalingClient,
UINT64  time 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ describeMediaStorageConf()

STATUS describeMediaStorageConf ( PSignalingClient  pSignalingClient,
UINT64  time 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freeClientRetryStrategy()

STATUS freeClientRetryStrategy ( PSignalingClient  pSignalingClient)
Here is the caller graph for this function:

◆ freeSignaling()

STATUS freeSignaling ( PSignalingClient ppSignalingClient)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getChannelEndpoint()

STATUS getChannelEndpoint ( PSignalingClient  pSignalingClient,
UINT64  time 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIceConfig()

STATUS getIceConfig ( PSignalingClient  pSignalingClient,
UINT64  time 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initializeThreadTracker()

STATUS initializeThreadTracker ( PThreadTracker  pThreadTracker)
Here is the caller graph for this function:

◆ joinStorageSession()

STATUS joinStorageSession ( PSignalingClient  pSignalingClient,
UINT64  time 
)

< TBD

Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshIceConfiguration()

STATUS refreshIceConfiguration ( PSignalingClient  pSignalingClient)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setupDefaultRetryStrategyForSignalingStateMachine()

STATUS setupDefaultRetryStrategyForSignalingStateMachine ( PSignalingClient  pSignalingClient)
Here is the caller graph for this function:

◆ signalingConnectSync()

STATUS signalingConnectSync ( PSignalingClient  pSignalingClient)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ signalingDeleteSync()

STATUS signalingDeleteSync ( PSignalingClient  pSignalingClient)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ signalingDisconnectSync()

STATUS signalingDisconnectSync ( PSignalingClient  pSignalingClient)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ signalingFetchSync()

STATUS signalingFetchSync ( PSignalingClient  pSignalingClient)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ signalingGetCurrentTime()

UINT64 signalingGetCurrentTime ( UINT64  customData)
Here is the caller graph for this function:

◆ signalingGetIceConfigInfo()

STATUS signalingGetIceConfigInfo ( PSignalingClient  pSignalingClient,
UINT32  index,
PIceConfigInfo ppIceConfigInfo 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ signalingGetIceConfigInfoCount()

STATUS signalingGetIceConfigInfoCount ( PSignalingClient  pSignalingClient,
PUINT32  pIceConfigCount 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ signalingGetMetrics()

STATUS signalingGetMetrics ( PSignalingClient  pSignalingClient,
PSignalingClientMetrics  pSignalingClientMetrics 
)
Here is the caller graph for this function:

◆ signalingGetOngoingMessage()

STATUS signalingGetOngoingMessage ( PSignalingClient  pSignalingClient,
PCHAR  correlationId,
PCHAR  peerClientId,
PSignalingMessage ppSignalingMessage 
)
Here is the caller graph for this function:

◆ signalingRemoveOngoingMessage()

STATUS signalingRemoveOngoingMessage ( PSignalingClient  pSignalingClient,
PCHAR  correlationId 
)
Here is the caller graph for this function:

◆ signalingSendMessageSync()

STATUS signalingSendMessageSync ( PSignalingClient  pSignalingClient,
PSignalingMessage  pSignalingMessage 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ signalingStoreOngoingMessage()

STATUS signalingStoreOngoingMessage ( PSignalingClient  pSignalingClient,
PSignalingMessage  pSignalingMessage 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ terminateOngoingOperations()

STATUS terminateOngoingOperations ( PSignalingClient  pSignalingClient)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uninitializeThreadTracker()

STATUS uninitializeThreadTracker ( PThreadTracker  pThreadTracker)
Here is the caller graph for this function:

◆ validateIceConfiguration()

STATUS validateIceConfiguration ( PSignalingClient  pSignalingClient)
Here is the caller graph for this function:

◆ validateSignalingCallbacks()

STATUS validateSignalingCallbacks ( PSignalingClient  pSignalingClient,
PSignalingClientCallbacks  pCallbacks 
)
Here is the caller graph for this function:

◆ validateSignalingClientInfo()

STATUS validateSignalingClientInfo ( PSignalingClient  pSignalingClient,
PSignalingClientInfoInternal  pClientInfo 
)
Here is the caller graph for this function:

Variable Documentation

◆ SIGNALING_STATE_MACHINE_STATE_COUNT

UINT32 SIGNALING_STATE_MACHINE_STATE_COUNT
extern

◆ SIGNALING_STATE_MACHINE_STATES

StateMachineState SIGNALING_STATE_MACHINE_STATES[]
extern

Static definitions of the states