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

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

        @NonNull
        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
      • getLocalVideoTrackStats

        @NonNull
        public java.util.List<LocalVideoTrackStats> getLocalVideoTrackStats()
        Returns stats for all local video tracks in the peer connection.
        Returns:
        a list of local video tracks stats
      • getRemoteAudioTrackStats

        @NonNull
        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
      • getRemoteVideoTrackStats

        @NonNull
        public java.util.List<RemoteVideoTrackStats> getRemoteVideoTrackStats()
        Returns stats for all remote video tracks in the peer connection.
        Returns:
        a list of remote video tracks stats
      • getIceCandidatePairStats

        @NonNull
        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

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