CanvasCaptureMediaStreamTrack class
The interface represents the video track contained in a
MediaStream being generated from a <canvas>
following a call
to HTMLCanvasElement.captureStream()
.
Part of the Media Capture and Streams API.
EventTarget
MediaStreamTrack
CanvasCaptureMediaStreamTrack
- Implemented types
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- CanvasCaptureMediaStreamTrack()
-
factory
Properties
- canvas → HTMLCanvasElement
-
Available on CanvasCaptureMediaStreamTrack, provided by the PropsCanvasCaptureMediaStreamTrack extension
no setter - contentHint ↔ String
-
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
getter/setter pair - enabled ↔ bool
-
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
no setter - isolated → bool
-
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
no setter - kind → String
-
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
no setter - label → String
-
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
no setter - muted → bool
-
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
no setter -
oncapturehandlechange
↔ EventHandlerNonNull<
Event> ? -
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
getter/setter pair -
onended
↔ EventHandlerNonNull<
Event> ? -
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
getter/setter pair -
onisolationchange
↔ EventHandlerNonNull<
Event> ? -
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
getter/setter pair -
onmute
↔ EventHandlerNonNull<
Event> ? -
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
getter/setter pair -
onunmute
↔ EventHandlerNonNull<
Event> ? -
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
getter/setter pair - readyState → MediaStreamTrackState
-
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
applyConstraints(
[MediaTrackConstraints? constraints]) → Future< void> -
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
-
clone(
) → dynamic -
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
-
dispatchEvent(
Event event) → bool -
Available on EventTarget, provided by the PropsEventTarget extension
-
getCapabilities(
) → MediaTrackCapabilities -
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
-
getCaptureHandle(
) → CaptureHandle? -
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
-
getConstraints(
) → MediaTrackConstraints -
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
-
getSettings(
) → MediaTrackSettings -
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
-
getSupportedCaptureActions(
) → Iterable< String> -
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
requestFrame(
) → void -
Available on CanvasCaptureMediaStreamTrack, provided by the PropsCanvasCaptureMediaStreamTrack extension
-
sendCaptureAction(
CaptureAction action) → Future< void> -
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
-
stop(
) → void -
Available on MediaStreamTrack, provided by the PropsMediaStreamTrack extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited