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>
38#include <mbedtls/ssl.h>
39#include <mbedtls/entropy.h>
40#include <mbedtls/ctr_drbg.h>
41#include <mbedtls/error.h>
42#if MBEDTLS_VERSION_NUMBER < 0x03000000
43#include <mbedtls/certs.h>
45#include <mbedtls/sha256.h>
46#include <mbedtls/md5.h>
49#include <srtp2/srtp.h>
57#include <libwebsockets.h>
59#if !defined __WINDOWS_BUILD__
64#include <sys/socket.h>
69#include <netinet/tcp.h>
73#define ICE_MAX_UFRAG_LEN 256
74#define ICE_MAX_UPWD_LEN 256
77#define STUN_MAX_USERNAME_LEN (UINT16) 512
80#define STUN_MAX_REALM_LEN (UINT16) 128
83#define STUN_MAX_NONCE_LEN (UINT16) 128
86#define STUN_MAX_ERROR_PHRASE_LEN (UINT16) 128
89#define IPV6_ADDRESS_LENGTH (UINT16) 16
90#define IPV4_ADDRESS_LENGTH (UINT16) 4
92#define CERTIFICATE_FINGERPRINT_LENGTH 160
94#define MAX_UDP_PACKET_SIZE 65507
108#define IS_IPV4_ADDR(pAddress) ((pAddress)->family == KVS_IP_FAMILY_TYPE_IPV4)
111#define ALIGN_UP_TO_MACHINE_WORD(x) ROUND_UP((x), SIZEOF(SIZE_T))
175#define KVS_CONVERT_TIMESCALE(pts, from_timescale, to_timescale) (pts * to_timescale / from_timescale)
STATUS(* IceServerSetIpFunc)(UINT64, PCHAR, PKvsIpAddress)
Definition Include_i.h:113
KVS_IP_FAMILY_TYPE
Definition Include_i.h:96
@ KVS_IP_FAMILY_TYPE_IPV4
Definition Include_i.h:97
@ KVS_IP_FAMILY_TYPE_IPV6
Definition Include_i.h:98
#define IPV6_ADDRESS_LENGTH
Definition Include_i.h:89
STATUS generateJSONSafeString(PCHAR, UINT32)
Definition PeerConnection.c:714
struct KvsIpAddress * PKvsIpAddress
STATUS getIpAddrStr(PKvsIpAddress pKvsIpAddress, PCHAR pBuffer, UINT32 bufferLen)
Definition Network.c:461
Definition Include_i.h:101
UINT16 port
Definition Include_i.h:103
BOOL isPointToPoint
Definition Include_i.h:105
UINT16 family
Definition Include_i.h:102
Definition SocketConnection.h:25
Definition TurnConnection.h:119