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#include <mbedtls/certs.h>
43#include <mbedtls/sha256.h>
44#include <mbedtls/md5.h>
47#include <srtp2/srtp.h>
55#include <libwebsockets.h>
57#if !defined __WINDOWS_BUILD__
62#include <sys/socket.h>
67#include <netinet/tcp.h>
71#define ICE_MAX_UFRAG_LEN 256
72#define ICE_MAX_UPWD_LEN 256
75#define STUN_MAX_USERNAME_LEN (UINT16) 512
78#define STUN_MAX_REALM_LEN (UINT16) 128
81#define STUN_MAX_NONCE_LEN (UINT16) 128
84#define STUN_MAX_ERROR_PHRASE_LEN (UINT16) 128
87#define IPV6_ADDRESS_LENGTH (UINT16) 16
88#define IPV4_ADDRESS_LENGTH (UINT16) 4
90#define CERTIFICATE_FINGERPRINT_LENGTH 160
92#define MAX_UDP_PACKET_SIZE 65507
106#define IS_IPV4_ADDR(pAddress) ((pAddress)->family == KVS_IP_FAMILY_TYPE_IPV4)
109#define ALIGN_UP_TO_MACHINE_WORD(x) ROUND_UP((x), SIZEOF(SIZE_T))
173#define KVS_CONVERT_TIMESCALE(pts, from_timescale, to_timescale) (pts * to_timescale / from_timescale)
STATUS(* IceServerSetIpFunc)(UINT64, PCHAR, PKvsIpAddress)
Definition Include_i.h:111
KVS_IP_FAMILY_TYPE
Definition Include_i.h:94
@ KVS_IP_FAMILY_TYPE_IPV4
Definition Include_i.h:95
@ KVS_IP_FAMILY_TYPE_IPV6
Definition Include_i.h:96
#define IPV6_ADDRESS_LENGTH
Definition Include_i.h:87
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:99
UINT16 port
Definition Include_i.h:101
BOOL isPointToPoint
Definition Include_i.h:103
UINT16 family
Definition Include_i.h:100
Definition SocketConnection.h:25
Definition TurnConnection.h:119