@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface RTCVideoSourceStats
extends RTCMediaSourceStats
| Modifier and Type | Method and Description |
|---|---|
int |
bitDepth() |
default RTCVideoSourceStats |
bitDepth(int bitDepth) |
static RTCVideoSourceStats |
create(java.lang.String id,
double timestamp,
java.lang.String type,
java.lang.String kind,
java.lang.String trackIdentifier) |
int |
frames() |
default RTCVideoSourceStats |
frames(int frames) |
double |
framesPerSecond() |
default RTCVideoSourceStats |
framesPerSecond(double framesPerSecond) |
int |
height() |
default RTCVideoSourceStats |
height(int height) |
default RTCVideoSourceStats |
id(java.lang.String id)
The id property of the RTCStats dictionary is a string which uniquely identifies the object for which this RTCStats object provides statistics.
|
default RTCVideoSourceStats |
kind(java.lang.String kind) |
default RTCVideoSourceStats |
relayedSource(boolean relayedSource) |
void |
setBitDepth(int bitDepth) |
void |
setFrames(int frames) |
void |
setFramesPerSecond(double framesPerSecond) |
void |
setHeight(int height) |
void |
setWidth(int width) |
default RTCVideoSourceStats |
timestamp(double timestamp)
The timestamp property of the RTCStats dictionary is a DOMHighResTimeStamp object specifying the time at which the data in the object was sampled.
|
default RTCVideoSourceStats |
trackIdentifier(java.lang.String trackIdentifier) |
default RTCVideoSourceStats |
type(java.lang.String type)
The RTCStats dictionary's property type is a string which specifies the type of statistic represented by the object, where the permitted values are drawn from the enum type RTCStatsType.
|
int |
width() |
default RTCVideoSourceStats |
width(int width) |
kind, relayedSource, setKind, setRelayedSource, setTrackIdentifier, trackIdentifier@JsOverlay @Nonnull static RTCVideoSourceStats create(@Nonnull java.lang.String id, double timestamp, @RTCStatsType @Nonnull java.lang.String type, @Nonnull java.lang.String kind, @Nonnull java.lang.String trackIdentifier)
create in interface RTCMediaSourceStats@JsProperty(name="bitDepth") int bitDepth()
@JsProperty void setBitDepth(int bitDepth)
@JsOverlay @Nonnull default RTCVideoSourceStats bitDepth(int bitDepth)
@JsProperty(name="frames") int frames()
@JsProperty void setFrames(int frames)
@JsOverlay @Nonnull default RTCVideoSourceStats frames(int frames)
@JsProperty(name="framesPerSecond") double framesPerSecond()
@JsProperty void setFramesPerSecond(double framesPerSecond)
@JsOverlay @Nonnull default RTCVideoSourceStats framesPerSecond(double framesPerSecond)
@JsProperty(name="height") int height()
@JsProperty void setHeight(int height)
@JsOverlay @Nonnull default RTCVideoSourceStats height(int height)
@JsProperty(name="width") int width()
@JsProperty void setWidth(int width)
@JsOverlay @Nonnull default RTCVideoSourceStats width(int width)
@JsOverlay @Nonnull default RTCVideoSourceStats kind(@Nonnull java.lang.String kind)
kind in interface RTCMediaSourceStats@JsOverlay @Nonnull default RTCVideoSourceStats relayedSource(boolean relayedSource)
relayedSource in interface RTCMediaSourceStats@JsOverlay @Nonnull default RTCVideoSourceStats trackIdentifier(@Nonnull java.lang.String trackIdentifier)
trackIdentifier in interface RTCMediaSourceStats@JsOverlay @Nonnull default RTCVideoSourceStats id(@Nonnull java.lang.String id)
id in interface RTCMediaSourceStatsid in interface RTCStats@JsOverlay @Nonnull default RTCVideoSourceStats timestamp(double timestamp)
timestamp in interface RTCMediaSourceStatstimestamp in interface RTCStats@JsOverlay @Nonnull default RTCVideoSourceStats type(@RTCStatsType @Nonnull java.lang.String type)
type in interface RTCMediaSourceStatstype in interface RTCStats