Not documented.

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

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

bool enabled
read / write
String id
read-only
String kind
read-only
String label
read-only
bool muted
read-only
Events on
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.
Stream<Event> onEnded
read-only
Stream of ended events handled by this MediaStreamTrack.
Stream<Event> onMute
read-only
Stream of mute events handled by this MediaStreamTrack.
Stream<Event> onUnmute
read-only
Stream of unmute events handled by this MediaStreamTrack.
String readyState
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