Amazon Kinesis Webrtc C SDK
Timeouts

Timeouts related macros. More...

Collaboration diagram for Timeouts:

Macros

#define SIGNALING_CREATE_TIMEOUT   (10 * HUNDREDS_OF_NANOS_IN_A_SECOND)
 
#define SIGNALING_CONNECT_STATE_TIMEOUT   (15 * HUNDREDS_OF_NANOS_IN_A_SECOND)
 
#define SIGNALING_DISCONNECT_STATE_TIMEOUT   (15 * HUNDREDS_OF_NANOS_IN_A_SECOND)
 
#define SIGNALING_REFRESH_ICE_CONFIG_STATE_TIMEOUT   (20 * HUNDREDS_OF_NANOS_IN_A_SECOND)
 
#define SIGNALING_CONNECT_TIMEOUT   (5 * HUNDREDS_OF_NANOS_IN_A_SECOND)
 
#define THREADPOOL_MIN_THREADS   3
 
#define THREADPOOL_MAX_THREADS   10
 
#define WEBRTC_THREADPOOL_MIN_THREADS_ENV_VAR   (PCHAR) "AWS_KVS_WEBRTC_THREADPOOL_MIN_THREADS"
 
#define WEBRTC_THREADPOOL_MAX_THREADS_ENV_VAR   (PCHAR) "AWS_KVS_WEBRTC_THREADPOOL_MAX_THREADS"
 
#define SIGNALING_SEND_TIMEOUT   (5 * HUNDREDS_OF_NANOS_IN_A_SECOND)
 
#define SIGNALING_DELETE_TIMEOUT   (5 * HUNDREDS_OF_NANOS_IN_A_SECOND)
 
#define SIGNALING_DEFAULT_MESSAGE_TTL_VALUE   (60 * HUNDREDS_OF_NANOS_IN_A_SECOND)
 
#define SIGNALING_JOIN_STORAGE_SESSION_WAIT_TIMEOUT   (6 * HUNDREDS_OF_NANOS_IN_A_SECOND)
 
#define DEFAULT_JITTER_BUFFER_MAX_LATENCY   (2000L * HUNDREDS_OF_NANOS_IN_A_MILLISECOND)
 

Detailed Description

Timeouts related macros.

Timeouts for different activities in the stack

Macro Definition Documentation

◆ DEFAULT_JITTER_BUFFER_MAX_LATENCY

#define DEFAULT_JITTER_BUFFER_MAX_LATENCY   (2000L * HUNDREDS_OF_NANOS_IN_A_MILLISECOND)

Default jitter buffer tolerated latency, frame will be dropped if it is out of window

◆ SIGNALING_CONNECT_STATE_TIMEOUT

#define SIGNALING_CONNECT_STATE_TIMEOUT   (15 * HUNDREDS_OF_NANOS_IN_A_SECOND)

Default connect sync API timeout

◆ SIGNALING_CONNECT_TIMEOUT

#define SIGNALING_CONNECT_TIMEOUT   (5 * HUNDREDS_OF_NANOS_IN_A_SECOND)

Default signaling connection establishment timeout

◆ SIGNALING_CREATE_TIMEOUT

#define SIGNALING_CREATE_TIMEOUT   (10 * HUNDREDS_OF_NANOS_IN_A_SECOND)

Default signaling creation timeout

◆ SIGNALING_DEFAULT_MESSAGE_TTL_VALUE

#define SIGNALING_DEFAULT_MESSAGE_TTL_VALUE   (60 * HUNDREDS_OF_NANOS_IN_A_SECOND)

Default signaling message alive time

◆ SIGNALING_DELETE_TIMEOUT

#define SIGNALING_DELETE_TIMEOUT   (5 * HUNDREDS_OF_NANOS_IN_A_SECOND)

Default timeout for deleting a channel

◆ SIGNALING_DISCONNECT_STATE_TIMEOUT

#define SIGNALING_DISCONNECT_STATE_TIMEOUT   (15 * HUNDREDS_OF_NANOS_IN_A_SECOND)

Default disconnect sync API timeout

◆ SIGNALING_JOIN_STORAGE_SESSION_WAIT_TIMEOUT

#define SIGNALING_JOIN_STORAGE_SESSION_WAIT_TIMEOUT   (6 * HUNDREDS_OF_NANOS_IN_A_SECOND)

◆ SIGNALING_REFRESH_ICE_CONFIG_STATE_TIMEOUT

#define SIGNALING_REFRESH_ICE_CONFIG_STATE_TIMEOUT   (20 * HUNDREDS_OF_NANOS_IN_A_SECOND)

Default refresh ICE server config API timeout

◆ SIGNALING_SEND_TIMEOUT

#define SIGNALING_SEND_TIMEOUT   (5 * HUNDREDS_OF_NANOS_IN_A_SECOND)

Default timeout for sending data

◆ THREADPOOL_MAX_THREADS

#define THREADPOOL_MAX_THREADS   10

Default maximum number of threads in the threadpool for the SDK

◆ THREADPOOL_MIN_THREADS

#define THREADPOOL_MIN_THREADS   3

Default minimum number of threads in the threadpool for the SDK

◆ WEBRTC_THREADPOOL_MAX_THREADS_ENV_VAR

#define WEBRTC_THREADPOOL_MAX_THREADS_ENV_VAR   (PCHAR) "AWS_KVS_WEBRTC_THREADPOOL_MAX_THREADS"

Env to set maximum number of threads in the threadpool for the SDK

◆ WEBRTC_THREADPOOL_MIN_THREADS_ENV_VAR

#define WEBRTC_THREADPOOL_MIN_THREADS_ENV_VAR   (PCHAR) "AWS_KVS_WEBRTC_THREADPOOL_MIN_THREADS"

Env to set minimum number of threads in the threadpool for the KVS SDK