Class StatsReport

java.lang.Object
com.twilio.voice.StatsReport

public class StatsReport extends Object
Stats report contains stats for all the media tracks that exist in peer connection.
  • Method Details

    • getPeerConnectionId

      public String getPeerConnectionId()
      Returns the id of peer connection related to this report.
    • getLocalAudioTrackStats

      public List<LocalAudioTrackStats> getLocalAudioTrackStats()
      Returns stats for all local audio tracks in the peer connection.
      Returns:
      a list of local audio tracks stats
    • getRemoteAudioTrackStats

      public List<RemoteAudioTrackStats> getRemoteAudioTrackStats()
      Returns stats for all remote audio tracks in the peer connection.
      Returns:
      a list of remote audio tracks stats
    • getIceCandidatePairStats

      public List<IceCandidatePairStats> getIceCandidatePairStats()
      Returns stats for all ice candidate pairs in the peer connection.
      Returns:
      a list of ice candidate pair stats
    • getIceCandidateStats

      public List<IceCandidateStats> getIceCandidateStats()
      Returns stats for individual ice candidates in the peer connection
      Returns:
      a list of all ice candidate stats