Class StatsReport


  • public class StatsReport
    extends java.lang.Object
    Stats report contains stats for all the media tracks that exist in 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