@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface RTCTrackEventInit
extends EventInit
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RTCTrackEventInit.Builder
The RTCTrackEvent() constructor creates and returns a new RTCTrackEvent object, configured to describe the track which has been added to the RTCPeerConnection.
|
static interface |
RTCTrackEventInit.Step1 |
static interface |
RTCTrackEventInit.Step2 |
| Modifier and Type | Method and Description |
|---|---|
@JsNonNull RTCRtpReceiver |
receiver()
The RTCTrackEventInit dictionary's receiver property specifies the RTCRtpReceiver associated with the event.
|
static RTCTrackEventInit.Step1 |
receiver(RTCRtpReceiver receiver) |
void |
setReceiver(@JsNonNull RTCRtpReceiver receiver)
The RTCTrackEventInit dictionary's receiver property specifies the RTCRtpReceiver associated with the event.
|
void |
setStreams(@JsNonNull JsArray<MediaStream> streams)
The RTCTrackEventInit dictionary's optional streams property provides an array containing a MediaStream object for each of the streams associated with the event's track.
|
default void |
setStreams(MediaStream... streams)
The RTCTrackEventInit dictionary's optional streams property provides an array containing a MediaStream object for each of the streams associated with the event's track.
|
void |
setTrack(@JsNonNull MediaStreamTrack track)
The RTCTrackEventInit dictionary's track property specifies the MediaStreamTrack associated with the track event.
|
void |
setTransceiver(@JsNonNull RTCRtpTransceiver transceiver) |
JsArray<MediaStream> |
streams()
The RTCTrackEventInit dictionary's optional streams property provides an array containing a MediaStream object for each of the streams associated with the event's track.
|
@JsNonNull MediaStreamTrack |
track()
The RTCTrackEventInit dictionary's track property specifies the MediaStreamTrack associated with the track event.
|
@JsNonNull RTCRtpTransceiver |
transceiver() |
bubbles, cancelable, composed, of, setBubbles, setCancelable, setComposed@JsOverlay @Nonnull static RTCTrackEventInit.Step1 receiver(@Nonnull RTCRtpReceiver receiver)
@JsProperty(name="receiver") @JsNonNull RTCRtpReceiver receiver()
@JsProperty void setReceiver(@JsNonNull RTCRtpReceiver receiver)
@JsProperty(name="track") @JsNonNull MediaStreamTrack track()
@JsProperty void setTrack(@JsNonNull MediaStreamTrack track)
@JsProperty(name="transceiver") @JsNonNull RTCRtpTransceiver transceiver()
@JsProperty void setTransceiver(@JsNonNull RTCRtpTransceiver transceiver)
@JsProperty(name="streams") JsArray<MediaStream> streams()
@JsProperty void setStreams(@JsNonNull JsArray<MediaStream> streams)
@JsOverlay
default void setStreams(@Nonnull
MediaStream... streams)