-
Notifications
You must be signed in to change notification settings - Fork 0
@ralphschuler.webgl shader factory.<internal>.MediaDevices
@ralphschuler/webgl-shader-factory.<internal>.MediaDevices
Provides access to connected media input devices like cameras and microphones, as well as screen sharing. In essence, it lets you obtain access to any hardware source of media data. Available only in secure contexts.
-
EventTarget
↳
MediaDevices
- addEventListener
- dispatchEvent
- enumerateDevices
- getDisplayMedia
- getSupportedConstraints
- getUserMedia
- removeEventListener
• ondevicechange: null
| (this
: MediaDevices
, ev
: Event
) => any
node_modules/typescript/lib/lib.dom.d.ts:14835
▸ addEventListener<K
>(type
, listener
, options?
): void
Name | Type |
---|---|
K |
extends "devicechange"
|
Name | Type |
---|---|
type |
K |
listener |
(this : MediaDevices , ev : MediaDevicesEventMap [K ]) => any
|
options? |
boolean | AddEventListenerOptions
|
void
EventTarget.addEventListener
node_modules/typescript/lib/lib.dom.d.ts:14844
▸ addEventListener(type
, listener
, options?
): void
Name | Type |
---|---|
type |
string |
listener |
EventListenerOrEventListenerObject |
options? |
boolean | AddEventListenerOptions
|
void
EventTarget.addEventListener
node_modules/typescript/lib/lib.dom.d.ts:14845
▸ dispatchEvent(event
): boolean
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
Name | Type |
---|---|
event |
Event |
boolean
EventTarget.dispatchEvent
node_modules/typescript/lib/lib.dom.d.ts:8217
▸ enumerateDevices(): Promise
<MediaDeviceInfo
[]>
Promise
<MediaDeviceInfo
[]>
node_modules/typescript/lib/lib.dom.d.ts:14837
▸ getDisplayMedia(options?
): Promise
<MediaStream
>
Name | Type |
---|---|
options? |
DisplayMediaStreamOptions |
Promise
<MediaStream
>
node_modules/typescript/lib/lib.dom.d.ts:14839
▸ getSupportedConstraints(): MediaTrackSupportedConstraints
MediaTrackSupportedConstraints
node_modules/typescript/lib/lib.dom.d.ts:14841
▸ getUserMedia(constraints?
): Promise
<MediaStream
>
Name | Type |
---|---|
constraints? |
MediaStreamConstraints |
Promise
<MediaStream
>
node_modules/typescript/lib/lib.dom.d.ts:14843
▸ removeEventListener<K
>(type
, listener
, options?
): void
Name | Type |
---|---|
K |
extends "devicechange"
|
Name | Type |
---|---|
type |
K |
listener |
(this : MediaDevices , ev : MediaDevicesEventMap [K ]) => any
|
options? |
boolean | EventListenerOptions
|
void
EventTarget.removeEventListener
node_modules/typescript/lib/lib.dom.d.ts:14846
▸ removeEventListener(type
, listener
, options?
): void
Name | Type |
---|---|
type |
string |
listener |
EventListenerOrEventListenerObject |
options? |
boolean | EventListenerOptions
|
void
EventTarget.removeEventListener
node_modules/typescript/lib/lib.dom.d.ts:14847
- @ralphschuler/ai-function-caller
- index
- types/AIFunction
- types/Message
- @ralphschuler/assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- error
- index
- util
- @ralphschuler/better-map
- @ralphschuler/better-set
- @ralphschuler/binary-serializer
- @ralphschuler/bit-mask
- @ralphschuler/complex-compare
- @ralphschuler/i811n
- @ralphschuler/logger
- Color
- ColorMap
- Logger
- animations/BallonAnimation
- animations/BaseAnimation
- animations/BombAnimation
- animations/BouncingBallAnimation
- animations/ClockAnimation
- animations/DotsAnimation
- animations/HorizontalBarAnimation
- animations/PongAnimation
- animations/ProgressAnimation
- animations/ProgressBarAnimation
- animations/SpinnerAnimation
- animations/VerticalBarAnimation
- enums/LogLevel
- index
- interfaces/IColor
- interfaces/IMessage
- types/ColorName
- types/Colors
- @ralphschuler/lsystem
- @ralphschuler/mixin-class-factory
- @ralphschuler/neuronal-network
- @ralphschuler/parser-combinator
- index
- inputTypes
- parser
- unicode
- @ralphschuler/prom-metrics-decorator
- @ralphschuler/prom-metrics-parser
- @ralphschuler/random
- PseudoRandomItemSelector
- PseudoRandomNumberGenerator
- Seed
- index
- strategies
- strategy
- strategy
- strategy
- strategy
- strategy
- strategy
- types
- type
- type
- type
- @ralphschuler/safe-array
- @ralphschuler/slot-mashine
- @ralphschuler/state-store
- StateStore
- index
- type
- type
- type
- type
- type
- type
- type
- type
- util
- @ralphschuler/stats-tracker
- @ralphschuler/ts-error
- error
- index
- type
- util
- util
- util
- util
- @ralphschuler/webgl-sand-engine
- index
- pixel-renderer
- @ralphschuler/webgl-shader-factory
- "node:stream/consumers"
- "node:stream/promises"
- ChatCompletionSnapshot
- Choice
- Message
- ToolCall
- EventEmitter
- FormData
- OpenAI
- OpenAI
- Audio
- Speech
- Transcriptions
- Translations
- Beta
- Assistants
- Assistant
- AssistantCreateParams
- AssistantUpdateParams
- Files
- Chat
- Threads
- Messages
- Files
- MessageContentImageFile
- MessageContentText
- Text
- FileCitation
- FilePath
- Runs
- RequiredActionFunctionToolCall
- Run
- RequiredAction
- RunCreateParams
- RunSubmitToolOutputsParams
- Steps
- CodeToolCall
- CodeInterpreter
- Image
- FunctionToolCall
- MessageCreationStepDetails
- RunStep
- ThreadCreateAndRunParams
- Thread
- ThreadCreateParams
- Chat
- Completions
- ChatCompletion
- ChatCompletionAssistantMessageParam
- ChatCompletionChunk
- Choice
- Delta
- ToolCall
- ChatCompletionContentPartImage
- ChatCompletionCreateParams
- ChatCompletionMessage
- ChatCompletionMessageToolCall
- ChatCompletionNamedToolChoice
- Completions
- CompletionChoice
- CompletionCreateParams
- Edits
- Edit
- Embeddings
- CreateEmbeddingResponse
- Files
- FineTunes
- FineTune
- FineTuneCreateParams
- FineTuneListEventsParams
- FineTuning
- Jobs
- FineTuningJob
- JobCreateParams
- Images
- Models
- Moderations
- Moderation
- internal
- finished
- pipeline
- "node:stream/consumers"
- "node:stream/promises"
- EventEmitter
- internal
- finished
- pipeline
- Counter
- Gauge
- Histogram
- Summary