FrameInfo Stay organized with collections Save and categorize content based on your preferences.
Page Summary
The
FrameInfoclass is deprecated and the Stream Protect API will be shut down in 2023.FrameInfois aParcelableclass containing data about a video frame in a streaming session.It includes fields for frame ID, size, and receive times.
All public constructors and most public methods of this class are deprecated.
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
| int | CONTENTS_FILE_DESCRIPTOR | |
| int | PARCELABLE_STABILITY_LOCAL | |
| int | PARCELABLE_STABILITY_VINTF | |
| int | PARCELABLE_WRITE_RETURN_VALUE |
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(Parcel dest, int flags) |
Inherited Method Summary
| abstract int | describeContents() |
| int | getStability() |
| abstract void | writeToParcel(Parcel arg0, int arg1) |
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.
publicStringtoString()
public voidwriteToParcel(Parcel dest, int flags)
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.