Page Summary
-
The
StreamProtectOptionsclass and its nestedBuilderclass are deprecated. -
The Stream Protect API is scheduled to be shut down in 2023.
-
Methods like
getClockType()andgetExpectedFps()within this class are also deprecated. -
This class implements the
Parcelableinterface.
This class is deprecated.
The Stream Protect API will be shutdown in 2023.
StreamProtectOptions
configure Stream Protect.
Nested Class Summary
| class | StreamProtectOptions.Builder | This class is deprecated. The Stream Protect API will be shutdown in 2023. | |
Inherited Constant Summary
Field Summary
| public static final Creator<StreamProtectOptions> | CREATOR |
Public Method Summary
| ClockType |
getClockType()
This method is deprecated. The Stream Protect API will be shutdown in
2023.
|
| int |
getExpectedFps()
This method is deprecated. The Stream Protect API will be shutdown in
2023.
|
| String |
toString()
|
| void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Fields
public static final Creator<StreamProtectOptions> CREATOR
Public Methods
public ClockType getClockType ()
This method is deprecated.
The Stream Protect API will be shutdown in 2023.
Returns ClockType.
By default this is ClockType.MONOTONIC.
public int getExpectedFps ()
This method is deprecated.
The Stream Protect API will be shutdown in 2023.
Returns the expected video frames per second for a session. If the value largely differs from the actual FPS, e.g., 30 vs 60, the effectiveness will degrade. The value cannot be changed for each session. By default this is 60.