| Modifier and Type | Method and Description |
|---|---|
double |
audioLevel() |
default RTCRtpContributingSourceStats |
audioLevel(double audioLevel) |
int |
contributorSsrc() |
default RTCRtpContributingSourceStats |
contributorSsrc(int contributorSsrc) |
static RTCRtpContributingSourceStats |
create(java.lang.String id,
double timestamp,
java.lang.String type,
int contributorSsrc,
java.lang.String inboundRtpStreamId) |
default RTCRtpContributingSourceStats |
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.
|
java.lang.String |
inboundRtpStreamId() |
default RTCRtpContributingSourceStats |
inboundRtpStreamId(java.lang.String inboundRtpStreamId) |
int |
packetsContributedTo() |
default RTCRtpContributingSourceStats |
packetsContributedTo(int packetsContributedTo) |
void |
setAudioLevel(double audioLevel) |
void |
setContributorSsrc(int contributorSsrc) |
void |
setInboundRtpStreamId(java.lang.String inboundRtpStreamId) |
void |
setPacketsContributedTo(int packetsContributedTo) |
default RTCRtpContributingSourceStats |
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 RTCRtpContributingSourceStats |
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.
|
@JsOverlay @Nonnull static RTCRtpContributingSourceStats create(@Nonnull java.lang.String id, double timestamp, @RTCStatsType @Nonnull java.lang.String type, int contributorSsrc, @Nonnull java.lang.String inboundRtpStreamId)
@JsProperty(name="audioLevel") double audioLevel()
@JsProperty void setAudioLevel(double audioLevel)
@JsOverlay @Nonnull default RTCRtpContributingSourceStats audioLevel(double audioLevel)
@JsProperty(name="contributorSsrc") int contributorSsrc()
@JsProperty void setContributorSsrc(int contributorSsrc)
@JsOverlay @Nonnull default RTCRtpContributingSourceStats contributorSsrc(int contributorSsrc)
@JsProperty(name="inboundRtpStreamId") @Nonnull java.lang.String inboundRtpStreamId()
@JsProperty
void setInboundRtpStreamId(@Nonnull
java.lang.String inboundRtpStreamId)
@JsOverlay @Nonnull default RTCRtpContributingSourceStats inboundRtpStreamId(@Nonnull java.lang.String inboundRtpStreamId)
@JsProperty(name="packetsContributedTo") int packetsContributedTo()
@JsProperty void setPacketsContributedTo(int packetsContributedTo)
@JsOverlay @Nonnull default RTCRtpContributingSourceStats packetsContributedTo(int packetsContributedTo)
@JsOverlay @Nonnull default RTCRtpContributingSourceStats id(@Nonnull java.lang.String id)
id in interface RTCStats@JsOverlay @Nonnull default RTCRtpContributingSourceStats timestamp(double timestamp)
timestamp in interface RTCStats@JsOverlay @Nonnull default RTCRtpContributingSourceStats type(@RTCStatsType @Nonnull java.lang.String type)
type in interface RTCStats