Class RTCRTPStreamStats

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RTCRTPStreamStats()
      Default private constructor of RTCRTPStreamStats for serialization with Jackson
        RTCRTPStreamStats​(String id, StatsType type, long timestampMillis, String ssrc, String associateStatsId, boolean isRemote, String mediaTrackId, String transportId, String codecId, long firCount, long pliCount, long nackCount, long sliCount, long remb, long packetsLost, double fractionLost)
      Create a RTCRTPStreamStats
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getAssociateStatsId()
      get The associateStatsId is used for looking up the corresponding (local/remote) RTCStats object for a given SSRC.
      String getCodecId()
      get The codec identifier
      long getFirCount()
      get Count the total number of Full Intra Request (FIR) packets received by the sender.
      double getFractionLost()
      get The fraction packet loss reported for this SSRC.
      boolean getIsRemote()
      get false indicates that the statistics are measured locally, while true indicates that the measurements were done at the remote endpoint and reported in an RTCP RR/XR.
      String getMediaTrackId()
      get Track identifier.
      long getNackCount()
      get Count the total number of Negative ACKnowledgement (NACK) packets received by the sender and is sent by receiver.
      long getPacketsLost()
      get Total number of RTP packets lost for this SSRC.
      long getPliCount()
      get Count the total number of Packet Loss Indication (PLI) packets received by the sender and is sent by receiver.
      long getRemb()
      get The Receiver Estimated Maximum Bitrate (REMB).
      long getSliCount()
      get Count the total number of Slice Loss Indication (SLI) packets received by the sender.
      String getSsrc()
      get The synchronized source SSRC
      String getTransportId()
      get It is a unique identifier that is associated to the object that was inspected to produce the RTCTransportStats associated with this RTP stream.
      void setAssociateStatsId​(String associateStatsId)
      set The associateStatsId is used for looking up the corresponding (local/remote) RTCStats object for a given SSRC.
      void setCodecId​(String codecId)
      set The codec identifier
      void setFirCount​(long firCount)
      set Count the total number of Full Intra Request (FIR) packets received by the sender.
      void setFractionLost​(double fractionLost)
      set The fraction packet loss reported for this SSRC.
      void setIsRemote​(boolean isRemote)
      set false indicates that the statistics are measured locally, while true indicates that the measurements were done at the remote endpoint and reported in an RTCP RR/XR.
      void setMediaTrackId​(String mediaTrackId)
      set Track identifier.
      void setNackCount​(long nackCount)
      set Count the total number of Negative ACKnowledgement (NACK) packets received by the sender and is sent by receiver.
      void setPacketsLost​(long packetsLost)
      set Total number of RTP packets lost for this SSRC.
      void setPliCount​(long pliCount)
      set Count the total number of Packet Loss Indication (PLI) packets received by the sender and is sent by receiver.
      void setRemb​(long remb)
      set The Receiver Estimated Maximum Bitrate (REMB).
      void setSliCount​(long sliCount)
      set Count the total number of Slice Loss Indication (SLI) packets received by the sender.
      void setSsrc​(String ssrc)
      set The synchronized source SSRC
      void setTransportId​(String transportId)
      set It is a unique identifier that is associated to the object that was inspected to produce the RTCTransportStats associated with this RTP stream.
    • Constructor Detail

      • RTCRTPStreamStats

        protected RTCRTPStreamStats()
        Default private constructor of RTCRTPStreamStats for serialization with Jackson
      • RTCRTPStreamStats

        public RTCRTPStreamStats​(String id,
                                 StatsType type,
                                 long timestampMillis,
                                 String ssrc,
                                 String associateStatsId,
                                 boolean isRemote,
                                 String mediaTrackId,
                                 String transportId,
                                 String codecId,
                                 long firCount,
                                 long pliCount,
                                 long nackCount,
                                 long sliCount,
                                 long remb,
                                 long packetsLost,
                                 double fractionLost)
        Create a RTCRTPStreamStats
    • Method Detail

      • getSsrc

        public String getSsrc()
        get The synchronized source SSRC
      • setSsrc

        public void setSsrc​(String ssrc)
        set The synchronized source SSRC
      • getAssociateStatsId

        public String getAssociateStatsId()
        get The associateStatsId is used for looking up the corresponding (local/remote) RTCStats object for a given SSRC.
      • setAssociateStatsId

        public void setAssociateStatsId​(String associateStatsId)
        set The associateStatsId is used for looking up the corresponding (local/remote) RTCStats object for a given SSRC.
      • getIsRemote

        public boolean getIsRemote()
        get false indicates that the statistics are measured locally, while true indicates that the measurements were done at the remote endpoint and reported in an RTCP RR/XR.
      • setIsRemote

        public void setIsRemote​(boolean isRemote)
        set false indicates that the statistics are measured locally, while true indicates that the measurements were done at the remote endpoint and reported in an RTCP RR/XR.
      • getMediaTrackId

        public String getMediaTrackId()
        get Track identifier.
      • setMediaTrackId

        public void setMediaTrackId​(String mediaTrackId)
        set Track identifier.
      • getTransportId

        public String getTransportId()
        get It is a unique identifier that is associated to the object that was inspected to produce the RTCTransportStats associated with this RTP stream.
      • setTransportId

        public void setTransportId​(String transportId)
        set It is a unique identifier that is associated to the object that was inspected to produce the RTCTransportStats associated with this RTP stream.
      • getCodecId

        public String getCodecId()
        get The codec identifier
      • setCodecId

        public void setCodecId​(String codecId)
        set The codec identifier
      • getFirCount

        public long getFirCount()
        get Count the total number of Full Intra Request (FIR) packets received by the sender. This metric is only valid for video and is sent by receiver.
      • setFirCount

        public void setFirCount​(long firCount)
        set Count the total number of Full Intra Request (FIR) packets received by the sender. This metric is only valid for video and is sent by receiver.
      • getPliCount

        public long getPliCount()
        get Count the total number of Packet Loss Indication (PLI) packets received by the sender and is sent by receiver.
      • setPliCount

        public void setPliCount​(long pliCount)
        set Count the total number of Packet Loss Indication (PLI) packets received by the sender and is sent by receiver.
      • getNackCount

        public long getNackCount()
        get Count the total number of Negative ACKnowledgement (NACK) packets received by the sender and is sent by receiver.
      • setNackCount

        public void setNackCount​(long nackCount)
        set Count the total number of Negative ACKnowledgement (NACK) packets received by the sender and is sent by receiver.
      • getSliCount

        public long getSliCount()
        get Count the total number of Slice Loss Indication (SLI) packets received by the sender. This metric is only valid for video and is sent by receiver.
      • setSliCount

        public void setSliCount​(long sliCount)
        set Count the total number of Slice Loss Indication (SLI) packets received by the sender. This metric is only valid for video and is sent by receiver.
      • getRemb

        public long getRemb()
        get The Receiver Estimated Maximum Bitrate (REMB). This metric is only valid for video.
      • setRemb

        public void setRemb​(long remb)
        set The Receiver Estimated Maximum Bitrate (REMB). This metric is only valid for video.
      • getPacketsLost

        public long getPacketsLost()
        get Total number of RTP packets lost for this SSRC.
      • setPacketsLost

        public void setPacketsLost​(long packetsLost)
        set Total number of RTP packets lost for this SSRC.
      • getFractionLost

        public double getFractionLost()
        get The fraction packet loss reported for this SSRC.
      • setFractionLost

        public void setFractionLost​(double fractionLost)
        set The fraction packet loss reported for this SSRC.