public class RemoteVideoTrackStats
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
avSyncTimeMs
The offset (ms) between audio and video stream.
|
private int |
decoderOutputFrameRate
The decoder output frame rate (fps) of the remote video.
|
private int |
delay
**DEPRECATED** Time delay (ms).
|
private int |
downlinkProcessTimeMs
The average offset(ms) between receive first packet which composite the frame
and the frame
ready to render.
|
private int |
frameLossRate
The video frame loss rate (%) of the remote video stream in the reported
interval.
|
private int |
frameRenderDelayMs
The average time cost in renderer.
|
private int |
frozenRate
The total video freeze time as a percentage (%) of the total time when the
video is available.
|
private int |
height
Height (pixels) of the video stream.
|
private int |
packetLossRate
Packet loss rate (%) of the remote video stream after using the
anti-packet-loss method.
|
private long |
publishDuration
The total publish duration (ms) of the remote video stream.
|
private int |
receivedBitrate
Bitrate (Kbps) received since the last count.
|
private int |
rendererOutputFrameRate
The render output frame rate (fps) of the remote video.
|
private int |
rxStreamType
The remote video stream type.
|
private long |
totalActiveTime
The total time (ms) when the remote user neither stops sending the video
stream nor disables the video module after joining the channel.
|
private int |
totalDecodedFrames
The total video decoded frames.
|
private int |
totalFrozenTime
The total freeze time (ms) of the remote video stream after the remote user
joins the channel.
|
private int |
uid
User ID of the remote user sending the video streams.
|
private int |
width
Width (pixels) of the video stream.
|
| Constructor and Description |
|---|
RemoteVideoTrackStats()
Default constructor for RemoteVideoTrackStats.
|
RemoteVideoTrackStats(int uid,
int delay,
int width,
int height,
int receivedBitrate,
int decoderOutputFrameRate,
int rendererOutputFrameRate,
int frameLossRate,
int packetLossRate,
int rxStreamType,
int totalFrozenTime,
int frozenRate,
int totalDecodedFrames,
int avSyncTimeMs,
int downlinkProcessTimeMs,
int frameRenderDelayMs,
long totalActiveTime,
long publishDuration)
Constructs RemoteVideoTrackStats with all parameters.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAvSyncTimeMs()
Gets the AV sync time (ms).
|
int |
getDecoderOutputFrameRate()
Gets the decoder output frame rate (fps).
|
int |
getDelay()
Gets the time delay (ms) (deprecated).
|
int |
getDownlinkProcessTimeMs()
Gets the downlink process time (ms).
|
int |
getFrameLossRate()
Gets the frame loss rate (%).
|
int |
getFrameRenderDelayMs()
Gets the frame render delay (ms).
|
int |
getFrozenRate()
Gets the freeze rate (%).
|
int |
getHeight()
Gets the height (px).
|
int |
getPacketLossRate()
Gets the packet loss rate (%).
|
long |
getPublishDuration()
Gets the publish duration (ms).
|
int |
getReceivedBitrate()
Gets the received bitrate (Kbps).
|
int |
getRendererOutputFrameRate()
Gets the renderer output frame rate (fps).
|
int |
getRxStreamType()
Gets the remote video stream type.
|
long |
getTotalActiveTime()
Gets the total active time (ms).
|
int |
getTotalDecodedFrames()
Gets the total decoded frames.
|
int |
getTotalFrozenTime()
Gets the total freeze time (ms).
|
int |
getUid()
Gets the user ID.
|
int |
getWidth()
Gets the width (px).
|
void |
setAvSyncTimeMs(int avSyncTimeMs)
Sets the AV sync time (ms).
|
void |
setDecoderOutputFrameRate(int decoderOutputFrameRate)
Sets the decoder output frame rate (fps).
|
void |
setDelay(int delay)
Sets the time delay (ms) (deprecated).
|
void |
setDownlinkProcessTimeMs(int downlinkProcessTimeMs)
Sets the downlink process time (ms).
|
void |
setFrameLossRate(int frameLossRate)
Sets the frame loss rate (%).
|
void |
setFrameRenderDelayMs(int frameRenderDelayMs)
Sets the frame render delay (ms).
|
void |
setFrozenRate(int frozenRate)
Sets the freeze rate (%).
|
void |
setHeight(int height)
Sets the height (px).
|
void |
setPacketLossRate(int packetLossRate)
Sets the packet loss rate (%).
|
void |
setPublishDuration(long publishDuration)
Sets the publish duration (ms).
|
void |
setReceivedBitrate(int receivedBitrate)
Sets the received bitrate (Kbps).
|
void |
setRendererOutputFrameRate(int rendererOutputFrameRate)
Sets the renderer output frame rate (fps).
|
void |
setRxStreamType(int rxStreamType)
Sets the remote video stream type.
|
void |
setTotalActiveTime(long totalActiveTime)
Sets the total active time (ms).
|
void |
setTotalDecodedFrames(int totalDecodedFrames)
Sets the total decoded frames.
|
void |
setTotalFrozenTime(int totalFrozenTime)
Sets the total freeze time (ms).
|
void |
setUid(int uid)
Sets the user ID.
|
void |
setWidth(int width)
Sets the width (px).
|
java.lang.String |
toString() |
private int uid
private int delay
private int width
private int height
private int receivedBitrate
private int decoderOutputFrameRate
private int rendererOutputFrameRate
private int frameLossRate
private int packetLossRate
private int rxStreamType
private int totalFrozenTime
private int frozenRate
private int totalDecodedFrames
private int avSyncTimeMs
private int downlinkProcessTimeMs
private int frameRenderDelayMs
private long totalActiveTime
private long publishDuration
public RemoteVideoTrackStats()
public RemoteVideoTrackStats(int uid,
int delay,
int width,
int height,
int receivedBitrate,
int decoderOutputFrameRate,
int rendererOutputFrameRate,
int frameLossRate,
int packetLossRate,
int rxStreamType,
int totalFrozenTime,
int frozenRate,
int totalDecodedFrames,
int avSyncTimeMs,
int downlinkProcessTimeMs,
int frameRenderDelayMs,
long totalActiveTime,
long publishDuration)
uid - User ID of the remote userdelay - Time delay (ms) (deprecated)width - Width (px)height - Height (px)receivedBitrate - Received bitrate (Kbps)decoderOutputFrameRate - Decoder output frame rate (fps)rendererOutputFrameRate - Renderer output frame rate (fps)frameLossRate - Frame loss rate (%)packetLossRate - Packet loss rate (%)rxStreamType - Remote video stream typetotalFrozenTime - Total freeze time (ms)frozenRate - Freeze rate (%)totalDecodedFrames - Total decoded framesavSyncTimeMs - AV sync time (ms)downlinkProcessTimeMs - Downlink process time (ms)frameRenderDelayMs - Frame render delay (ms)totalActiveTime - Total active time (ms)publishDuration - Publish duration (ms)public int getUid()
public void setUid(int uid)
uid - User IDpublic int getDelay()
public void setDelay(int delay)
delay - Time delay (ms)public int getWidth()
public void setWidth(int width)
width - Width (px)public int getHeight()
public void setHeight(int height)
height - Height (px)public int getReceivedBitrate()
public void setReceivedBitrate(int receivedBitrate)
receivedBitrate - Received bitrate (Kbps)public int getDecoderOutputFrameRate()
public void setDecoderOutputFrameRate(int decoderOutputFrameRate)
decoderOutputFrameRate - Decoder output frame rate (fps)public int getRendererOutputFrameRate()
public void setRendererOutputFrameRate(int rendererOutputFrameRate)
rendererOutputFrameRate - Renderer output frame rate (fps)public int getFrameLossRate()
public void setFrameLossRate(int frameLossRate)
frameLossRate - Frame loss rate (%)public int getPacketLossRate()
public void setPacketLossRate(int packetLossRate)
packetLossRate - Packet loss rate (%)public int getRxStreamType()
public void setRxStreamType(int rxStreamType)
rxStreamType - Remote video stream typepublic int getTotalFrozenTime()
public void setTotalFrozenTime(int totalFrozenTime)
totalFrozenTime - Total freeze time (ms)public int getFrozenRate()
public void setFrozenRate(int frozenRate)
frozenRate - Freeze rate (%)public int getTotalDecodedFrames()
public void setTotalDecodedFrames(int totalDecodedFrames)
totalDecodedFrames - Total decoded framespublic int getAvSyncTimeMs()
public void setAvSyncTimeMs(int avSyncTimeMs)
avSyncTimeMs - AV sync time (ms)public int getDownlinkProcessTimeMs()
public void setDownlinkProcessTimeMs(int downlinkProcessTimeMs)
downlinkProcessTimeMs - Downlink process time (ms)public int getFrameRenderDelayMs()
public void setFrameRenderDelayMs(int frameRenderDelayMs)
frameRenderDelayMs - Frame render delay (ms)public long getTotalActiveTime()
public void setTotalActiveTime(long totalActiveTime)
totalActiveTime - Total active time (ms)public long getPublishDuration()
public void setPublishDuration(long publishDuration)
publishDuration - Publish duration (ms)public java.lang.String toString()
toString in class java.lang.Object