Class SubscribeVideoStatsSampler
-
- All Implemented Interfaces:
public final class SubscribeVideoStatsSampler
-
-
Field Summary
Fields Modifier and Type Field Description private DoubleSTART_VIDEO_SAMPLE_DURATIONprivate VideoSamplesSubscribelastSampleprivate FloatframesReceivedprivate FloatframesDroppedprivate FloatframesDecodedprivate FloatlastFramesReceivedprivate FloatlastFramesDroppedprivate FloatlastFramesDecodedprivate Integerplicountprivate IntegernackCountprivate IntegerpauseCountprivate IntegerfreezeCountprivate FloattotalPausesDurationprivate FloattotalFreezesDurationprivate List<Long>avSyncMsAvgprivate final DoubleSAMPLE_DURATIONprivate final StringtrackIdprivate final Stringssrc
-
Constructor Summary
Constructors Constructor Description SubscribeVideoStatsSampler(Double SAMPLE_DURATION, String trackId, String ssrc)
-
Method Summary
-
-
Method Detail
-
getSTART_VIDEO_SAMPLE_DURATION
final Double getSTART_VIDEO_SAMPLE_DURATION()
-
setSTART_VIDEO_SAMPLE_DURATION
final Unit setSTART_VIDEO_SAMPLE_DURATION(Double START_VIDEO_SAMPLE_DURATION)
-
getLastSample
final VideoSamplesSubscribe getLastSample()
-
setLastSample
final Unit setLastSample(VideoSamplesSubscribe lastSample)
-
getFramesReceived
final Float getFramesReceived()
-
setFramesReceived
final Unit setFramesReceived(Float framesReceived)
-
getFramesDropped
final Float getFramesDropped()
-
setFramesDropped
final Unit setFramesDropped(Float framesDropped)
-
getFramesDecoded
final Float getFramesDecoded()
-
setFramesDecoded
final Unit setFramesDecoded(Float framesDecoded)
-
getLastFramesReceived
final Float getLastFramesReceived()
-
setLastFramesReceived
final Unit setLastFramesReceived(Float lastFramesReceived)
-
getLastFramesDropped
final Float getLastFramesDropped()
-
setLastFramesDropped
final Unit setLastFramesDropped(Float lastFramesDropped)
-
getLastFramesDecoded
final Float getLastFramesDecoded()
-
setLastFramesDecoded
final Unit setLastFramesDecoded(Float lastFramesDecoded)
-
getPlicount
final Integer getPlicount()
-
setPlicount
final Unit setPlicount(Integer plicount)
-
getNackCount
final Integer getNackCount()
-
setNackCount
final Unit setNackCount(Integer nackCount)
-
getPauseCount
final Integer getPauseCount()
-
setPauseCount
final Unit setPauseCount(Integer pauseCount)
-
getFreezeCount
final Integer getFreezeCount()
-
setFreezeCount
final Unit setFreezeCount(Integer freezeCount)
-
getTotalPausesDuration
final Float getTotalPausesDuration()
-
setTotalPausesDuration
final Unit setTotalPausesDuration(Float totalPausesDuration)
-
getTotalFreezesDuration
final Float getTotalFreezesDuration()
-
setTotalFreezesDuration
final Unit setTotalFreezesDuration(Float totalFreezesDuration)
-
getAvSyncMsAvg
final List<Long> getAvSyncMsAvg()
-
setAvSyncMsAvg
final Unit setAvSyncMsAvg(List<Long> avSyncMsAvg)
-
getSAMPLE_DURATION
final Double getSAMPLE_DURATION()
-
getTrackId
final String getTrackId()
-
resetSamples
final Unit resetSamples()
-
shouldSample
final Boolean shouldSample(Double currentTimeStamp, Boolean forcePublish)
-
getCollectedSamples
final VideoAnalytics getCollectedSamples(Boolean forcePublish)
-
add
final Unit add(Integer framesReceived, Long framesDropped, Long framesDecoded, Number pliCount, Number nackCount, Number frameWidth, Number frameHeight, Number jitterBufferEmittedCount, Double jitterBufferDelay)
-
add
final Unit add(Long pauseCount, Long freezeCount, Double totalPausesDuration, Double totalFreezesDuration)
-
-
-
-