#include "../Include_i.h"
Macros | |
#define | LOG_CLASS "Metrics" |
Functions | |
STATUS | getIceCandidatePairStats (PRtcPeerConnection pRtcPeerConnection, PRtcIceCandidatePairStats pRtcIceCandidatePairStats) |
Get specific ICE candidate pair stats. More... | |
STATUS | getIceCandidateStats (PRtcPeerConnection pRtcPeerConnection, BOOL isRemote, PRtcIceCandidateStats pRtcIceCandidateStats) |
Get specific ICE candidate stats. More... | |
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. More... | |
STATUS | getTransportStats (PRtcPeerConnection pRtcPeerConnection, PRtcTransportStats pRtcTransportStats) |
Get specific transport stats. More... | |
STATUS | getRtpRemoteInboundStats (PRtcPeerConnection pRtcPeerConnection, PRtcRtpTransceiver pTransceiver, PRtcRemoteInboundRtpStreamStats pRtcRemoteInboundRtpStreamStats) |
Get remote RTP inbound stats. More... | |
STATUS | getRtpOutboundStats (PRtcPeerConnection pRtcPeerConnection, PRtcRtpTransceiver pTransceiver, PRtcOutboundRtpStreamStats pRtcOutboundRtpStreamStats) |
Get RTP outbound stats. More... | |
STATUS | getRtpInboundStats (PRtcPeerConnection pRtcPeerConnection, PRtcRtpTransceiver pTransceiver, PRtcInboundRtpStreamStats pRtcInboundRtpStreamStats) |
Get RTP inbound stats. More... | |
STATUS | getDataChannelStats (PRtcPeerConnection pRtcPeerConnection, PRtcDataChannelStats pRtcDataChannelStats) |
STATUS | rtcPeerConnectionGetMetrics (PRtcPeerConnection pRtcPeerConnection, PRtcRtpTransceiver pRtcRtpTransceiver, PRtcStats pRtcMetrics) |
Get the relevant/all metrics based on the RTCStatsType field. This does not include any signaling related metrics. The caller of the API is expected to populate requestedTypeOfStats member of PRtcStats object with one of the values in RTC_STATS_TYPE. More... | |
#define LOG_CLASS "Metrics" |
Kinesis WebRTC Metrics
STATUS getDataChannelStats | ( | PRtcPeerConnection | pRtcPeerConnection, |
PRtcDataChannelStats | pRtcDataChannelStats | ||
) |
STATUS getIceCandidatePairStats | ( | PRtcPeerConnection | pRtcPeerConnection, |
PRtcIceCandidatePairStats | pRtcIceCandidatePairStats | ||
) |
Get specific ICE candidate pair stats.
[in] | PRtcPeerConnection | Contains the Ice agent object with diagnostics object |
[in/out] | PRtcIceCandidatePairStats Fill up the ICE candidate pair stats for application consumption |
STATUS getIceCandidateStats | ( | PRtcPeerConnection | pRtcPeerConnection, |
BOOL | isRemote, | ||
PRtcIceCandidateStats | pRtcIceCandidateStats | ||
) |
Get specific ICE candidate stats.
[in] | PRtcPeerConnection | Contains the Ice agent object with diagnostics object |
[in/out] | PRtcIceCandidateStats Fill up the ICE candidate stats for application consumption | |
[in] | BOOL | If TRUE, remote candidate stats are extracted, else local candidate stats are extracted |
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.
[in] | PRtcPeerConnection | Contains the Ice agent object with diagnostics object |
[in/out] | PRtcIceServerStats Fill up the ICE candidate stats for application consumption |
STATUS getRtpInboundStats | ( | PRtcPeerConnection | pRtcPeerConnection, |
PRtcRtpTransceiver | pTransceiver, | ||
PRtcInboundRtpStreamStats | pRtcInboundRtpStreamStats | ||
) |
Get RTP inbound stats.
[in] | PRtcPeerConnection | |
[in] | PRtcRtpTransceiver | transceiver to get stats for, first transceiver if NULL |
[in/out] | PRtcInboundRtpStreamStats Fill up the RTP inbound stats for application consumption |
STATUS getRtpOutboundStats | ( | PRtcPeerConnection | pRtcPeerConnection, |
PRtcRtpTransceiver | pTransceiver, | ||
PRtcOutboundRtpStreamStats | pRtcOutboundRtpStreamStats | ||
) |
Get RTP outbound stats.
[in] | PRtcPeerConnection | |
[in] | PRtcRtpTransceiver | transceiver to get stats for, first transceiver if NULL |
[in/out] | PRtcOutboundRtpStreamStats Fill up the RTP outbound stats for application consumption |
STATUS getRtpRemoteInboundStats | ( | PRtcPeerConnection | pRtcPeerConnection, |
PRtcRtpTransceiver | pTransceiver, | ||
PRtcRemoteInboundRtpStreamStats | pRtcRemoteInboundRtpStreamStats | ||
) |
Get remote RTP inbound stats.
[in] | PRtcPeerConnection | |
[in] | PRtcRtpTransceiver | transceiver to get stats for, first transceiver if NULL |
[in/out] | PRtcOutboundRtpStreamStats Fill up the RTP inbound stats for application consumption |
STATUS getTransportStats | ( | PRtcPeerConnection | pRtcPeerConnection, |
PRtcTransportStats | pRtcTransportStats | ||
) |
Get specific transport stats.
[in] | PRtcPeerConnection | |
[in/out] | PRtcIceCandidateStats Fill up the transport stats for application consumption |