Amazon Kinesis Webrtc C SDK
Metrics.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

STATUS getIceCandidatePairStats (PRtcPeerConnection, PRtcIceCandidatePairStats)
 Get specific ICE candidate pair stats. More...
 
STATUS getIceCandidateStats (PRtcPeerConnection, BOOL, PRtcIceCandidateStats)
 Get specific ICE candidate stats. More...
 
STATUS getIceServerStats (PRtcPeerConnection, PRtcIceServerStats)
 Get specific ICE server stats getIceServerStats will return stats for a specific server. In a multi server configuration, it is upto to the application to get Stats for every server being supported / desired server. The application is expected to pass in the specific iceServerIndex for which the stats are desired. More...
 
STATUS getTransportStats (PRtcPeerConnection, PRtcTransportStats)
 Get specific transport stats. More...
 
STATUS getRtpRemoteInboundStats (PRtcPeerConnection, PRtcRtpTransceiver, PRtcRemoteInboundRtpStreamStats)
 Get remote RTP inbound stats. More...
 
STATUS getRtpOutboundStats (PRtcPeerConnection, PRtcRtpTransceiver, PRtcOutboundRtpStreamStats)
 Get RTP outbound stats. More...
 
STATUS getRtpInboundStats (PRtcPeerConnection, PRtcRtpTransceiver, PRtcInboundRtpStreamStats)
 Get RTP inbound stats. More...
 

Function Documentation

◆ getIceCandidatePairStats()

STATUS getIceCandidatePairStats ( PRtcPeerConnection  pRtcPeerConnection,
PRtcIceCandidatePairStats  pRtcIceCandidatePairStats 
)

Get specific ICE candidate pair stats.

Parameters
[in]PRtcPeerConnectionContains the Ice agent object with diagnostics object
[in/out]PRtcIceCandidatePairStats Fill up the ICE candidate pair stats for application consumption
Returns
Pass/Fail
Here is the caller graph for this function:

◆ getIceCandidateStats()

STATUS getIceCandidateStats ( PRtcPeerConnection  pRtcPeerConnection,
BOOL  isRemote,
PRtcIceCandidateStats  pRtcIceCandidateStats 
)

Get specific ICE candidate stats.

Parameters
[in]PRtcPeerConnectionContains the Ice agent object with diagnostics object
[in/out]PRtcIceCandidateStats Fill up the ICE candidate stats for application consumption
[in]BOOLIf TRUE, remote candidate stats are extracted, else local candidate stats are extracted
Returns
Pass/Fail
Here is the caller graph for this function:

◆ getIceServerStats()

STATUS getIceServerStats ( PRtcPeerConnection  pRtcPeerConnection,
PRtcIceServerStats  pRtcIceServerStats 
)

Get specific ICE server stats getIceServerStats will return stats for a specific server. In a multi server configuration, it is upto to the application to get Stats for every server being supported / desired server. The application is expected to pass in the specific iceServerIndex for which the stats are desired.

Parameters
[in]PRtcPeerConnectionContains the Ice agent object with diagnostics object
[in/out]PRtcIceServerStats Fill up the ICE candidate stats for application consumption
Returns
Pass/Fail
Here is the caller graph for this function:

◆ getRtpInboundStats()

STATUS getRtpInboundStats ( PRtcPeerConnection  pRtcPeerConnection,
PRtcRtpTransceiver  pTransceiver,
PRtcInboundRtpStreamStats  pRtcInboundRtpStreamStats 
)

Get RTP inbound stats.

Parameters
[in]PRtcPeerConnection
[in]PRtcRtpTransceivertransceiver to get stats for, first transceiver if NULL
[in/out]PRtcInboundRtpStreamStats Fill up the RTP inbound stats for application consumption
Returns
Pass/Fail
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRtpOutboundStats()

STATUS getRtpOutboundStats ( PRtcPeerConnection  pRtcPeerConnection,
PRtcRtpTransceiver  pTransceiver,
PRtcOutboundRtpStreamStats  pRtcOutboundRtpStreamStats 
)

Get RTP outbound stats.

Parameters
[in]PRtcPeerConnection
[in]PRtcRtpTransceivertransceiver to get stats for, first transceiver if NULL
[in/out]PRtcOutboundRtpStreamStats Fill up the RTP outbound stats for application consumption
Returns
Pass/Fail
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRtpRemoteInboundStats()

STATUS getRtpRemoteInboundStats ( PRtcPeerConnection  pRtcPeerConnection,
PRtcRtpTransceiver  pTransceiver,
PRtcRemoteInboundRtpStreamStats  pRtcRemoteInboundRtpStreamStats 
)

Get remote RTP inbound stats.

Parameters
[in]PRtcPeerConnection
[in]PRtcRtpTransceivertransceiver to get stats for, first transceiver if NULL
[in/out]PRtcOutboundRtpStreamStats Fill up the RTP inbound stats for application consumption
Returns
Pass/Fail
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTransportStats()

STATUS getTransportStats ( PRtcPeerConnection  pRtcPeerConnection,
PRtcTransportStats  pRtcTransportStats 
)

Get specific transport stats.

Parameters
[in]PRtcPeerConnection
[in/out]PRtcIceCandidateStats Fill up the transport stats for application consumption
Returns
Pass/Fail
Here is the caller graph for this function: