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

Go to the source code of this file.

Macros

#define SIGNALING_STATE_NONE   ((UINT64) 0)
 
#define SIGNALING_STATE_NEW   ((UINT64) (1 << 0))
 
#define SIGNALING_STATE_GET_TOKEN   ((UINT64) (1 << 1))
 
#define SIGNALING_STATE_DESCRIBE   ((UINT64) (1 << 2))
 
#define SIGNALING_STATE_CREATE   ((UINT64) (1 << 3))
 
#define SIGNALING_STATE_GET_ENDPOINT   ((UINT64) (1 << 4))
 
#define SIGNALING_STATE_GET_ICE_CONFIG   ((UINT64) (1 << 5))
 
#define SIGNALING_STATE_READY   ((UINT64) (1 << 6))
 
#define SIGNALING_STATE_CONNECT   ((UINT64) (1 << 7))
 
#define SIGNALING_STATE_CONNECTED   ((UINT64) (1 << 8))
 
#define SIGNALING_STATE_DISCONNECTED   ((UINT64) (1 << 9))
 
#define SIGNALING_STATE_DELETE   ((UINT64) (1 << 10))
 
#define SIGNALING_STATE_DELETED   ((UINT64) (1 << 11))
 
#define SIGNALING_STATE_DESCRIBE_MEDIA   ((UINT64) (1 << 12))
 
#define SIGNALING_STATE_JOIN_SESSION   ((UINT64) (1 << 13))
 
#define SIGNALING_STATE_JOIN_SESSION_WAITING   ((UINT64) (1 << 14))
 
#define SIGNALING_STATE_JOIN_SESSION_CONNECTED   ((UINT64) (1 << 15))
 
#define INFINITE_RETRY_COUNT_SENTINEL   0
 

Functions

STATUS signalingStateMachineIterator (PSignalingClient, UINT64, UINT64)
 
STATUS acceptSignalingStateMachineState (PSignalingClient, UINT64)
 
SIGNALING_CLIENT_STATE getSignalingStateFromStateMachineState (UINT64)
 
STATUS fromNewSignalingState (UINT64, PUINT64)
 
STATUS executeNewSignalingState (UINT64, UINT64)
 
STATUS fromGetTokenSignalingState (UINT64, PUINT64)
 
STATUS executeGetTokenSignalingState (UINT64, UINT64)
 
STATUS fromDescribeSignalingState (UINT64, PUINT64)
 
STATUS executeDescribeSignalingState (UINT64, UINT64)
 
STATUS fromDescribeMediaStorageConfState (UINT64, PUINT64)
 
STATUS executeDescribeMediaStorageConfState (UINT64, UINT64)
 
STATUS fromCreateSignalingState (UINT64, PUINT64)
 
STATUS executeCreateSignalingState (UINT64, UINT64)
 
STATUS fromGetEndpointSignalingState (UINT64, PUINT64)
 
STATUS executeGetEndpointSignalingState (UINT64, UINT64)
 
STATUS fromGetIceConfigSignalingState (UINT64, PUINT64)
 
STATUS executeGetIceConfigSignalingState (UINT64, UINT64)
 
STATUS fromReadySignalingState (UINT64, PUINT64)
 
STATUS executeReadySignalingState (UINT64, UINT64)
 
STATUS fromConnectSignalingState (UINT64, PUINT64)
 
STATUS executeConnectSignalingState (UINT64, UINT64)
 
STATUS fromJoinStorageSessionState (UINT64, PUINT64)
 
STATUS executeJoinStorageSessionState (UINT64, UINT64)
 
STATUS fromJoinStorageSessionWaitingState (UINT64, PUINT64)
 
STATUS executeJoinStorageSessionWaitingState (UINT64, UINT64)
 
STATUS fromJoinStorageSessionConnectedState (UINT64, PUINT64)
 
STATUS executeJoinStorageSessionConnectedState (UINT64, UINT64)
 
STATUS fromConnectedSignalingState (UINT64, PUINT64)
 
STATUS executeConnectedSignalingState (UINT64, UINT64)
 
STATUS fromDisconnectedSignalingState (UINT64, PUINT64)
 
STATUS executeDisconnectedSignalingState (UINT64, UINT64)
 
STATUS fromDeleteSignalingState (UINT64, PUINT64)
 
STATUS executeDeleteSignalingState (UINT64, UINT64)
 
STATUS fromDeletedSignalingState (UINT64, PUINT64)
 
STATUS executeDeletedSignalingState (UINT64, UINT64)
 
STATUS defaultSignalingStateTransitionHook (UINT64, PUINT64)
 

Macro Definition Documentation

◆ INFINITE_RETRY_COUNT_SENTINEL

#define INFINITE_RETRY_COUNT_SENTINEL   0

◆ SIGNALING_STATE_CONNECT

#define SIGNALING_STATE_CONNECT   ((UINT64) (1 << 7))

◆ SIGNALING_STATE_CONNECTED

#define SIGNALING_STATE_CONNECTED   ((UINT64) (1 << 8))

◆ SIGNALING_STATE_CREATE

#define SIGNALING_STATE_CREATE   ((UINT64) (1 << 3))

◆ SIGNALING_STATE_DELETE

#define SIGNALING_STATE_DELETE   ((UINT64) (1 << 10))

◆ SIGNALING_STATE_DELETED

#define SIGNALING_STATE_DELETED   ((UINT64) (1 << 11))

◆ SIGNALING_STATE_DESCRIBE

#define SIGNALING_STATE_DESCRIBE   ((UINT64) (1 << 2))

◆ SIGNALING_STATE_DESCRIBE_MEDIA

#define SIGNALING_STATE_DESCRIBE_MEDIA   ((UINT64) (1 << 12))

◆ SIGNALING_STATE_DISCONNECTED

#define SIGNALING_STATE_DISCONNECTED   ((UINT64) (1 << 9))

◆ SIGNALING_STATE_GET_ENDPOINT

#define SIGNALING_STATE_GET_ENDPOINT   ((UINT64) (1 << 4))

◆ SIGNALING_STATE_GET_ICE_CONFIG

#define SIGNALING_STATE_GET_ICE_CONFIG   ((UINT64) (1 << 5))

◆ SIGNALING_STATE_GET_TOKEN

#define SIGNALING_STATE_GET_TOKEN   ((UINT64) (1 << 1))

◆ SIGNALING_STATE_JOIN_SESSION

#define SIGNALING_STATE_JOIN_SESSION   ((UINT64) (1 << 13))

◆ SIGNALING_STATE_JOIN_SESSION_CONNECTED

#define SIGNALING_STATE_JOIN_SESSION_CONNECTED   ((UINT64) (1 << 15))

◆ SIGNALING_STATE_JOIN_SESSION_WAITING

#define SIGNALING_STATE_JOIN_SESSION_WAITING   ((UINT64) (1 << 14))

◆ SIGNALING_STATE_NEW

#define SIGNALING_STATE_NEW   ((UINT64) (1 << 0))

◆ SIGNALING_STATE_NONE

#define SIGNALING_STATE_NONE   ((UINT64) 0)

Signaling states definitions

◆ SIGNALING_STATE_READY

#define SIGNALING_STATE_READY   ((UINT64) (1 << 6))

Function Documentation

◆ acceptSignalingStateMachineState()

STATUS acceptSignalingStateMachineState ( PSignalingClient  pSignalingClient,
UINT64  state 
)
Here is the caller graph for this function:

◆ defaultSignalingStateTransitionHook()

STATUS defaultSignalingStateTransitionHook ( UINT64  customData,
PUINT64  stateTransitionWaitTime 
)

◆ executeConnectedSignalingState()

STATUS executeConnectedSignalingState ( UINT64  customData,
UINT64  time 
)

◆ executeConnectSignalingState()

STATUS executeConnectSignalingState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeCreateSignalingState()

STATUS executeCreateSignalingState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeDeletedSignalingState()

STATUS executeDeletedSignalingState ( UINT64  customData,
UINT64  time 
)

◆ executeDeleteSignalingState()

STATUS executeDeleteSignalingState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeDescribeMediaStorageConfState()

STATUS executeDescribeMediaStorageConfState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeDescribeSignalingState()

STATUS executeDescribeSignalingState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeDisconnectedSignalingState()

STATUS executeDisconnectedSignalingState ( UINT64  customData,
UINT64  time 
)

◆ executeGetEndpointSignalingState()

STATUS executeGetEndpointSignalingState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeGetIceConfigSignalingState()

STATUS executeGetIceConfigSignalingState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeGetTokenSignalingState()

STATUS executeGetTokenSignalingState ( UINT64  customData,
UINT64  time 
)

◆ executeJoinStorageSessionConnectedState()

STATUS executeJoinStorageSessionConnectedState ( UINT64  customData,
UINT64  time 
)

◆ executeJoinStorageSessionState()

STATUS executeJoinStorageSessionState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeJoinStorageSessionWaitingState()

STATUS executeJoinStorageSessionWaitingState ( UINT64  customData,
UINT64  time 
)

◆ executeNewSignalingState()

STATUS executeNewSignalingState ( UINT64  customData,
UINT64  time 
)

◆ executeReadySignalingState()

STATUS executeReadySignalingState ( UINT64  customData,
UINT64  time 
)

◆ fromConnectedSignalingState()

STATUS fromConnectedSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromConnectSignalingState()

STATUS fromConnectSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromCreateSignalingState()

STATUS fromCreateSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromDeletedSignalingState()

STATUS fromDeletedSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromDeleteSignalingState()

STATUS fromDeleteSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromDescribeMediaStorageConfState()

STATUS fromDescribeMediaStorageConfState ( UINT64  customData,
PUINT64  pState 
)

◆ fromDescribeSignalingState()

STATUS fromDescribeSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromDisconnectedSignalingState()

STATUS fromDisconnectedSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromGetEndpointSignalingState()

STATUS fromGetEndpointSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromGetIceConfigSignalingState()

STATUS fromGetIceConfigSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromGetTokenSignalingState()

STATUS fromGetTokenSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromJoinStorageSessionConnectedState()

STATUS fromJoinStorageSessionConnectedState ( UINT64  customData,
PUINT64  pState 
)

◆ fromJoinStorageSessionState()

STATUS fromJoinStorageSessionState ( UINT64  customData,
PUINT64  pState 
)

◆ fromJoinStorageSessionWaitingState()

STATUS fromJoinStorageSessionWaitingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromNewSignalingState()

STATUS fromNewSignalingState ( UINT64  customData,
PUINT64  pState 
)

Signaling state machine callbacks

◆ fromReadySignalingState()

STATUS fromReadySignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ getSignalingStateFromStateMachineState()

SIGNALING_CLIENT_STATE getSignalingStateFromStateMachineState ( UINT64  state)
Here is the caller graph for this function:

◆ signalingStateMachineIterator()

STATUS signalingStateMachineIterator ( PSignalingClient  pSignalingClient,
UINT64  expiration,
UINT64  finalState 
)
Here is the caller graph for this function: