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>
50#include <srtp3/srtp.h>
52#include <srtp2/srtp.h>
61#if !defined __WINDOWS_BUILD__
68#include <sys/socket.h>
73#include <netinet/tcp.h>
80#define ICE_MAX_UFRAG_LEN 256
81#define ICE_MAX_UPWD_LEN 256
84#define STUN_MAX_USERNAME_LEN (UINT16) 512
87#define STUN_MAX_REALM_LEN (UINT16) 128
90#define STUN_MAX_NONCE_LEN (UINT16) 128
93#define STUN_MAX_ERROR_PHRASE_LEN (UINT16) 128
96#define IPV6_ADDRESS_LENGTH (UINT16) 16
97#define IPV4_ADDRESS_LENGTH (UINT16) 4
99#define CERTIFICATE_FINGERPRINT_LENGTH 160
101#define MAX_UDP_PACKET_SIZE 65507
133#define ALIGN_UP_TO_MACHINE_WORD(x) ROUND_UP((x), SIZEOF(SIZE_T))
197#define KVS_CONVERT_TIMESCALE(pts, from_timescale, to_timescale) (pts * to_timescale / from_timescale)
KVS_IP_FAMILY_TYPE
Definition Include_i.h:103
@ KVS_IP_FAMILY_TYPE_IPV4
Definition Include_i.h:105
@ KVS_IP_FAMILY_TYPE_NOT_SET
Definition Include_i.h:104
@ KVS_IP_FAMILY_TYPE_IPV6
Definition Include_i.h:106
#define IPV6_ADDRESS_LENGTH
Definition Include_i.h:96
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:135
Definition Include_i.h:117
KvsIpAddress ipv4Address
Definition Include_i.h:118
KvsIpAddress ipv6Address
Definition Include_i.h:119
Definition Include_i.h:109
UINT16 port
Definition Include_i.h:111
BOOL isPointToPoint
Definition Include_i.h:113
UINT16 family
Definition Include_i.h:110
Definition SocketConnection.h:25
Definition TurnConnection.h:119