StreamProtectOptions
configure Stream Protect.
Nested Class Summary
class | StreamProtectOptions.Builder | Builder to create a StreamProtectOptions . |
Inherited Constant Summary
Field Summary
public static final Creator<StreamProtectOptions> | CREATOR |
Public Method Summary
ClockType |
getClockType()
Returns
ClockType .
|
int |
getExpectedFps()
Returns the expected video frames per second for a session.
|
String |
toString()
|
void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Fields
public static final Creator<StreamProtectOptions> CREATOR
Public Methods
public ClockType getClockType ()
Returns ClockType
.
By default this is ClockType.MONOTONIC
.
public int getExpectedFps ()
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.