Package com.twilio.voice
Class StatsReport
- java.lang.Object
-
- com.twilio.voice.StatsReport
-
public class StatsReport extends java.lang.Object
Stats report contains stats for all the media tracks that exist in peer connection.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<IceCandidatePairStats>
getIceCandidatePairStats()
Returns stats for all ice candidate pairs in the peer connection.java.util.List<IceCandidateStats>
getIceCandidateStats()
Returns stats for individual ice candidates in the peer connectionjava.util.List<LocalAudioTrackStats>
getLocalAudioTrackStats()
Returns stats for all local audio tracks in the peer connection.java.lang.String
getPeerConnectionId()
Returns the id of peer connection related to this report.java.util.List<RemoteAudioTrackStats>
getRemoteAudioTrackStats()
Returns stats for all remote audio tracks in the peer connection.
-
-
-
Method Detail
-
getPeerConnectionId
public java.lang.String getPeerConnectionId()
Returns the id of peer connection related to this report.
-
getLocalAudioTrackStats
public java.util.List<LocalAudioTrackStats> getLocalAudioTrackStats()
Returns stats for all local audio tracks in the peer connection.- Returns:
- a list of local audio tracks stats
-
getRemoteAudioTrackStats
public java.util.List<RemoteAudioTrackStats> getRemoteAudioTrackStats()
Returns stats for all remote audio tracks in the peer connection.- Returns:
- a list of remote audio tracks stats
-
getIceCandidatePairStats
public java.util.List<IceCandidatePairStats> getIceCandidatePairStats()
Returns stats for all ice candidate pairs in the peer connection.- Returns:
- a list of ice candidate pair stats
-
getIceCandidateStats
public java.util.List<IceCandidateStats> getIceCandidateStats()
Returns stats for individual ice candidates in the peer connection- Returns:
- a list of all ice candidate stats
-
-