@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="RTCRtpReceiver")
public class RTCRtpReceiver
extends JsObject
| Modifier | Constructor and Description |
|---|---|
protected |
RTCRtpReceiver() |
| Modifier and Type | Method and Description |
|---|---|
static @JsNullable RTCRtpCapabilities |
getCapabilities(java.lang.String kind)
The static function RTCRtpReceiver.getCapabilities() returns an RTCRtpCapabilities object describing the codecs and capabilities supported by RTCRtpReceivers on the current device.
|
@JsNonNull JsArray<RTCRtpContributingSource> |
getContributingSources()
The getContributingSources() method of the RTCRtpReceiver interface returns an array of RTCRtpContributingSource instances, each corresponding to one CSRC (contributing source) identifier received by the current RTCRtpReceiver in the last ten seconds.
|
@JsNonNull RTCRtpReceiveParameters |
getParameters()
The getParameters() method of the RTCRtpReceiver interface returns an RTCRtpReceiveParameters object describing the current configuration for the encoding and transmission of media on the receiver's track.
|
@JsNonNull Promise<RTCStatsReport> |
getStats()
The RTCRtpReceiver method getStats() asynchronously requests an RTCStatsReport object which provides statistics about incoming traffic on the owning RTCPeerConnection, returning a Promise whose fulfillment handler will be called once the results are available.
|
@JsNonNull JsArray<RTCRtpSynchronizationSource> |
getSynchronizationSources()
The getSynchronizationSources() method of the RTCRtpReceiver interface returns an array of RTCRtpContributingSource instances, each corresponding to one SSRC (synchronization source) identifier received by the current RTCRtpReceiver in the last ten seconds.
|
MediaStreamTrack |
track()
The track read-only property of the RTCRtpReceiver interface returns the MediaStreamTrack associated with the current RTCRtpReceiver instance.
|
RTCDtlsTransport |
transport()
The read-only transport property of an RTCRtpReceiver object provides the RTCDtlsTransport object used to interact with the underlying transport over which the receiver is exchanging Real-time Transport Control Protocol (RTCP) packets.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, values@JsProperty(name="track") @Nonnull public MediaStreamTrack track()
@JsProperty(name="transport") @Nullable public RTCDtlsTransport transport()
public static @JsNullable RTCRtpCapabilities getCapabilities(@Nonnull java.lang.String kind)
public @JsNonNull JsArray<RTCRtpContributingSource> getContributingSources()
public @JsNonNull RTCRtpReceiveParameters getParameters()
public @JsNonNull Promise<RTCStatsReport> getStats()
public @JsNonNull JsArray<RTCRtpSynchronizationSource> getSynchronizationSources()