Amazon Kinesis Webrtc C SDK
Include_i.h File Reference
#include <com/amazonaws/kinesis/video/webrtcclient/Include.h>
#include <srtp2/srtp.h>
#include <usrsctp.h>
#include <libwebsockets.h>
#include <signal.h>
#include <sys/types.h>
#include <ifaddrs.h>
#include <sys/socket.h>
#include <netdb.h>
#include <net/if.h>
#include <arpa/inet.h>
#include <fcntl.h>
#include <netinet/tcp.h>
#include "Threadpool/ThreadpoolContext.h"
#include "Crypto/IOBuffer.h"
#include "Crypto/Crypto.h"
#include "Crypto/Dtls.h"
#include "Crypto/Tls.h"
#include "Ice/Network.h"
#include "Ice/SocketConnection.h"
#include "Ice/ConnectionListener.h"
#include "Stun/Stun.h"
#include "Ice/IceUtils.h"
#include "Sdp/Sdp.h"
#include "Ice/IceAgent.h"
#include "Ice/TurnConnection.h"
#include "Ice/IceAgentStateMachine.h"
#include "Ice/TurnConnectionStateMachine.h"
#include "Ice/NatBehaviorDiscovery.h"
#include "Srtp/SrtpSession.h"
#include "Sctp/Sctp.h"
#include "Signaling/FileCache.h"
#include "Signaling/Signaling.h"
#include "Signaling/ChannelInfo.h"
#include "Signaling/StateMachine.h"
#include "Signaling/LwsApiCalls.h"
#include "Rtp/RtpPacket.h"
#include "Rtcp/RtcpPacket.h"
#include "Rtcp/RollingBuffer.h"
#include "Rtcp/RtpRollingBuffer.h"
#include "PeerConnection/JitterBuffer.h"
#include "PeerConnection/PeerConnection.h"
#include "PeerConnection/Retransmitter.h"
#include "PeerConnection/SessionDescription.h"
#include "PeerConnection/Rtp.h"
#include "PeerConnection/Rtcp.h"
#include "PeerConnection/DataChannel.h"
#include "Rtp/Codecs/RtpVP8Payloader.h"
#include "Rtp/Codecs/RtpH264Payloader.h"
#include "Rtp/Codecs/RtpH265Payloader.h"
#include "Rtp/Codecs/RtpOpusPayloader.h"
#include "Rtp/Codecs/RtpG711Payloader.h"
#include "Metrics/Metrics.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  KvsIpAddress
 

Macros

#define INET   1
 
#define INET6   1
 
#define ICE_MAX_UFRAG_LEN   256
 
#define ICE_MAX_UPWD_LEN   256
 
#define STUN_MAX_USERNAME_LEN   (UINT16) 512
 
#define STUN_MAX_REALM_LEN   (UINT16) 128
 
#define STUN_MAX_NONCE_LEN   (UINT16) 128
 
#define STUN_MAX_ERROR_PHRASE_LEN   (UINT16) 128
 
#define IPV6_ADDRESS_LENGTH   (UINT16) 16
 
#define IPV4_ADDRESS_LENGTH   (UINT16) 4
 
#define CERTIFICATE_FINGERPRINT_LENGTH   160
 
#define MAX_UDP_PACKET_SIZE   65507
 
#define IS_IPV4_ADDR(pAddress)   ((pAddress)->family == KVS_IP_FAMILY_TYPE_IPV4)
 
#define ALIGN_UP_TO_MACHINE_WORD(x)   ROUND_UP((x), SIZEOF(SIZE_T))
 
#define KVS_CONVERT_TIMESCALE(pts, from_timescale, to_timescale)   (pts * to_timescale / from_timescale)
 

Typedefs

typedef struct KvsIpAddressPKvsIpAddress
 
typedef STATUS(* IceServerSetIpFunc) (UINT64, PCHAR, PKvsIpAddress)
 

Enumerations

enum  KVS_IP_FAMILY_TYPE { KVS_IP_FAMILY_TYPE_IPV4 = (UINT16) 0x0001 , KVS_IP_FAMILY_TYPE_IPV6 = (UINT16) 0x0002 }
 

Functions

STATUS getIpAddrStr (PKvsIpAddress pKvsIpAddress, PCHAR pBuffer, UINT32 bufferLen)
 
STATUS generateJSONSafeString (PCHAR, UINT32)
 

Macro Definition Documentation

◆ ALIGN_UP_TO_MACHINE_WORD

#define ALIGN_UP_TO_MACHINE_WORD (   x)    ROUND_UP((x), SIZEOF(SIZE_T))

◆ CERTIFICATE_FINGERPRINT_LENGTH

#define CERTIFICATE_FINGERPRINT_LENGTH   160

◆ ICE_MAX_UFRAG_LEN

#define ICE_MAX_UFRAG_LEN   256

◆ ICE_MAX_UPWD_LEN

#define ICE_MAX_UPWD_LEN   256

◆ INET

#define INET   1

◆ INET6

#define INET6   1

◆ IPV4_ADDRESS_LENGTH

#define IPV4_ADDRESS_LENGTH   (UINT16) 4

◆ IPV6_ADDRESS_LENGTH

#define IPV6_ADDRESS_LENGTH   (UINT16) 16

◆ IS_IPV4_ADDR

#define IS_IPV4_ADDR (   pAddress)    ((pAddress)->family == KVS_IP_FAMILY_TYPE_IPV4)

◆ KVS_CONVERT_TIMESCALE

#define KVS_CONVERT_TIMESCALE (   pts,
  from_timescale,
  to_timescale 
)    (pts * to_timescale / from_timescale)

◆ MAX_UDP_PACKET_SIZE

#define MAX_UDP_PACKET_SIZE   65507

◆ STUN_MAX_ERROR_PHRASE_LEN

#define STUN_MAX_ERROR_PHRASE_LEN   (UINT16) 128

◆ STUN_MAX_NONCE_LEN

#define STUN_MAX_NONCE_LEN   (UINT16) 128

◆ STUN_MAX_REALM_LEN

#define STUN_MAX_REALM_LEN   (UINT16) 128

◆ STUN_MAX_USERNAME_LEN

#define STUN_MAX_USERNAME_LEN   (UINT16) 512

Typedef Documentation

◆ IceServerSetIpFunc

typedef STATUS(* IceServerSetIpFunc) (UINT64, PCHAR, PKvsIpAddress)

◆ PKvsIpAddress

typedef struct KvsIpAddress * PKvsIpAddress

Enumeration Type Documentation

◆ KVS_IP_FAMILY_TYPE

Enumerator
KVS_IP_FAMILY_TYPE_IPV4 
KVS_IP_FAMILY_TYPE_IPV6 

Function Documentation

◆ generateJSONSafeString()

STATUS generateJSONSafeString ( PCHAR  pDst,
UINT32  len 
)
Here is the caller graph for this function:

◆ getIpAddrStr()

STATUS getIpAddrStr ( PKvsIpAddress  pKvsIpAddress,
PCHAR  pBuffer,
UINT32  bufferLen 
)
Here is the caller graph for this function: