Modules | |
SessionDescriptionInitStatusCodes | |
Session description init related status codes. | |
SDPStatusCodes | |
SDP related status codes. | |
STUNStatusCodes | |
STUN related status codes. | |
NetworkingStatusCodes | |
Networking related status codes. | |
DTLSStatusCodes | |
DTLS related status codes. | |
ICEStatusCodes | |
ICE/TURN related status codes. | |
SRTPStatusCodes | |
SRTP related status codes. | |
RTPStatusCodes | |
RTP related status codes. | |
SignalingStatusCodes | |
Signaling related status codes. | |
PeerConnectionStatusCodes | |
Peer connection related status codes. | |
SCTPStatusCodes | |
SCTP related status codes. | |
RTCPStatusCodes | |
RTCP related status codes. | |
RollingBufferStatusCodes | |
Rolling buffer related status codes. | |
NameLengths | |
Lengths of different character arrays. | |
StructureVersions | |
Structure version macros. | |
Counts | |
Count related macros. | |
Timeouts | |
Timeouts related macros. | |
PublicEnums | |
Public Enums. | |
Callbacks | |
Extra callbacks definitions. | |
PublicStructures | |
Structures available for use by applications. | |
StatsStructures | |
Metrics/Stats Related structures. | |
PublicMemberFunctions | |
Public functions. | |
Macros | |
#define | STATUS_WEBRTC_BASE 0x55000000 |
#define | SIGNALING_VALID_NAME_CHARS "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_.-" |
#define | MAX_RTP_SEQUENCE_NUM ((UINT32) MAX_UINT16) |
#define | MAX_RTP_TIMESTAMP ((UINT32) MAX_UINT32) |
#define | KINESIS_VIDEO_STUN_URL_POSTFIX "amazonaws.com" |
#define | KINESIS_VIDEO_STUN_URL_POSTFIX_CN "amazonaws.com.cn" |
#define | KINESIS_VIDEO_STUN_URL "stun:stun.kinesisvideo.%s.%s:443" |
#define | KINESIS_VIDEO_STUN_URL_WITHOUT_PORT "stun.kinesisvideo.%s.%s" |
#define | SIGNALING_DEFAULT_SSL_PORT DEFAULT_SSL_PORT_NUMBER |
#define | SIGNALING_DEFAULT_NON_SSL_PORT DEFAULT_NON_SSL_PORT_NUMBER |
#define | CHK_LOG_ERR_NV(condition) DLOGE("CHK_LOG_ERR_NV has been replaced with CHK_LOG_ERR"); |
#define | SIGNALING_STATES_DEFAULT_RETRY_COUNT 1 |
#define | SIGNALING_DEFAULT_API_CALL_CACHE_TTL (10 * HUNDREDS_OF_NANOS_IN_AN_HOUR) |
#define | SIGNALING_API_CALL_CACHE_TTL_SENTINEL_VALUE 0 |
#define | CREATE_SIGNALING_CLIENT_RETRY_ATTEMPTS_SENTINEL_VALUE -1 |
#define | INVALID_SIGNALING_CLIENT_HANDLE_VALUE ((SIGNALING_CLIENT_HANDLE) INVALID_PIC_HANDLE_VALUE) |
This is a sentinel indicating an invalid handle value. | |
#define | IS_VALID_SIGNALING_CLIENT_HANDLE(h) ((h) != INVALID_SIGNALING_CLIENT_HANDLE_VALUE) |
Checks for the handle validity. | |
Typedefs | |
typedef UINT64 | SIGNALING_CLIENT_HANDLE |
Definition of the signaling client handle. | |
typedef SIGNALING_CLIENT_HANDLE * | PSIGNALING_CLIENT_HANDLE |
Variables | |
CHAR | __RtcDataChannel::name [255+1] |
Define name of data channel. Max length is 256 characters. | |
UINT32 | __RtcDataChannel::id |
UINT32 | RtcPeerConnection::version |
Version of peer connection structure. | |
RTC_CODEC | RtcMediaStreamTrack::codec |
non-standard, codec that the track is using | |
CHAR | RtcMediaStreamTrack::trackId [255+1] |
non-standard, id of this individual track | |
CHAR | RtcMediaStreamTrack::streamId [255+1] |
non-standard, id of the MediaStream this track belongs too | |
MEDIA_STREAM_TRACK_KIND | RtcMediaStreamTrack::kind |
Kind of track - audio or video. | |
RtcMediaStreamTrack | RtcRtpReceiver::track |
Track with details of codec, trackId, streamId and track kind. | |
RTC_RTP_TRANSCEIVER_DIRECTION | RtcRtpTransceiver::direction |
Transceiver direction. | |
RtcRtpReceiver | RtcRtpTransceiver::receiver |
RtcRtpReceiver that has track specific information. | |
CHAR | RtcIceServer::urls [MAX_ICE_CONFIG_URI_LEN+1] |
URL of STUN/TURN Server. | |
CHAR | RtcIceServer::username [256+1] |
Username to be used with TURN server. | |
CHAR | RtcIceServer::credential [256+1] |
Password to be used with TURN server. | |
PBYTE | RtcCertificate::pCertificate |
Certificate bits. | |
UINT32 | RtcCertificate::certificateSize |
Size of certificate in bytes (optional) | |
PBYTE | RtcCertificate::pPrivateKey |
Private key bit. | |
UINT32 | RtcCertificate::privateKeySize |
Size of private key in bytes (optional) | |
UINT16 | KvsRtcConfiguration::maximumTransmissionUnit |
UINT32 | KvsRtcConfiguration::iceLocalCandidateGatheringTimeout |
UINT32 | KvsRtcConfiguration::iceConnectionCheckTimeout |
UINT32 | KvsRtcConfiguration::iceCandidateNominationTimeout |
UINT32 | KvsRtcConfiguration::iceConnectionCheckPollingInterval |
INT32 | KvsRtcConfiguration::generatedCertificateBits |
BOOL | KvsRtcConfiguration::generateRSACertificate |
UINT32 | KvsRtcConfiguration::sendBufSize |
Socket send buffer length. Item larger then this size will get dropped. Use system default if 0. | |
UINT64 | KvsRtcConfiguration::filterCustomData |
Custom Data that can be populated by the developer while developing filter function. | |
IceSetInterfaceFilterFunc | KvsRtcConfiguration::iceSetInterfaceFilterFunc |
BOOL | KvsRtcConfiguration::disableSenderSideBandwidthEstimation |
ICE_TRANSPORT_POLICY | RtcConfiguration::iceTransportPolicy |
Indicates which candidates the ICE Agent is allowed to use. | |
RtcIceServer | RtcConfiguration::iceServers [(5 *4+1)] |
Servers available to be used by ICE, such as STUN and TURN servers. | |
KvsRtcConfiguration | RtcConfiguration::kvsRtcConfiguration |
Non-standard configuration options. | |
RtcCertificate | RtcConfiguration::certificates [3] |
SDP_TYPE | RtcSessionDescriptionInit::type |
Indicates an offer/answer SDP type. | |
BOOL | RtcSessionDescriptionInit::useTrickleIce |
Indicates if an offer should set trickle ice. | |
CHAR | RtcSessionDescriptionInit::sdp [25000+1] |
CHAR | RtcIceCandidateInit::candidate [255+1] |
UINT32 | SignalingMessage::version |
Current version of the structure. | |
SIGNALING_MESSAGE_TYPE | SignalingMessage::messageType |
Type of signaling message. | |
CHAR | SignalingMessage::correlationId [256+1] |
Correlation Id string. | |
CHAR | SignalingMessage::peerClientId [256+1] |
Sender client id. | |
UINT32 | SignalingMessage::payloadLen |
Optional payload length. If 0, the length will be calculated. | |
CHAR | SignalingMessage::payload [(10 *1024)+1] |
Actual signaling message payload. | |
SignalingMessage | ReceivedSignalingMessage::signalingMessage |
SERVICE_CALL_RESULT | ReceivedSignalingMessage::statusCode |
Response status code. | |
CHAR | ReceivedSignalingMessage::errorType [256+1] |
Error type of the signaling message. | |
CHAR | ReceivedSignalingMessage::description [1024+1] |
Optional description of the message. | |
UINT32 | SignalingClientInfo::version |
Version of the structure. | |
CHAR | SignalingClientInfo::clientId [256+1] |
Client id to use. Defines if the client is a producer/consumer. | |
UINT32 | SignalingClientInfo::loggingLevel |
PCHAR | SignalingClientInfo::cacheFilePath |
KvsRetryStrategyCallbacks | SignalingClientInfo::signalingRetryStrategyCallbacks |
Retry strategy callbacks used while creating signaling client. | |
INT32 | SignalingClientInfo::signalingClientCreationMaxRetryAttempts |
Max attempts to create signaling client before returning error to the caller. | |
UINT32 | SignalingClientInfo::stateMachineRetryCountReadOnly |
UINT32 | SignalingClientInfo::signalingMessagesMinimumThreads |
Unused field post v1.8.1. | |
UINT32 | SignalingClientInfo::signalingMessagesMaximumThreads |
Unused field post v1.8.1. | |
UINT32 | ChannelInfo::version |
Version of the structure. | |
PCHAR | ChannelInfo::pChannelName |
Name of the signaling channel name. Maximum length is defined by MAX_CHANNEL_NAME_LEN + 1. | |
PCHAR | ChannelInfo::pChannelArn |
PCHAR | ChannelInfo::pStorageStreamArn |
PCHAR | ChannelInfo::pRegion |
PCHAR | ChannelInfo::pControlPlaneUrl |
PCHAR | ChannelInfo::pCertPath |
Optional certificate path. Maximum length is defined by MAX_PATH_LEN+1. | |
PCHAR | ChannelInfo::pUserAgentPostfix |
PCHAR | ChannelInfo::pCustomUserAgent |
Optional custom user agent name. Maximum length is defined by MAX_USER_AGENT_LEN+1. | |
PCHAR | ChannelInfo::pUserAgent |
Combined user agent. Maximum length is defined by MAX_USER_AGENT_LEN+1. | |
PCHAR | ChannelInfo::pKmsKeyId |
Optional KMS key id ARN. Maximum length is defined by MAX_ARN_LEN+1. | |
SIGNALING_CHANNEL_TYPE | ChannelInfo::channelType |
Channel type when creating. | |
SIGNALING_CHANNEL_ROLE_TYPE | ChannelInfo::channelRoleType |
Channel role type for the endpoint - master/viewer. | |
BOOL | ChannelInfo::reserved |
Reserved field for compatibility. | |
UINT64 | ChannelInfo::cachingPeriod |
BOOL | ChannelInfo::retry |
Flag determines if a retry of the network calls is to be done on errors up to max retry times. | |
BOOL | ChannelInfo::reconnect |
Flag determines if reconnection should be attempted on connection drop. | |
UINT64 | ChannelInfo::messageTtl |
UINT32 | ChannelInfo::tagCount |
Number of tags associated with the stream. | |
PTag | ChannelInfo::pTags |
Stream tags array. | |
SIGNALING_API_CALL_CACHE_TYPE | ChannelInfo::cachingPolicy |
Backend API call caching policy. | |
BOOL | ChannelInfo::asyncIceServerConfig |
BOOL | ChannelInfo::useMediaStorage |
use the feature of media storage. | |
UINT32 | IceConfigInfo::version |
Version of the struct. | |
UINT64 | IceConfigInfo::ttl |
TTL of the configuration is 100ns. | |
UINT32 | IceConfigInfo::uriCount |
Number of Ice URI objects. | |
CHAR | IceConfigInfo::uris [4][MAX_ICE_CONFIG_URI_LEN+1] |
List of Ice server URIs. | |
CHAR | IceConfigInfo::userName [256+1] |
Username for the server. | |
CHAR | IceConfigInfo::password [256+1] |
Password for the server. | |
BOOL | MediaStorageConfig::storageStatus |
Indicate the association between channelArn and storageStreamArn. | |
CHAR | MediaStorageConfig::storageStreamArn [MAX_ARN_LEN+1] |
The arn of kvs stream, optional if you already associate signaling channel with stream. | |
UINT32 | SignalingClientCallbacks::version |
Current version of the structure. | |
UINT64 | SignalingClientCallbacks::customData |
Custom data passed by the caller. | |
SignalingClientMessageReceivedFunc | SignalingClientCallbacks::messageReceivedFn |
Callback registration for received SDP. | |
SignalingClientErrorReportFunc | SignalingClientCallbacks::errorReportFn |
Error reporting function. This is an optional member. | |
SignalingClientStateChangedFunc | SignalingClientCallbacks::stateChangeFn |
Signaling client state change callback. | |
GetCurrentTimeFunc | SignalingClientCallbacks::getCurrentTimeFn |
callback to override system time, used for testing clock skew | |
UINT32 | SignalingChannelDescription::version |
Version of the SignalingChannelDescription struct. | |
CHAR | SignalingChannelDescription::channelArn [MAX_ARN_LEN+1] |
Channel Amazon Resource Name (ARN) | |
CHAR | SignalingChannelDescription::channelName [256+1] |
Signaling channel name. Should be unique per AWS account. | |
SIGNALING_CHANNEL_STATUS | SignalingChannelDescription::channelStatus |
Current channel status as reported by the service. | |
SIGNALING_CHANNEL_TYPE | SignalingChannelDescription::channelType |
Channel type as reported by the service. | |
CHAR | SignalingChannelDescription::updateVersion [MAX_UPDATE_VERSION_LEN+1] |
UINT64 | SignalingChannelDescription::messageTtl |
UINT64 | SignalingChannelDescription::creationTime |
Timestamp of when the channel gets created. | |
RTC_RTP_TRANSCEIVER_DIRECTION | RtcRtpTransceiverInit::direction |
Transceiver direction - SENDONLY, RECVONLY, SENDRECV. | |
BOOL | RtcDataChannelInit::ordered |
Decides the order in which data is sent. If true, data is sent in order. | |
NullableUint16 | RtcDataChannelInit::maxPacketLifeTime |
NullableUint16 | RtcDataChannelInit::maxRetransmits |
Control number of times a channel retransmits data if not delivered successfully. | |
CHAR | RtcDataChannelInit::protocol [255+1] |
Sub protocol name for the channel. | |
BOOL | RtcDataChannelInit::negotiated |
UINT32 | RtcIceMetrics::version |
Structure version. | |
RtcIceServerStats | RtcIceMetrics::rtcIceServerStats |
Server related stats. Reference in Stats.h. | |
RtcIceCandidateStats | RtcIceMetrics::localRtcIceCandidateStats |
Local candidate stats. Reference in Stats.h. | |
RtcIceCandidateStats | RtcIceMetrics::remoteRtcIceCandidateStats |
Remote candidate stats. Reference in Stats.h. | |
RtcIceCandidatePairStats | RtcIceMetrics::rtcIceCandidatePairStats |
Candidate pair stats. Reference in Stats.h. | |
UINT32 | RtcStreamMetrics::version |
Structure version. | |
RtcRemoteInboundRtpStreamStats | RtcStreamMetrics::rtcInboundStats |
Inbound RTP Stats. Reference in Stats.h. | |
RtcOutboundRtpStreamStats | RtcStreamMetrics::rtcOutboundStats |
Outbound RTP Stats. Reference in Stats.h. | |
RtcTransportStats | RtcStreamMetrics::rtcTransportStats |
Transport stats. Reference in Stats.h. | |
UINT32 | SignalingClientMetrics::version |
Structure version. | |
UINT64 | SignalingClientMetrics::signalingStartTime |
UINT64 | SignalingClientMetrics::signalingEndTime |
UINT64 | SignalingClientMetrics::signalingCallTime |
SignalingClientStats | SignalingClientMetrics::signalingClientStats |
Signaling client metrics stats. Reference in Stats.h. | |
UINT32 | KvsIceAgentMetrics::version |
Structure version. | |
KvsIceAgentStats | KvsIceAgentMetrics::kvsIceAgentStats |
ICE agent metrics. Reference in Stats.h. | |
UINT32 | PeerConnectionMetrics::version |
Structure version. | |
PeerConnectionStats | PeerConnectionMetrics::peerConnectionStats |
Peer connection metrics stats. Reference in Stats.h. | |
UINT64 | RtcStats::timestamp |
Timestamp of request for stats. | |
RTC_STATS_TYPE | RtcStats::requestedTypeOfStats |
Type of stats requested. Set to RTC_ALL to get all supported stats. | |
RtcStatsObject | RtcStats::rtcStatsObject |
Object that is populated by the SDK on request. | |
UINT32 | RtcEncoderStats::targetBitrate |
UINT16 | RtcEncoderStats::width |
Only valid for video. | |
UINT16 | RtcEncoderStats::height |
Only valid for video. | |
UINT16 | RtcEncoderStats::bitDepth |
Only valid for video. bits per pixel (24, 30, 36), note it's not per channel but per pixel. | |
UINT32 | RtcEncoderStats::encodeTimeMsec |
milliseconds spent encoding frames since last encoder update | |
BOOL | RtcEncoderStats::voiceActivity |
Only valid for audio. TRUE if last audio packet contained voice. | |
DOMString | RtcEncoderStats::encoderImplementation |
encoder name eg "libvpx" or "x264" | |
WEBRTC related status codes. Each value is an positive integer formed by adding a base integer inticating the category to an index. Users may run scripts/parse_status.py to print a list of all status codes and their hex value.
#define CHK_LOG_ERR_NV | ( | condition | ) | DLOGE("CHK_LOG_ERR_NV has been replaced with CHK_LOG_ERR"); |
#define CREATE_SIGNALING_CLIENT_RETRY_ATTEMPTS_SENTINEL_VALUE -1 |
Signaling caching policy TTL period sentinel value which will force the default period.
#define INVALID_SIGNALING_CLIENT_HANDLE_VALUE ((SIGNALING_CLIENT_HANDLE) INVALID_PIC_HANDLE_VALUE) |
This is a sentinel indicating an invalid handle value.
#define IS_VALID_SIGNALING_CLIENT_HANDLE | ( | h | ) | ((h) != INVALID_SIGNALING_CLIENT_HANDLE_VALUE) |
Checks for the handle validity.
#define KINESIS_VIDEO_STUN_URL "stun:stun.kinesisvideo.%s.%s:443" |
#define KINESIS_VIDEO_STUN_URL_POSTFIX "amazonaws.com" |
Parameterized string for KVS STUN Server
#define KINESIS_VIDEO_STUN_URL_POSTFIX_CN "amazonaws.com.cn" |
#define KINESIS_VIDEO_STUN_URL_WITHOUT_PORT "stun.kinesisvideo.%s.%s" |
#define MAX_RTP_SEQUENCE_NUM ((UINT32) MAX_UINT16) |
Maximum sequence number in rtp packet/jitter buffer
#define MAX_RTP_TIMESTAMP ((UINT32) MAX_UINT32) |
Maximum timestamp in rtp packet/jitter buffer
#define SIGNALING_API_CALL_CACHE_TTL_SENTINEL_VALUE 0 |
Signaling caching policy TTL period sentinel value which will force the default period.
#define SIGNALING_DEFAULT_API_CALL_CACHE_TTL (10 * HUNDREDS_OF_NANOS_IN_AN_HOUR) |
Signaling caching policy default TTL period
#define SIGNALING_DEFAULT_NON_SSL_PORT DEFAULT_NON_SSL_PORT_NUMBER |
Default signaling non SSL port
#define SIGNALING_DEFAULT_SSL_PORT DEFAULT_SSL_PORT_NUMBER |
Default signaling SSL port
#define SIGNALING_STATES_DEFAULT_RETRY_COUNT 1 |
Signaling states default retry count. This will evaluate to the last call being made 20 seconds in which will hit a timeout first.
#define SIGNALING_VALID_NAME_CHARS "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_.-" |
Valid ASCII characters for signaling channel name
#define STATUS_WEBRTC_BASE 0x55000000 |
typedef UINT64 SIGNALING_CLIENT_HANDLE |
Definition of the signaling client handle.
BOOL ChannelInfo::asyncIceServerConfig |
This parameter has no effect any longer. All ICE config retrieving is done reactively when needed which will simplify the processing and will help with issues on a small footprint platforms
UINT16 RtcEncoderStats::bitDepth |
Only valid for video. bits per pixel (24, 30, 36), note it's not per channel but per pixel.
PCHAR SignalingClientInfo::cacheFilePath |
File cache path override. The default path is "./.SignalingCache_vN" which might not work for devices which have read only partition where the code is located. For default value or when file caching is not being used this value can be NULL or point to an EMPTY_STRING.
UINT64 ChannelInfo::cachingPeriod |
Endpoint caching TTL. For no caching policy this param will be ignored. For caching policies the default value will be used if this parameter is 0 (SIGNALING_API_CALL_CACHE_TTL_SENTINEL_VALUE).
SIGNALING_API_CALL_CACHE_TYPE ChannelInfo::cachingPolicy |
Backend API call caching policy.
CHAR RtcIceCandidateInit::candidate[255+1] |
Candidate information containing details such as protocol (udp/tcp), IP Address, priority and port
RtcCertificate RtcConfiguration::certificates[3] |
Set of certificates that the RtcPeerConnection uses to authenticate. Although any given DTLS connection will use only one certificate, this attribute allows the caller to provide multiple certificates that support different algorithms.
If this value is absent, then a default set of certificates is generated for each RtcPeerConnection.
An absent value is determined by the certificate pointing to NULL
Doc: https://www.w3.org/TR/webrtc/#dom-rtcconfiguration-certificates
!!!!!!!!!! IMPORTANT !!!!!!!!!! It is recommended to rotate the certificates often - preferably for every peer connection to avoid a compromised client weakening the security of the new connections.
NOTE: The certificates, if specified, can be freed after the peer connection create call
UINT32 RtcCertificate::certificateSize |
Size of certificate in bytes (optional)
CHAR SignalingChannelDescription::channelArn[MAX_ARN_LEN+1] |
Channel Amazon Resource Name (ARN)
CHAR SignalingChannelDescription::channelName[256+1] |
Signaling channel name. Should be unique per AWS account.
SIGNALING_CHANNEL_ROLE_TYPE ChannelInfo::channelRoleType |
Channel role type for the endpoint - master/viewer.
SIGNALING_CHANNEL_STATUS SignalingChannelDescription::channelStatus |
Current channel status as reported by the service.
SIGNALING_CHANNEL_TYPE ChannelInfo::channelType |
Channel type when creating.
SIGNALING_CHANNEL_TYPE SignalingChannelDescription::channelType |
Channel type as reported by the service.
CHAR SignalingClientInfo::clientId[256+1] |
Client id to use. Defines if the client is a producer/consumer.
RTC_CODEC RtcMediaStreamTrack::codec |
non-standard, codec that the track is using
CHAR SignalingMessage::correlationId[256+1] |
Correlation Id string.
UINT64 SignalingChannelDescription::creationTime |
Timestamp of when the channel gets created.
CHAR RtcIceServer::credential[256+1] |
Password to be used with TURN server.
UINT64 SignalingClientCallbacks::customData |
Custom data passed by the caller.
CHAR ReceivedSignalingMessage::description[1024+1] |
Optional description of the message.
RTC_RTP_TRANSCEIVER_DIRECTION RtcRtpTransceiver::direction |
Transceiver direction.
RTC_RTP_TRANSCEIVER_DIRECTION RtcRtpTransceiverInit::direction |
Transceiver direction - SENDONLY, RECVONLY, SENDRECV.
BOOL KvsRtcConfiguration::disableSenderSideBandwidthEstimation |
Disable TWCC feedback based sender bandwidth estimation, enabled by default. You want to set this to TRUE if you are on a very stable connection and want to save 1.2MB of memory
DOMString RtcEncoderStats::encoderImplementation |
encoder name eg "libvpx" or "x264"
UINT32 RtcEncoderStats::encodeTimeMsec |
milliseconds spent encoding frames since last encoder update
SignalingClientErrorReportFunc SignalingClientCallbacks::errorReportFn |
Error reporting function. This is an optional member.
CHAR ReceivedSignalingMessage::errorType[256+1] |
Error type of the signaling message.
UINT64 KvsRtcConfiguration::filterCustomData |
Custom Data that can be populated by the developer while developing filter function.
INT32 KvsRtcConfiguration::generatedCertificateBits |
GeneratedCertificateBits controls the amount of bits the locally generated self-signed certificate uses A smaller amount of bits may result in less CPU usage on startup, but will cause a weaker certificate to be generated If set to 0 the default GENERATED_CERTIFICATE_BITS will be used
BOOL KvsRtcConfiguration::generateRSACertificate |
GenerateRSACertificate controls if an ECDSA or RSA certificate is generated. By default we generate an ECDSA certificate but some platforms may not support them.
GetCurrentTimeFunc SignalingClientCallbacks::getCurrentTimeFn |
callback to override system time, used for testing clock skew
UINT16 RtcEncoderStats::height |
Only valid for video.
UINT32 KvsRtcConfiguration::iceCandidateNominationTimeout |
If client is ice controlling, this is the timeout for receiving bind response of requests that has USE_CANDIDATE attribute. If client is ice controlled, this is the timeout for receiving binding request that has USE_CANDIDATE attribute after connection check is done. Use default value if 0.
UINT32 KvsRtcConfiguration::iceConnectionCheckPollingInterval |
Ta in https://datatracker.ietf.org/doc/html/rfc8445#section-14.2 rate at which binding request packets are sent during connection check. Use default interval if 0.
UINT32 KvsRtcConfiguration::iceConnectionCheckTimeout |
Maximum time allowed waiting for at least one ice candidate pair to receive binding response from the peer. Use default value if 0.
UINT32 KvsRtcConfiguration::iceLocalCandidateGatheringTimeout |
Maximum time ice will wait for gathering STUN and RELAY candidates. Once it's reached, ice will proceed with whatever candidate it current has. Use default value if 0.
RtcIceServer RtcConfiguration::iceServers[(5 * 4+1)] |
Servers available to be used by ICE, such as STUN and TURN servers.
IceSetInterfaceFilterFunc KvsRtcConfiguration::iceSetInterfaceFilterFunc |
Filter function callback to be set when the developer would like to whitelist/blacklist specific network interfaces
ICE_TRANSPORT_POLICY RtcConfiguration::iceTransportPolicy |
Indicates which candidates the ICE Agent is allowed to use.
UINT32 __RtcDataChannel::id |
Read only field. Setting this in the application has no effect. This field is populated with the id set by the peer connection's createDataChannel() call or the channel id is set in createDataChannel() on embedded end.
MEDIA_STREAM_TRACK_KIND RtcMediaStreamTrack::kind |
Kind of track - audio or video.
KvsIceAgentStats KvsIceAgentMetrics::kvsIceAgentStats |
ICE agent metrics. Reference in Stats.h.
KvsRtcConfiguration RtcConfiguration::kvsRtcConfiguration |
Non-standard configuration options.
RtcIceCandidateStats RtcIceMetrics::localRtcIceCandidateStats |
Local candidate stats. Reference in Stats.h.
UINT32 SignalingClientInfo::loggingLevel |
Verbosity level for the logging. One of LOG_LEVEL_XXX values or the default verbosity will be assumed. Currently, default value is LOG_LEVEL_WARNING
UINT16 KvsRtcConfiguration::maximumTransmissionUnit |
Controls the size of the largest packet the WebRTC SDK will send Some networks may drop packets if they exceed a certain size, and is useful in those conditions. A smaller MTU will incur higher bandwidth usage however since more packets will be generated with smaller payloads. If unset DEFAULT_MTU_SIZE_BYTES will be used
NullableUint16 RtcDataChannelInit::maxPacketLifeTime |
Limits the time (in milliseconds) during which the channel will (re)transmit data if not acknowledged. This value may be clamped if it exceeds the maximum value supported by the user agent.
NullableUint16 RtcDataChannelInit::maxRetransmits |
Control number of times a channel retransmits data if not delivered successfully.
SignalingClientMessageReceivedFunc SignalingClientCallbacks::messageReceivedFn |
Callback registration for received SDP.
UINT64 ChannelInfo::messageTtl |
The message TTL. Must be in the range of 5ns and 120ns. Specifying zero will default to 60ns
UINT64 SignalingChannelDescription::messageTtl |
The period of time a signaling channel retains underlived messages before they are discarded The values are in the range of 5 and 120 seconds
SIGNALING_MESSAGE_TYPE SignalingMessage::messageType |
Type of signaling message.
CHAR __RtcDataChannel::name[255+1] |
Define name of data channel. Max length is 256 characters.
BOOL RtcDataChannelInit::negotiated |
If set to true, it is up to the application to negotiate the channel and create an RTCDataChannel object with the same id as the other peer.
BOOL RtcDataChannelInit::ordered |
Decides the order in which data is sent. If true, data is sent in order.
CHAR IceConfigInfo::password[256+1] |
Password for the server.
CHAR SignalingMessage::payload[(10 *1024)+1] |
Actual signaling message payload.
UINT32 SignalingMessage::payloadLen |
Optional payload length. If 0, the length will be calculated.
PBYTE RtcCertificate::pCertificate |
Certificate bits.
PCHAR ChannelInfo::pCertPath |
Optional certificate path. Maximum length is defined by MAX_PATH_LEN+1.
PCHAR ChannelInfo::pChannelArn |
Channel Amazon Resource Name (ARN). This is an optional parameter Maximum length is defined by MAX_ARN_LEN+1
PCHAR ChannelInfo::pChannelName |
Name of the signaling channel name. Maximum length is defined by MAX_CHANNEL_NAME_LEN + 1.
PCHAR ChannelInfo::pControlPlaneUrl |
Optional fully qualified control plane URL Maximum length is defined by MAX_ARN_LEN+1
PCHAR ChannelInfo::pCustomUserAgent |
Optional custom user agent name. Maximum length is defined by MAX_USER_AGENT_LEN+1.
CHAR SignalingMessage::peerClientId[256+1] |
Sender client id.
PeerConnectionStats PeerConnectionMetrics::peerConnectionStats |
Peer connection metrics stats. Reference in Stats.h.
PCHAR ChannelInfo::pKmsKeyId |
Optional KMS key id ARN. Maximum length is defined by MAX_ARN_LEN+1.
PBYTE RtcCertificate::pPrivateKey |
Private key bit.
PCHAR ChannelInfo::pRegion |
AWS Region in which the channel is to be opened. Can be empty for default Maximum length is defined by MAX_REGION_NAME_LEN+1
UINT32 RtcCertificate::privateKeySize |
Size of private key in bytes (optional)
CHAR RtcDataChannelInit::protocol[255+1] |
Sub protocol name for the channel.
PCHAR ChannelInfo::pStorageStreamArn |
Storage Stream Amazon Resource Name (ARN). This is an optional parameter Maximum length is defined by MAX_ARN_LEN+1
PTag ChannelInfo::pTags |
Stream tags array.
PCHAR ChannelInfo::pUserAgent |
Combined user agent. Maximum length is defined by MAX_USER_AGENT_LEN+1.
PCHAR ChannelInfo::pUserAgentPostfix |
Optional user agent post-fix. Maximum length is defined by MAX_CUSTOM_USER_AGENT_NAME_POSTFIX_LEN+1
RtcRtpReceiver RtcRtpTransceiver::receiver |
RtcRtpReceiver that has track specific information.
BOOL ChannelInfo::reconnect |
Flag determines if reconnection should be attempted on connection drop.
RtcIceCandidateStats RtcIceMetrics::remoteRtcIceCandidateStats |
Remote candidate stats. Reference in Stats.h.
RTC_STATS_TYPE RtcStats::requestedTypeOfStats |
Type of stats requested. Set to RTC_ALL to get all supported stats.
BOOL ChannelInfo::reserved |
Reserved field for compatibility.
BOOL ChannelInfo::retry |
Flag determines if a retry of the network calls is to be done on errors up to max retry times.
RtcIceCandidatePairStats RtcIceMetrics::rtcIceCandidatePairStats |
Candidate pair stats. Reference in Stats.h.
RtcIceServerStats RtcIceMetrics::rtcIceServerStats |
Server related stats. Reference in Stats.h.
RtcRemoteInboundRtpStreamStats RtcStreamMetrics::rtcInboundStats |
Inbound RTP Stats. Reference in Stats.h.
RtcOutboundRtpStreamStats RtcStreamMetrics::rtcOutboundStats |
Outbound RTP Stats. Reference in Stats.h.
RtcStatsObject RtcStats::rtcStatsObject |
Object that is populated by the SDK on request.
RtcTransportStats RtcStreamMetrics::rtcTransportStats |
Transport stats. Reference in Stats.h.
CHAR RtcSessionDescriptionInit::sdp[25000+1] |
SDP Data containing media capabilities, transport addresses and related metadata in a transport agnostic manner
UINT32 KvsRtcConfiguration::sendBufSize |
Socket send buffer length. Item larger then this size will get dropped. Use system default if 0.
UINT64 SignalingClientMetrics::signalingCallTime |
INT32 SignalingClientInfo::signalingClientCreationMaxRetryAttempts |
Max attempts to create signaling client before returning error to the caller.
SignalingClientStats SignalingClientMetrics::signalingClientStats |
Signaling client metrics stats. Reference in Stats.h.
UINT64 SignalingClientMetrics::signalingEndTime |
SignalingMessage ReceivedSignalingMessage::signalingMessage |
The signaling message with details such as message type, correlation ID, peer client ID and payload
UINT32 SignalingClientInfo::signalingMessagesMaximumThreads |
Unused field post v1.8.1.
UINT32 SignalingClientInfo::signalingMessagesMinimumThreads |
Unused field post v1.8.1.
KvsRetryStrategyCallbacks SignalingClientInfo::signalingRetryStrategyCallbacks |
Retry strategy callbacks used while creating signaling client.
UINT64 SignalingClientMetrics::signalingStartTime |
SignalingClientStateChangedFunc SignalingClientCallbacks::stateChangeFn |
Signaling client state change callback.
UINT32 SignalingClientInfo::stateMachineRetryCountReadOnly |
Retry count of state machine. Note that this MUST NOT be modified by the user. It is a read only field
SERVICE_CALL_RESULT ReceivedSignalingMessage::statusCode |
Response status code.
BOOL MediaStorageConfig::storageStatus |
Indicate the association between channelArn and storageStreamArn.
CHAR MediaStorageConfig::storageStreamArn[MAX_ARN_LEN+1] |
The arn of kvs stream, optional if you already associate signaling channel with stream.
CHAR RtcMediaStreamTrack::streamId[255+1] |
non-standard, id of the MediaStream this track belongs too
UINT32 ChannelInfo::tagCount |
Number of tags associated with the stream.
UINT32 RtcEncoderStats::targetBitrate |
It is the current target bitrate configured for this particular SSRC and is the Transport Independent Application Specific (TIAS) bitrate [RFC3890]. Typically, the target bitrate is a configuration parameter provided to the codec's encoder and does not count the size of the IP or other transport layers like TCP or UDP. It is measured in bits per second and the bitrate is calculated over a 1 second window.
UINT64 RtcStats::timestamp |
Timestamp of request for stats.
RtcMediaStreamTrack RtcRtpReceiver::track |
Track with details of codec, trackId, streamId and track kind.
CHAR RtcMediaStreamTrack::trackId[255+1] |
non-standard, id of this individual track
UINT64 IceConfigInfo::ttl |
TTL of the configuration is 100ns.
SDP_TYPE RtcSessionDescriptionInit::type |
Indicates an offer/answer SDP type.
CHAR SignalingChannelDescription::updateVersion[MAX_UPDATE_VERSION_LEN+1] |
A random number generated on every update while describing signaling channel
UINT32 IceConfigInfo::uriCount |
Number of Ice URI objects.
CHAR IceConfigInfo::uris[4][MAX_ICE_CONFIG_URI_LEN+1] |
List of Ice server URIs.
CHAR RtcIceServer::urls[MAX_ICE_CONFIG_URI_LEN+1] |
URL of STUN/TURN Server.
BOOL ChannelInfo::useMediaStorage |
use the feature of media storage.
CHAR RtcIceServer::username[256+1] |
Username to be used with TURN server.
CHAR IceConfigInfo::userName[256+1] |
Username for the server.
BOOL RtcSessionDescriptionInit::useTrickleIce |
Indicates if an offer should set trickle ice.
UINT32 RtcPeerConnection::version |
Version of peer connection structure.
UINT32 SignalingMessage::version |
Current version of the structure.
UINT32 SignalingClientInfo::version |
Version of the structure.
UINT32 ChannelInfo::version |
Version of the structure.
UINT32 IceConfigInfo::version |
Version of the struct.
UINT32 SignalingClientCallbacks::version |
Current version of the structure.
UINT32 SignalingChannelDescription::version |
Version of the SignalingChannelDescription struct.
UINT32 RtcIceMetrics::version |
Structure version.
UINT32 RtcStreamMetrics::version |
Structure version.
UINT32 SignalingClientMetrics::version |
Structure version.
UINT32 KvsIceAgentMetrics::version |
Structure version.
UINT32 PeerConnectionMetrics::version |
Structure version.
BOOL RtcEncoderStats::voiceActivity |
Only valid for audio. TRUE if last audio packet contained voice.
UINT16 RtcEncoderStats::width |
Only valid for video.