4 #ifndef __KINESIS_VIDEO_WEBRTC_TURN_STATE_MACHINE__
5 #define __KINESIS_VIDEO_WEBRTC_TURN_STATE_MACHINE__
28 #define TURN_STATE_NONE ((UINT64) 0)
29 #define TURN_STATE_NEW ((UINT64) (1 << 0))
30 #define TURN_STATE_CHECK_SOCKET_CONNECTION ((UINT64) (1 << 1))
31 #define TURN_STATE_GET_CREDENTIALS ((UINT64) (1 << 2))
32 #define TURN_STATE_ALLOCATION ((UINT64) (1 << 3))
33 #define TURN_STATE_CREATE_PERMISSION ((UINT64) (1 << 4))
34 #define TURN_STATE_BIND_CHANNEL ((UINT64) (1 << 5))
35 #define TURN_STATE_READY ((UINT64) (1 << 6))
36 #define TURN_STATE_CLEAN_UP ((UINT64) (1 << 7))
37 #define TURN_STATE_FAILED ((UINT64) (1 << 8))
39 #define TURN_STATE_NONE_STR (PCHAR) "TURN_STATE_NONE"
40 #define TURN_STATE_NEW_STR (PCHAR) "TURN_STATE_NEW"
41 #define TURN_STATE_CHECK_SOCKET_CONNECTION_STR (PCHAR) "TURN_STATE_CHECK_SOCKET_CONNECTION"
42 #define TURN_STATE_GET_CREDENTIALS_STR (PCHAR) "TURN_STATE_GET_CREDENTIALS"
43 #define TURN_STATE_ALLOCATION_STR (PCHAR) "TURN_STATE_ALLOCATION"
44 #define TURN_STATE_CREATE_PERMISSION_STR (PCHAR) "TURN_STATE_CREATE_PERMISSION"
45 #define TURN_STATE_BIND_CHANNEL_STR (PCHAR) "TURN_STATE_BIND_CHANNEL"
46 #define TURN_STATE_READY_STR (PCHAR) "TURN_STATE_READY"
47 #define TURN_STATE_CLEAN_UP_STR (PCHAR) "TURN_STATE_CLEAN_UP"
48 #define TURN_STATE_FAILED_STR (PCHAR) "TURN_STATE_FAILED"
49 #define TURN_STATE_UNKNOWN_STR (PCHAR) "TURN_STATE_UNKNOWN"
STATUS executeNewTurnState(UINT64, UINT64)
Definition: TurnConnectionStateMachine.c:146
STATUS executeCleanUpTurnState(UINT64, UINT64)
Definition: TurnConnectionStateMachine.c:665
STATUS executeFailedTurnState(UINT64, UINT64)
Definition: TurnConnectionStateMachine.c:729
STATUS executeCreatePermissionTurnState(UINT64, UINT64)
Definition: TurnConnectionStateMachine.c:416
STATUS stepTurnConnectionStateMachine(PTurnConnection)
Definition: TurnConnectionStateMachine.c:63
STATUS fromCheckSocketConnectionTurnState(UINT64, PUINT64)
Definition: TurnConnectionStateMachine.c:162
STATUS executeReadyTurnState(UINT64, UINT64)
Definition: TurnConnectionStateMachine.c:600
STATUS fromFailedTurnState(UINT64, PUINT64)
Definition: TurnConnectionStateMachine.c:693
STATUS executeAllocationTurnState(UINT64, UINT64)
Definition: TurnConnectionStateMachine.c:325
STATUS fromCreatePermissionTurnState(UINT64, PUINT64)
Definition: TurnConnectionStateMachine.c:359
STATUS executeCheckSocketConnectionTurnState(UINT64, UINT64)
Definition: TurnConnectionStateMachine.c:198
STATUS fromNewTurnState(UINT64, PUINT64)
Definition: TurnConnectionStateMachine.c:128
STATUS fromAllocationTurnState(UINT64, PUINT64)
Definition: TurnConnectionStateMachine.c:290
STATUS executeGetCredentialsTurnState(UINT64, UINT64)
Definition: TurnConnectionStateMachine.c:255
STATUS fromReadyTurnState(UINT64, PUINT64)
Definition: TurnConnectionStateMachine.c:543
STATUS acceptTurnMachineState(PTurnConnection, UINT64)
STATUS fromGetCredentialsTurnState(UINT64, PUINT64)
Definition: TurnConnectionStateMachine.c:218
STATUS fromBindChannelTurnState(UINT64, PUINT64)
Definition: TurnConnectionStateMachine.c:482
PCHAR turnStateGetStateStr(UINT64 state)
STATUS executeBindChannelTurnState(UINT64, UINT64)
Definition: TurnConnectionStateMachine.c:524
STATUS fromCleanUpTurnState(UINT64, PUINT64)
Definition: TurnConnectionStateMachine.c:618
Definition: TurnConnection.h:119