This class is deprecated.
The Stream Protect API will be shutdown in 2023.
AFrameInfo
instance is aParcelable
that contains data about a video frame of a streaming
session.
Inherited Constant Summary
Field Summary
public static finalCreator<FrameInfo> | CREATOR |
Public Constructor Summary
FrameInfo(int frameId, int frameSizeBytes, long
frameReceiveStartTimeUs, long frameReceiveEndTimeUs)
This constructor is deprecated. The Stream Protect API will be shutdown in
2023.
|
Public Method Summary
int |
getFrameId()
This method is deprecated. The Stream Protect API will be shutdown in
2023.
|
long |
getFrameReceiveEndTimeUs()
This method is deprecated. The Stream Protect API will be shutdown in
2023.
|
long |
getFrameReceiveStartTimeUs()
This method is deprecated. The Stream Protect API will be shutdown in
2023.
|
int |
getFrameSizeBytes()
This method is deprecated. The Stream Protect API will be shutdown in
2023.
|
String |
toString()
|
void |
writeToParcel(Parceldest, int
flags)
|
Inherited Method Summary
Fields
Public Constructors
publicFrameInfo(int frameId, int frameSizeBytes, long frameReceiveStartTimeUs, long frameReceiveEndTimeUs)
Public Methods
public intgetFrameId()
This method is deprecated.
The Stream Protect API will be shutdown in 2023.
The ID of the frame, or frame number.
It should be >= 0 and monotonically increasing in one streaming session. This is used for Stream Protect to determine the effectiveness of protection.
public longgetFrameReceiveEndTimeUs()
This method is deprecated.
The Stream Protect API will be shutdown in 2023.
The arrival time of the last packet for this frame in microseconds.
public longgetFrameReceiveStartTimeUs()
This method is deprecated.
The Stream Protect API will be shutdown in 2023.
The arrival time of the first packet for this frame in microseconds.
public intgetFrameSizeBytes()
This method is deprecated.
The Stream Protect API will be shutdown in 2023.
The size of the frame in bytes. It should be >=0.