MediaUtilsImpl class

Helper providing direct access to media related resources like media devices, media tracks, etc.

Constructors

MediaUtilsImpl()

Properties

hashCode int
The hash code for this object.
no setterinherited
jason FutureOr<Jason?>
Returns the Jason instance of these MediaUtils.
no setter
onDeviceChange Stream<List<DeviceDetails>>
Returns a Stream of the DeviceDetails changes.
no setter
onDisplayChange Stream<List<MediaDisplayDetails>>
Returns a Stream of the MediaDisplayDetails changes.
no setter
outputDeviceId RxnString
ID of the currently used output device.
final
outputGuard Mutex
Mutex guarding synchronized output device updating.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

enumerateDevices([MediaDeviceKind? kind]) Future<List<DeviceDetails>>
Returns the DeviceDetails currently available with the provided kind, if specified.
enumerateDisplays() Future<List<MediaDisplayDetails>>
Returns the currently available MediaDisplayDetails.
getTracks({AudioPreferences? audio, VideoPreferences? video, ScreenPreferences? screen}) Future<List<LocalMediaTrack>>
Returns LocalMediaTracks of the audio, video and screen devices.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setOutputDevice(String deviceId) Future<void>
Sets device with deviceId as a currently used output device.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited