|
| PWebRtcClientContext | getWebRtcClientInstance () |
| VOID | releaseHoldOnInstance (PWebRtcClientContext pWebRtcClientContext) |
| STATUS | createWebRtcClientInstance () |
| STATUS | allocateSrtp (PKvsPeerConnection pKvsPeerConnection) |
| VOID | onInboundPacket (UINT64 customData, PBYTE buff, UINT32 buffLen) |
| STATUS | sendPacketToRtpReceiver (PKvsPeerConnection pKvsPeerConnection, PBYTE pBuffer, UINT32 bufferLen) |
| STATUS | changePeerConnectionState (PKvsPeerConnection pKvsPeerConnection, RTC_PEER_CONNECTION_STATE newState) |
| STATUS | onFrameReadyFunc (UINT64 customData, UINT16 startIndex, UINT16 endIndex, UINT32 frameSize) |
| STATUS | onFrameDroppedFunc (UINT64 customData, UINT16 startIndex, UINT16 endIndex, UINT32 timestamp) |
| PVOID | dtlsSessionStartThread (PVOID args) |
| VOID | onIceConnectionStateChange (UINT64 customData, UINT64 connectionState) |
| VOID | onNewIceLocalCandidate (UINT64 customData, PCHAR candidateSdpStr) |
| VOID | onSctpSessionOutboundPacket (UINT64 customData, PBYTE pPacket, UINT32 packetLen) |
| VOID | onSctpSessionDataChannelMessage (UINT64 customData, UINT32 channelId, BOOL isBinary, PBYTE pMessage, UINT32 pMessageLen) |
| VOID | onSctpSessionDataChannelAck (UINT64 customData, UINT32 channelId) |
| STATUS | onSctpSessionDataChannelOpen (UINT64 customData, UINT32 channelId, PBYTE pName, UINT32 nameLen, PRtcDataChannelInit pRtcDataChannelInit) |
| VOID | onDtlsOutboundPacket (UINT64 customData, PBYTE pBuffer, UINT32 bufferLen) |
| VOID | onDtlsStateChange (UINT64 customData, RTC_DTLS_TRANSPORT_STATE newDtlsState) |
| STATUS | generateJSONSafeString (PCHAR pDst, UINT32 len) |
| STATUS | rtcpReportsCallback (UINT32 timerId, UINT64 currentTime, UINT64 customData) |
| STATUS | getStunAddr (PStunIpAddrContext pStunIpAddrCtx) |
| STATUS | onSetStunServerIp (UINT64 customData, PCHAR url, PDualKvsIpAddresses pIpAddresses) |
| PVOID | resolveStunIceServerIp (PVOID args) |
| STATUS | createPeerConnection (PRtcConfiguration pConfiguration, PRtcPeerConnection *ppPeerConnection) |
| | Initialize a RtcPeerConnection with the provided Configuration.
|
| STATUS | freeHashEntry (UINT64 customData, PHashEntry pHashEntry) |
| STATUS | freePeerConnection (PRtcPeerConnection *ppPeerConnection) |
| | Free a RtcPeerConnection.
|
| STATUS | peerConnectionOnIceCandidate (PRtcPeerConnection pRtcPeerConnection, UINT64 customData, RtcOnIceCandidate rtcOnIceCandidate) |
| | Set a callback when new Ice collects new local candidate.
|
| STATUS | peerConnectionOnDataChannel (PRtcPeerConnection pRtcPeerConnection, UINT64 customData, RtcOnDataChannel rtcOnDataChannel) |
| STATUS | peerConnectionOnConnectionStateChange (PRtcPeerConnection pRtcPeerConnection, UINT64 customData, RtcOnConnectionStateChange rtcOnConnectionStateChange) |
| STATUS | peerConnectionOnSenderBandwidthEstimation (PRtcPeerConnection pRtcPeerConnection, UINT64 customData, RtcOnSenderBandwidthEstimation rtcOnSenderBandwidthEstimation) |
| | Set a callback for transport-wide sender bandwidth estimation results.
|
| STATUS | peerConnectionGetLocalDescription (PRtcPeerConnection pRtcPeerConnection, PRtcSessionDescriptionInit pRtcSessionDescriptionInit) |
| STATUS | peerConnectionGetCurrentLocalDescription (PRtcPeerConnection pRtcPeerConnection, PRtcSessionDescriptionInit pRtcSessionDescriptionInit) |
| UINT32 | parseExtId (PCHAR extmapValue) |
| | parses string of form "$number $whatever" returns $number as uint32
|
| STATUS | setRemoteDescription (PRtcPeerConnection pPeerConnection, PRtcSessionDescriptionInit pSessionDescriptionInit) |
| | Instructs the RtcPeerConnection to apply the supplied RtcSessionDescriptionInit as the remote description.
|
| STATUS | createOffer (PRtcPeerConnection pPeerConnection, PRtcSessionDescriptionInit pSessionDescriptionInit) |
| | Populate the provided answer that contains an RFC 3264 offer with the supported configurations for the session.
|
| STATUS | createAnswer (PRtcPeerConnection pPeerConnection, PRtcSessionDescriptionInit pSessionDescriptionInit) |
| | Populate the provided answer that contains an RFC 3264 answer with the supported configurations for the session.
|
| STATUS | setLocalDescription (PRtcPeerConnection pPeerConnection, PRtcSessionDescriptionInit pSessionDescriptionInit) |
| | Instructs the RtcPeerConnection to apply the supplied RtcSessionDescriptionInit as the local description.
|
| STATUS | configureTransceiverRollingBuffer (PRtcRtpTransceiver pRtcRtpTransceiver, PRtcMediaStreamTrack pRtcMediaStreamTrack, DOUBLE rollingBufferDurationSec, DOUBLE rollingBufferBitratebps) |
| | Set up rolling buffer configuration - max duration of media to store (sec) and expected max bitrate (bips) of the encoded media.
|
| STATUS | addTransceiver (PRtcPeerConnection pPeerConnection, PRtcMediaStreamTrack pRtcMediaStreamTrack, PRtcRtpTransceiverInit pRtcRtpTransceiverInit, PRtcRtpTransceiver *ppRtcRtpTransceiver) |
| | Create a new RtcRtpTransceiver and add it to the set of transceivers.
|
| STATUS | addSupportedCodec (PRtcPeerConnection pPeerConnection, RTC_CODEC rtcCodec) |
| | Adds to the list of codecs we support receiving.
|
| STATUS | addIceCandidate (PRtcPeerConnection pPeerConnection, PCHAR pIceCandidate) |
| | Provides a remote candidate to the ICE Agent.
|
| STATUS | restartIce (PRtcPeerConnection pPeerConnection) |
| | Instructs the RtcPeerConnection that ICE should be restarted. Subsequent calls to createOffer will create descriptions to restart ICE.
|
| STATUS | closePeerConnection (PRtcPeerConnection pPeerConnection) |
| | Close the underlying DTLS session and IceAgent connection. Trigger RtcOnConnectionStateChange to RTC_PEER_CONNECTION_STATE_CLOSED.
|
| NullableBool | canTrickleIceCandidates (PRtcPeerConnection pPeerConnection) |
| | The canTrickleIceCandidates attribute indicates whether the remote peer is able to accept trickled ICE candidates. The value is determined based on whether a remote description indicates support for trickle ICE. Prior to the completion of setRemoteDescription, this value is null.
|
| STATUS | initKvsWebRtc (VOID) |
| | Initializes global state needed for all RtcPeerConnections. It must only be called once.
|
| STATUS | cleanupWebRtcClientInstance () |
| STATUS | deinitKvsWebRtc (VOID) |
| | Deinitializes global state needed for all RtcPeerConnections. It must only be called once.
|
| STATUS | twccManagerOnPacketSent (PKvsPeerConnection pKvsPeerConnection, PRtpPacket pRtpPacket) |
| STATUS | peerConnectionUpdateIceServers (PRtcPeerConnection pPeerConnection, PRtcIceServer pIceServers, UINT32 iceServersCount) |
| | Dynamically update the ICE servers for an existing peer connection.
|
| STATUS | peerConnectionGetMetrics (PRtcPeerConnection pPeerConnection, PPeerConnectionMetrics pPeerConnectionMetrics) |
| | Get peer connection related metrics.
|
| STATUS | iceAgentGetMetrics (PRtcPeerConnection pPeerConnection, PKvsIceAgentMetrics pKvsIceAgentMetrics) |
| | Get peer connection related metrics.
|
| STATUS | setOnTwccFeedbackReceived (PRtcPeerConnection pPeerConnection, UINT64 customData, RtcOnTwccFeedbackReceived onTwccFbReceived) |
| | Configure a custom TWCC feedback received callback. When TWCC feedback arrives from the remote peer, this callback is invoked to update the congestion state. If not set, the SDK uses a default EMA-smoothed least-squares trendline estimator.
|
| STATUS | setOnPeerCongestionFeedbackFn (PRtcPeerConnection pPeerConnection, UINT64 customData, RtcOnPeerCongestionFeedback onPeerCongestionFeedback) |
| | Configure a callback invoked when the SDK has congestion context ready for the application. The application uses this to adjust encoder bitrate or other media parameters.
|