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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

ensureForegroundService() Future<void>
Ensures foreground service is running to support receiving microphone input when application is in background.
ensureReconnected() Future<void>
Reconnects the current jason instance, if any is initialized.
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
setLogLevel(LogLevel level) Future<void>
Changes the log level of the medea_jason package.
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