Class RTCRTPStreamStats
java.lang.Object
org.kurento.client.Stats
org.kurento.client.RTCStats
org.kurento.client.RTCRTPStreamStats
- Direct Known Subclasses:
RTCInboundRTPStreamStats, RTCOutboundRTPStreamStats
Statistics for the RTP stream
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault private constructor of RTCRTPStreamStats for serialization with JacksonRTCRTPStreamStats(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
Modifier and TypeMethodDescriptionget The associateStatsId is used for looking up the corresponding (local/remote) RTCStats object for a given SSRC.get The codec identifierlongget Count the total number of Full Intra Request (FIR) packets received by the sender.doubleget The fraction packet loss reported for this SSRC.booleanget 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.get Track identifier.longget Count the total number of Negative ACKnowledgement (NACK) packets received by the sender and is sent by receiver.longget Total number of RTP packets lost for this SSRC.longget Count the total number of Packet Loss Indication (PLI) packets received by the sender and is sent by receiver.longgetRemb()get The Receiver Estimated Maximum Bitrate (REMB).longget Count the total number of Slice Loss Indication (SLI) packets received by the sender.getSsrc()get The synchronized source SSRCget It is a unique identifier that is associated to the object that was inspected to produce the RTCTransportStats associated with this RTP stream.voidsetAssociateStatsId(String associateStatsId) set The associateStatsId is used for looking up the corresponding (local/remote) RTCStats object for a given SSRC.voidsetCodecId(String codecId) set The codec identifiervoidsetFirCount(long firCount) set Count the total number of Full Intra Request (FIR) packets received by the sender.voidsetFractionLost(double fractionLost) set The fraction packet loss reported for this SSRC.voidsetIsRemote(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.voidsetMediaTrackId(String mediaTrackId) set Track identifier.voidsetNackCount(long nackCount) set Count the total number of Negative ACKnowledgement (NACK) packets received by the sender and is sent by receiver.voidsetPacketsLost(long packetsLost) set Total number of RTP packets lost for this SSRC.voidsetPliCount(long pliCount) set Count the total number of Packet Loss Indication (PLI) packets received by the sender and is sent by receiver.voidsetRemb(long remb) set The Receiver Estimated Maximum Bitrate (REMB).voidsetSliCount(long sliCount) set Count the total number of Slice Loss Indication (SLI) packets received by the sender.voidset The synchronized source SSRCvoidsetTransportId(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.Methods inherited from class Stats
getId, getTimestampMillis, getType, setId, setTimestampMillis, setType
-
Constructor Details
-
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 Details
-
getSsrc
get The synchronized source SSRC -
setSsrc
set The synchronized source SSRC -
getAssociateStatsId
get The associateStatsId is used for looking up the corresponding (local/remote) RTCStats object for a given SSRC. -
setAssociateStatsId
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
get Track identifier. -
setMediaTrackId
set Track identifier. -
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
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
get The codec identifier -
setCodecId
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.
-