4#ifndef __KINESIS_VIDEO_WEBRTC_CLIENT_INCLUDE_I__
5#define __KINESIS_VIDEO_WEBRTC_CLIENT_INCLUDE_I__
30#include <openssl/bio.h>
31#include <openssl/err.h>
32#include <openssl/hmac.h>
33#include <openssl/md5.h>
34#include <openssl/rand.h>
35#include <openssl/sha.h>
36#include <openssl/ssl.h>
50#if __has_include(<mbedtls/build_info.h>)
51#include <mbedtls/build_info.h>
53#include <mbedtls/version.h>
56#include <mbedtls/version.h>
58#if defined(MBEDTLS_VERSION_NUMBER) && MBEDTLS_VERSION_MAJOR >= 4
59#define MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS
61#include <mbedtls/ssl.h>
62#include <mbedtls/error.h>
63#if defined(MBEDTLS_VERSION_NUMBER) && MBEDTLS_VERSION_MAJOR >= 4
64#include <mbedtls/private/entropy.h>
65#include <mbedtls/private/ctr_drbg.h>
66#include <mbedtls/private/sha256.h>
67#include <mbedtls/private/md5.h>
68#include <mbedtls/md.h>
69#include <mbedtls/pk.h>
70#include <mbedtls/private/rsa.h>
71#include <mbedtls/private/ecp.h>
72#include <mbedtls/private/bignum.h>
74#include <mbedtls/entropy.h>
75#include <mbedtls/ctr_drbg.h>
76#if MBEDTLS_VERSION_NUMBER < 0x03000000
77#include <mbedtls/certs.h>
79#include <mbedtls/sha256.h>
80#include <mbedtls/md5.h>
85#include <srtp3/srtp.h>
87#include <srtp2/srtp.h>
96#if !defined __WINDOWS_BUILD__
102#include <sys/types.h>
103#include <sys/socket.h>
106#include <arpa/inet.h>
108#include <netinet/tcp.h>
115#define ICE_MAX_UFRAG_LEN 256
116#define ICE_MAX_UPWD_LEN 256
119#define STUN_MAX_USERNAME_LEN (UINT16) 512
122#define STUN_MAX_REALM_LEN (UINT16) 128
125#define STUN_MAX_NONCE_LEN (UINT16) 128
128#define STUN_MAX_ERROR_PHRASE_LEN (UINT16) 128
131#define IPV6_ADDRESS_LENGTH (UINT16) 16
132#define IPV4_ADDRESS_LENGTH (UINT16) 4
134#define CERTIFICATE_FINGERPRINT_LENGTH 160
136#define MAX_UDP_PACKET_SIZE 65507
168#define ALIGN_UP_TO_MACHINE_WORD(x) ROUND_UP((x), SIZEOF(SIZE_T))
232#define KVS_CONVERT_TIMESCALE(pts, from_timescale, to_timescale) (pts * to_timescale / from_timescale)
KVS_IP_FAMILY_TYPE
Definition Include_i.h:138
@ KVS_IP_FAMILY_TYPE_IPV4
Definition Include_i.h:140
@ KVS_IP_FAMILY_TYPE_NOT_SET
Definition Include_i.h:139
@ KVS_IP_FAMILY_TYPE_IPV6
Definition Include_i.h:141
#define IPV6_ADDRESS_LENGTH
Definition Include_i.h:131
STATUS generateJSONSafeString(PCHAR, UINT32)
Definition PeerConnection.c:711
struct DualKvsIpAddresses * PDualKvsIpAddresses
struct KvsIpAddress * PKvsIpAddress
STATUS getIpAddrStr(PKvsIpAddress pKvsIpAddress, PCHAR pBuffer, UINT32 bufferLen)
Definition Network.c:636
STATUS(* IceServerSetIpFunc)(UINT64, PCHAR, PDualKvsIpAddresses)
Definition Include_i.h:170
Definition Include_i.h:152
KvsIpAddress ipv4Address
Definition Include_i.h:153
KvsIpAddress ipv6Address
Definition Include_i.h:154
Definition Include_i.h:144
UINT16 port
Definition Include_i.h:146
BOOL isPointToPoint
Definition Include_i.h:148
UINT16 family
Definition Include_i.h:145
Definition SocketConnection.h:25
Definition TurnConnection.h:119