@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 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.
|
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.
|
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.
|
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.
|
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()
@Nullable public static RTCRtpCapabilities getCapabilities(@Nonnull java.lang.String kind)
@Nonnull public JsArray<RTCRtpContributingSource> getContributingSources()
@Nonnull public RTCRtpReceiveParameters getParameters()
@Nonnull public Promise<RTCStatsReport> getStats()
@Nonnull public JsArray<RTCRtpSynchronizationSource> getSynchronizationSources()