Package com.twilio.video
Class StatsReport
java.lang.Object
com.twilio.video.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 stats for all local video 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.Returns stats for all remote video 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
-
getLocalVideoTrackStats
Returns stats for all local video tracks in the peer connection.- Returns:
- a list of local video tracks stats
-
getRemoteAudioTrackStats
Returns stats for all remote audio tracks in the peer connection.- Returns:
- a list of remote audio tracks stats
-
getRemoteVideoTrackStats
Returns stats for all remote video tracks in the peer connection.- Returns:
- a list of remote video 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
-