PublisherKit.DegradationPreference
Copy
public static final enum DegradationPreference
Enclosing class: PublisherKit
Describes the policy that the video engine will try to follow when adapting frame rate and resolution to limited bandwidth and CPU. This is a best effort policy. There are no guarantees on the frame rate and some frames can still be skipped for other reasons. For details, see Degradation Preference.
Enum constants
Methods
| Name | Description |
|---|---|
get() → {int} |
|
(static) valueOf(name) → {PublisherKit.DegradationPreference} |
|
(static) values() → {PublisherKit.DegradationPreference[]} |
get() → {int}
Returns:
int
(static) valueOf(name) → {PublisherKit.DegradationPreference}
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String |
Returns:
PublisherKit.DegradationPreference
(static) values() → {PublisherKit.DegradationPreference[]}
Returns:
PublisherKit.DegradationPreference[]