@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="RTCRtpEncodingParameters")
public interface RTCRtpEncodingParameters
extends RTCRtpCodingParameters
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RTCRtpEncodingParameters.Builder
An instance of the WebRTC API's RTCRtpEncodingParameters dictionary describes a single configuration of a codec for an RTCRtpSender.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
active() |
static RTCRtpEncodingParameters.Builder |
create() |
int |
maxBitrate()
The RTCRtpEncodingParameters dictionary's maxBitrate property specifies the maximum number of bits per second to allow a track encoded with this encoding to use.
|
java.lang.String |
networkPriority() |
java.lang.String |
priority() |
double |
scaleResolutionDownBy()
The RTCRtpEncodingParameters dictionary's scaleResolutionDownBy property can be used to specify a factor by which to reduce the size of a video track during encoding.
|
void |
setActive(boolean active) |
void |
setMaxBitrate(int maxBitrate)
The RTCRtpEncodingParameters dictionary's maxBitrate property specifies the maximum number of bits per second to allow a track encoded with this encoding to use.
|
void |
setNetworkPriority(java.lang.String networkPriority) |
void |
setPriority(java.lang.String priority) |
void |
setScaleResolutionDownBy(double scaleResolutionDownBy)
The RTCRtpEncodingParameters dictionary's scaleResolutionDownBy property can be used to specify a factor by which to reduce the size of a video track during encoding.
|
rid, setRid@JsOverlay @Nonnull static RTCRtpEncodingParameters.Builder create()
create in interface RTCRtpCodingParameters@JsProperty(name="active") boolean active()
@JsProperty void setActive(boolean active)
@JsProperty(name="maxBitrate") int maxBitrate()
@JsProperty void setMaxBitrate(int maxBitrate)
@JsProperty(name="scaleResolutionDownBy") double scaleResolutionDownBy()
@JsProperty void setScaleResolutionDownBy(double scaleResolutionDownBy)
@JsProperty(name="networkPriority") @RTCPriorityType java.lang.String networkPriority()
@JsProperty void setNetworkPriority(@RTCPriorityType @Nonnull java.lang.String networkPriority)
@JsProperty(name="priority") @RTCPriorityType java.lang.String priority()
@JsProperty void setPriority(@RTCPriorityType @Nonnull java.lang.String priority)