@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="RTCTrackEvent")
public class RTCTrackEvent
extends Event
AT_TARGET, BUBBLING_PHASE, cancelBubble, CAPTURING_PHASE, NONE, returnValue| Constructor and Description |
|---|
RTCTrackEvent(java.lang.String type,
RTCTrackEventInit eventInitDict)
The RTCTrackEvent() constructor creates and returns a new RTCTrackEvent object, configured to describe the track which has been added to the RTCPeerConnection.
|
| Modifier and Type | Method and Description |
|---|---|
RTCRtpReceiver |
receiver()
The read-only receiver property of the RTCTrackEvent interface indicates the RTCRtpReceiver which is used to receive data containing media for the track to which the event refers.
|
JsArray<MediaStream> |
streams()
The WebRTC API interface RTCTrackEvent's read-only streams property specifies an array of MediaStream objects, one for each of the streams that comprise the track being added to the RTCPeerConnection.
|
MediaStreamTrack |
track()
The WebRTC API interface RTCTrackEvent's read-only track property specifies the MediaStreamTrack that has been added to the RTCPeerConnection.
|
RTCRtpTransceiver |
transceiver()
The WebRTC API interface RTCTrackEvent's read-only transceiver property indicates the RTCRtpTransceiver affiliated with the event's track.
|
bubbles, cancelable, composed, composedPath, currentTarget, defaultPrevented, eventPhase, initEvent, initEvent, initEvent, isTrusted, preventDefault, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, typeassign, 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_, valuespublic RTCTrackEvent(@Nonnull
java.lang.String type,
@Nonnull
RTCTrackEventInit eventInitDict)
@JsProperty(name="receiver") @Nonnull public RTCRtpReceiver receiver()
@JsProperty(name="streams") @Nonnull public JsArray<MediaStream> streams()
@JsProperty(name="track") @Nonnull public MediaStreamTrack track()
@JsProperty(name="transceiver") @Nonnull public RTCRtpTransceiver transceiver()