@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="RTCRtpContributingSource")
public interface RTCRtpContributingSource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RTCRtpContributingSource.Builder
The RTCRtpContributingSource dictionary of the WebRTC API is used by getContributingSources() to provide information about a given contributing source (CSRC), including the most recent time a packet that the source contributed was played out.
|
| Modifier and Type | Method and Description |
|---|---|
double |
audioLevel()
The read-only audioLevel property of the RTCRtpContributingSource interface indicates the audio level contained in the last RTP packet played from the described source.
|
static RTCRtpContributingSource.Builder |
create(int rtpTimestamp,
int source,
double timestamp) |
int |
rtpTimestamp()
The read-only rtpTimestamp property of the RTCRtpContributingSource interface returns a DOMHighResTimeStamp indicating the source-generated time at which the media contained int he packet was first sampled or obtained.
|
void |
setAudioLevel(double audioLevel)
The read-only audioLevel property of the RTCRtpContributingSource interface indicates the audio level contained in the last RTP packet played from the described source.
|
void |
setRtpTimestamp(int rtpTimestamp)
The read-only rtpTimestamp property of the RTCRtpContributingSource interface returns a DOMHighResTimeStamp indicating the source-generated time at which the media contained int he packet was first sampled or obtained.
|
void |
setSource(int source)
The read-only source property of the RTCRtpContributingSource interface returns the source identifier of a particular stream of RTP packets.
|
void |
setTimestamp(double timestamp)
The read-only timestamp property of the RTCRtpContributingSource interface returns a DOMHighResTimeStamp indicating the most recent time of playout of an RTP packet from the source.
|
int |
source()
The read-only source property of the RTCRtpContributingSource interface returns the source identifier of a particular stream of RTP packets.
|
double |
timestamp()
The read-only timestamp property of the RTCRtpContributingSource interface returns a DOMHighResTimeStamp indicating the most recent time of playout of an RTP packet from the source.
|
@JsOverlay @Nonnull static RTCRtpContributingSource.Builder create(int rtpTimestamp, int source, double timestamp)
@JsProperty(name="audioLevel") double audioLevel()
@JsProperty void setAudioLevel(double audioLevel)
@JsProperty(name="rtpTimestamp") int rtpTimestamp()
@JsProperty void setRtpTimestamp(int rtpTimestamp)
@JsProperty(name="source") int source()
@JsProperty void setSource(int source)
@JsProperty(name="timestamp") double timestamp()
@JsProperty void setTimestamp(double timestamp)