Not documented.

Inheritance
Annotations
  • DocsEditable()
  • DomName('MediaStreamTrack')
  • SupportedBrowser(SupportedBrowser.CHROME)
  • Experimental()

Constants

EventStreamProvider<Event> endedEvent = const EventStreamProvider<Event>('ended')
const

Static factory designed to expose ended events to event handlers that are not necessarily instances of MediaStreamTrack.

EventStreamProvider<Event> muteEvent = const EventStreamProvider<Event>('mute')
const

Static factory designed to expose mute events to event handlers that are not necessarily instances of MediaStreamTrack.

EventStreamProvider<Event> unmuteEvent = const EventStreamProvider<Event>('unmute')
const

Static factory designed to expose unmute events to event handlers that are not necessarily instances of MediaStreamTrack.

Static Methods

getSources() → Future<List<SourceInfo>>

Properties

enabled bool
read / write

id String
read-only

kind String
read-only

label String
read-only

muted bool
read-only

on Events
read-only, inherited

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

onEnded Stream<Event>
read-only

Stream of ended events handled by this MediaStreamTrack.

onMute Stream<Event>
read-only

Stream of mute events handled by this MediaStreamTrack.

onUnmute Stream<Event>
read-only

Stream of unmute events handled by this MediaStreamTrack.

readyState String
read-only

Methods

addEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited

clone() → MediaStreamTrack

dispatchEvent(Event event) → bool
inherited

removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited

stop() → void