public class EncodedVideoFrameInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private long |
captureTimeMs
This is a input parameter which means the timestamp for capturing the video.
|
private int |
codecType
The video codec: #VIDEO_CODEC_TYPE.
|
private long |
decodeTimeMs
The timestamp for rendering the video.
|
private int |
framesPerSecond
The number of video frames per second.
|
private int |
frameType
The frame type of the encoded video frame: #VIDEO_FRAME_TYPE.
|
private int |
height
The height (px) of the video.
|
private long |
presentationMs
The presentation timestamp (PTS) of the video frame (ms).
|
private int |
rotation
The rotation information of the encoded video frame: #VIDEO_ORIENTATION.
|
private int |
streamType
The stream type of video frame.
|
private int |
trackId
This can be reserved for multiple video tracks, we need to create different
ssrc
and additional payload for later implementation.
|
private int |
uid
ID of the user.
|
private int |
width
The width (px) of the video.
|
| Constructor and Description |
|---|
EncodedVideoFrameInfo() |
EncodedVideoFrameInfo(int codecType,
int width,
int height,
int framesPerSecond,
int frameType,
int rotation,
int trackId,
long captureTimeMs,
long renderTimeMs,
int uid,
int streamType,
long presentationMs) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCaptureTimeMs() |
int |
getCodecType() |
long |
getDecodeTimeMs() |
int |
getFramesPerSecond() |
int |
getFrameType() |
int |
getHeight() |
long |
getPresentationMs() |
int |
getRotation() |
int |
getStreamType() |
int |
getTrackId() |
int |
getUid() |
int |
getWidth() |
void |
setCaptureTimeMs(long captureTimeMs) |
void |
setCodecType(int codecType) |
void |
setDecodeTimeMs(long decodeTimeMs) |
void |
setFramesPerSecond(int framesPerSecond) |
void |
setFrameType(int frameType) |
void |
setHeight(int height) |
void |
setPresentationMs(long presentationMs) |
void |
setRotation(int rotation) |
void |
setStreamType(int streamType) |
void |
setTrackId(int trackId) |
void |
setUid(int uid) |
void |
setWidth(int width) |
java.lang.String |
toString() |
private int codecType
private int width
private int height
private int framesPerSecond
private int frameType
private int rotation
private int trackId
private long captureTimeMs
private long decodeTimeMs
private int uid
private int streamType
private long presentationMs
public EncodedVideoFrameInfo()
public EncodedVideoFrameInfo(int codecType,
int width,
int height,
int framesPerSecond,
int frameType,
int rotation,
int trackId,
long captureTimeMs,
long renderTimeMs,
int uid,
int streamType,
long presentationMs)
public int getCodecType()
public void setCodecType(int codecType)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public int getFramesPerSecond()
public void setFramesPerSecond(int framesPerSecond)
public int getFrameType()
public void setFrameType(int frameType)
public int getRotation()
public void setRotation(int rotation)
public int getTrackId()
public void setTrackId(int trackId)
public long getCaptureTimeMs()
public void setCaptureTimeMs(long captureTimeMs)
public long getDecodeTimeMs()
public void setDecodeTimeMs(long decodeTimeMs)
public int getUid()
public void setUid(int uid)
public int getStreamType()
public void setStreamType(int streamType)
public long getPresentationMs()
public void setPresentationMs(long presentationMs)
public java.lang.String toString()
toString in class java.lang.Object