public class LocalVideoTrackStats
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private long |
bytesMajorStream
The bytes of the major stream.
|
private long |
bytesMinorStream
The bytes of the minor stream.
|
private int |
captureFrameRate
The capture frame rate (fps).
|
private int |
captureHeight
The capture frame height (pixel).
|
private int |
captureWidth
The capture frame width (pixel).
|
private int |
encodeFrameRate
The encoder output frame rate (fps).
|
private int |
encoderType
The encoder type.
|
private int |
framesEncoded
The number of frames encoded.
|
private int |
height
The frame height (pixel).
|
private int |
inputFrameRate
The input frame rate (fps).
|
private int |
mediaBitrateBps
The frame rate excluding FEC.
|
private long |
numberOfStreams
The number of streams.
|
private int |
qualityAdaptIndication
Quality change of the local video in terms of target frame rate and target
bit rate in this reported interval.
|
private int |
regulatedCaptureFrameRate
The regulated capture frame rate (fps) according to video encoder
configuration.
|
private int |
regulatedCaptureHeight
The regulated frame height (pixel) of capture frame height according to video
encoder configuration.
|
private int |
regulatedCaptureWidth
The regulated frame width (pixel) of capture frame width according to video
encoder configuration.
|
private int |
renderFrameRate
The render frame rate (fps).
|
private int |
ssrcMajorStream
The synchronization source (SSRC) of the major stream.
|
private int |
ssrcMinorStream
The synchronization source (SSRC) of the minor stream.
|
private int |
targetMediaBitrateBps
The target bitrate (bps).
|
private int |
totalBitrateBps
The total frame rate including FEC.
|
private int |
uplinkCostTimeMs
The average time diff between frame captured and framed encoded.
|
private int |
width
The frame width (pixel).
|
| Constructor and Description |
|---|
LocalVideoTrackStats()
Default constructor for LocalVideoTrackStats.
|
LocalVideoTrackStats(long numberOfStreams,
long bytesMajorStream,
long bytesMinorStream,
int framesEncoded,
int ssrcMajorStream,
int ssrcMinorStream,
int captureFrameRate,
int regulatedCaptureFrameRate,
int inputFrameRate,
int encodeFrameRate,
int renderFrameRate,
int targetMediaBitrateBps,
int mediaBitrateBps,
int totalBitrateBps,
int captureWidth,
int captureHeight,
int regulatedCaptureWidth,
int regulatedCaptureHeight,
int width,
int height,
int encoderType,
int uplinkCostTimeMs,
int qualityAdaptIndication)
Constructs LocalVideoTrackStats with all parameters.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getBytesMajorStream()
Gets the bytes of the major stream.
|
long |
getBytesMinorStream()
Gets the bytes of the minor stream.
|
int |
getCaptureFrameRate()
Gets the capture frame rate (fps).
|
int |
getCaptureHeight()
Gets the capture frame height (pixel).
|
int |
getCaptureWidth()
Gets the capture frame width (pixel).
|
int |
getEncodeFrameRate()
Gets the encoder output frame rate (fps).
|
int |
getEncoderType()
Gets the encoder type.
|
int |
getFramesEncoded()
Gets the number of frames encoded.
|
int |
getHeight()
Gets the frame height (pixel).
|
int |
getInputFrameRate()
Gets the input frame rate (fps).
|
int |
getMediaBitrateBps()
Gets the frame rate excluding FEC.
|
long |
getNumberOfStreams()
Gets the number of streams.
|
int |
getQualityAdaptIndication()
Gets the quality change of the local video.
|
int |
getRegulatedCaptureFrameRate()
Gets the regulated capture frame rate (fps).
|
int |
getRegulatedCaptureHeight()
Gets the regulated frame height (pixel).
|
int |
getRegulatedCaptureWidth()
Gets the regulated frame width (pixel).
|
int |
getRenderFrameRate()
Gets the render frame rate (fps).
|
int |
getSsrcMajorStream()
Gets the synchronization source (SSRC) of the major stream.
|
int |
getSsrcMinorStream()
Gets the synchronization source (SSRC) of the minor stream.
|
int |
getTargetMediaBitrateBps()
Gets the target bitrate (bps).
|
int |
getTotalBitrateBps()
Gets the total frame rate including FEC.
|
int |
getUplinkCostTimeMs()
Gets the average time diff between frame captured and framed encoded.
|
int |
getWidth()
Gets the frame width (pixel).
|
void |
setBytesMajorStream(long bytesMajorStream)
Sets the bytes of the major stream.
|
void |
setBytesMinorStream(long bytesMinorStream)
Sets the bytes of the minor stream.
|
void |
setCaptureFrameRate(int captureFrameRate)
Sets the capture frame rate (fps).
|
void |
setCaptureHeight(int captureHeight)
Sets the capture frame height (pixel).
|
void |
setCaptureWidth(int captureWidth)
Sets the capture frame width (pixel).
|
void |
setEncodeFrameRate(int encodeFrameRate)
Sets the encoder output frame rate (fps).
|
void |
setEncoderType(int encoderType)
Sets the encoder type.
|
void |
setFramesEncoded(int framesEncoded)
Sets the number of frames encoded.
|
void |
setHeight(int height)
Sets the frame height (pixel).
|
void |
setInputFrameRate(int inputFrameRate)
Sets the input frame rate (fps).
|
void |
setMediaBitrateBps(int mediaBitrateBps)
Sets the frame rate excluding FEC.
|
void |
setNumberOfStreams(long numberOfStreams)
Sets the number of streams.
|
void |
setQualityAdaptIndication(int qualityAdaptIndication)
Sets the quality change of the local video.
|
void |
setRegulatedCaptureFrameRate(int regulatedCaptureFrameRate)
Sets the regulated capture frame rate (fps).
|
void |
setRegulatedCaptureHeight(int regulatedCaptureHeight)
Sets the regulated frame height (pixel).
|
void |
setRegulatedCaptureWidth(int regulatedCaptureWidth)
Sets the regulated frame width (pixel).
|
void |
setRenderFrameRate(int renderFrameRate)
Sets the render frame rate (fps).
|
void |
setSsrcMajorStream(int ssrcMajorStream)
Sets the synchronization source (SSRC) of the major stream.
|
void |
setSsrcMinorStream(int ssrcMinorStream)
Sets the synchronization source (SSRC) of the minor stream.
|
void |
setTargetMediaBitrateBps(int targetMediaBitrateBps)
Sets the target bitrate (bps).
|
void |
setTotalBitrateBps(int totalBitrateBps)
Sets the total frame rate including FEC.
|
void |
setUplinkCostTimeMs(int uplinkCostTimeMs)
Sets the average time diff between frame captured and framed encoded.
|
void |
setWidth(int width)
Sets the frame width (pixel).
|
java.lang.String |
toString() |
private long numberOfStreams
private long bytesMajorStream
private long bytesMinorStream
private int framesEncoded
private int ssrcMajorStream
private int ssrcMinorStream
private int captureFrameRate
private int regulatedCaptureFrameRate
private int inputFrameRate
private int encodeFrameRate
private int renderFrameRate
private int targetMediaBitrateBps
private int mediaBitrateBps
private int totalBitrateBps
private int captureWidth
private int captureHeight
private int regulatedCaptureWidth
private int regulatedCaptureHeight
private int width
private int height
private int encoderType
private int uplinkCostTimeMs
private int qualityAdaptIndication
public LocalVideoTrackStats()
public LocalVideoTrackStats(long numberOfStreams,
long bytesMajorStream,
long bytesMinorStream,
int framesEncoded,
int ssrcMajorStream,
int ssrcMinorStream,
int captureFrameRate,
int regulatedCaptureFrameRate,
int inputFrameRate,
int encodeFrameRate,
int renderFrameRate,
int targetMediaBitrateBps,
int mediaBitrateBps,
int totalBitrateBps,
int captureWidth,
int captureHeight,
int regulatedCaptureWidth,
int regulatedCaptureHeight,
int width,
int height,
int encoderType,
int uplinkCostTimeMs,
int qualityAdaptIndication)
numberOfStreams - The number of streamsbytesMajorStream - The bytes of the major streambytesMinorStream - The bytes of the minor streamframesEncoded - The number of frames encodedssrcMajorStream - The synchronization source (SSRC) of the major streamssrcMinorStream - The synchronization source (SSRC) of the minor streamcaptureFrameRate - The capture frame rate (fps)regulatedCaptureFrameRate - The regulated capture frame rate (fps)inputFrameRate - The input frame rate (fps)encodeFrameRate - The encoder output frame rate (fps)renderFrameRate - The render frame rate (fps)targetMediaBitrateBps - The target bitrate (bps)mediaBitrateBps - The frame rate excluding FECtotalBitrateBps - The total frame rate including FECcaptureWidth - The capture frame width (pixel)captureHeight - The capture frame height (pixel)regulatedCaptureWidth - The regulated frame width (pixel)regulatedCaptureHeight - The regulated frame height (pixel)width - The frame width (pixel)height - The frame height (pixel)encoderType - The encoder typeuplinkCostTimeMs - The average time diff between frame captured and framed encodedqualityAdaptIndication - Quality change of the local videopublic long getNumberOfStreams()
public void setNumberOfStreams(long numberOfStreams)
numberOfStreams - The number of streamspublic long getBytesMajorStream()
public void setBytesMajorStream(long bytesMajorStream)
bytesMajorStream - The bytes of the major streampublic long getBytesMinorStream()
public void setBytesMinorStream(long bytesMinorStream)
bytesMinorStream - The bytes of the minor streampublic int getFramesEncoded()
public void setFramesEncoded(int framesEncoded)
framesEncoded - The number of frames encodedpublic int getSsrcMajorStream()
public void setSsrcMajorStream(int ssrcMajorStream)
ssrcMajorStream - The synchronization source (SSRC) of the major streampublic int getSsrcMinorStream()
public void setSsrcMinorStream(int ssrcMinorStream)
ssrcMinorStream - The synchronization source (SSRC) of the minor streampublic int getCaptureFrameRate()
public void setCaptureFrameRate(int captureFrameRate)
captureFrameRate - The capture frame rate (fps)public int getRegulatedCaptureFrameRate()
public void setRegulatedCaptureFrameRate(int regulatedCaptureFrameRate)
regulatedCaptureFrameRate - The regulated capture frame rate (fps)public int getInputFrameRate()
public void setInputFrameRate(int inputFrameRate)
inputFrameRate - The input frame rate (fps)public int getEncodeFrameRate()
public void setEncodeFrameRate(int encodeFrameRate)
encodeFrameRate - The encoder output frame rate (fps)public int getRenderFrameRate()
public void setRenderFrameRate(int renderFrameRate)
renderFrameRate - The render frame rate (fps)public int getTargetMediaBitrateBps()
public void setTargetMediaBitrateBps(int targetMediaBitrateBps)
targetMediaBitrateBps - The target bitrate (bps)public int getMediaBitrateBps()
public void setMediaBitrateBps(int mediaBitrateBps)
mediaBitrateBps - The frame rate excluding FECpublic int getTotalBitrateBps()
public void setTotalBitrateBps(int totalBitrateBps)
totalBitrateBps - The total frame rate including FECpublic int getCaptureWidth()
public void setCaptureWidth(int captureWidth)
captureWidth - The capture frame width (pixel)public int getCaptureHeight()
public void setCaptureHeight(int captureHeight)
captureHeight - The capture frame height (pixel)public int getRegulatedCaptureWidth()
public void setRegulatedCaptureWidth(int regulatedCaptureWidth)
regulatedCaptureWidth - The regulated frame width (pixel)public int getRegulatedCaptureHeight()
public void setRegulatedCaptureHeight(int regulatedCaptureHeight)
regulatedCaptureHeight - The regulated frame height (pixel)public int getWidth()
public void setWidth(int width)
width - The frame width (pixel)public int getHeight()
public void setHeight(int height)
height - The frame height (pixel)public int getEncoderType()
public void setEncoderType(int encoderType)
encoderType - The encoder typepublic int getUplinkCostTimeMs()
public void setUplinkCostTimeMs(int uplinkCostTimeMs)
uplinkCostTimeMs - The average time diff between frame captured and framed encodedpublic int getQualityAdaptIndication()
public void setQualityAdaptIndication(int qualityAdaptIndication)
qualityAdaptIndication - Quality change of the local videopublic java.lang.String toString()
toString in class java.lang.Object