Package com.twilio.voice
Class StatsReport
java.lang.Object
com.twilio.voice.StatsReport
Stats report contains stats for all the media tracks that exist in peer connection.
-
Method Summary
Modifier and TypeMethodDescriptionReturns stats for all ice candidate pairs in the peer connection.Returns stats for individual ice candidates in the peer connectionReturns stats for all local audio tracks in the peer connection.Returns the id of peer connection related to this report.Returns stats for all remote audio tracks in the peer connection.
-
Method Details
-
getPeerConnectionId
Returns the id of peer connection related to this report. -
getLocalAudioTrackStats
Returns stats for all local audio tracks in the peer connection.- Returns:
- a list of local audio tracks stats
-
getRemoteAudioTrackStats
Returns stats for all remote audio tracks in the peer connection.- Returns:
- a list of remote audio tracks stats
-
getIceCandidatePairStats
Returns stats for all ice candidate pairs in the peer connection.- Returns:
- a list of ice candidate pair stats
-
getIceCandidateStats
Returns stats for individual ice candidates in the peer connection- Returns:
- a list of all ice candidate stats
-