@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface RTCAudioSourceStats
extends RTCMediaSourceStats
| Modifier and Type | Method and Description |
|---|---|
double |
audioLevel() |
default RTCAudioSourceStats |
audioLevel(double audioLevel) |
static RTCAudioSourceStats |
create(java.lang.String id,
double timestamp,
java.lang.String type,
java.lang.String kind,
java.lang.String trackIdentifier) |
double |
echoReturnLoss() |
default RTCAudioSourceStats |
echoReturnLoss(double echoReturnLoss) |
double |
echoReturnLossEnhancement() |
default RTCAudioSourceStats |
echoReturnLossEnhancement(double echoReturnLossEnhancement) |
default RTCAudioSourceStats |
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 RTCAudioSourceStats |
kind(java.lang.String kind) |
default RTCAudioSourceStats |
relayedSource(boolean relayedSource) |
void |
setAudioLevel(double audioLevel) |
void |
setEchoReturnLoss(double echoReturnLoss) |
void |
setEchoReturnLossEnhancement(double echoReturnLossEnhancement) |
void |
setTotalAudioEnergy(double totalAudioEnergy) |
void |
setTotalSamplesDuration(double totalSamplesDuration) |
default RTCAudioSourceStats |
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.
|
double |
totalAudioEnergy() |
default RTCAudioSourceStats |
totalAudioEnergy(double totalAudioEnergy) |
double |
totalSamplesDuration() |
default RTCAudioSourceStats |
totalSamplesDuration(double totalSamplesDuration) |
default RTCAudioSourceStats |
trackIdentifier(java.lang.String trackIdentifier) |
default RTCAudioSourceStats |
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.
|
kind, relayedSource, setKind, setRelayedSource, setTrackIdentifier, trackIdentifier@JsOverlay @Nonnull static RTCAudioSourceStats 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="audioLevel") double audioLevel()
@JsProperty void setAudioLevel(double audioLevel)
@JsOverlay @Nonnull default RTCAudioSourceStats audioLevel(double audioLevel)
@JsProperty(name="echoReturnLoss") double echoReturnLoss()
@JsProperty void setEchoReturnLoss(double echoReturnLoss)
@JsOverlay @Nonnull default RTCAudioSourceStats echoReturnLoss(double echoReturnLoss)
@JsProperty(name="echoReturnLossEnhancement") double echoReturnLossEnhancement()
@JsProperty void setEchoReturnLossEnhancement(double echoReturnLossEnhancement)
@JsOverlay @Nonnull default RTCAudioSourceStats echoReturnLossEnhancement(double echoReturnLossEnhancement)
@JsProperty(name="totalAudioEnergy") double totalAudioEnergy()
@JsProperty void setTotalAudioEnergy(double totalAudioEnergy)
@JsOverlay @Nonnull default RTCAudioSourceStats totalAudioEnergy(double totalAudioEnergy)
@JsProperty(name="totalSamplesDuration") double totalSamplesDuration()
@JsProperty void setTotalSamplesDuration(double totalSamplesDuration)
@JsOverlay @Nonnull default RTCAudioSourceStats totalSamplesDuration(double totalSamplesDuration)
@JsOverlay @Nonnull default RTCAudioSourceStats kind(@Nonnull java.lang.String kind)
kind in interface RTCMediaSourceStats@JsOverlay @Nonnull default RTCAudioSourceStats relayedSource(boolean relayedSource)
relayedSource in interface RTCMediaSourceStats@JsOverlay @Nonnull default RTCAudioSourceStats trackIdentifier(@Nonnull java.lang.String trackIdentifier)
trackIdentifier in interface RTCMediaSourceStats@JsOverlay @Nonnull default RTCAudioSourceStats id(@Nonnull java.lang.String id)
id in interface RTCMediaSourceStatsid in interface RTCStats@JsOverlay @Nonnull default RTCAudioSourceStats timestamp(double timestamp)
timestamp in interface RTCMediaSourceStatstimestamp in interface RTCStats@JsOverlay @Nonnull default RTCAudioSourceStats type(@RTCStatsType @Nonnull java.lang.String type)
type in interface RTCMediaSourceStatstype in interface RTCStats