Interface: PreviewStreamParams
Properties
fftSize
• Optional
fftSize: number
getCurrentDevices
• getCurrentDevices: () => MediaDeviceInfoLike
[]
Type declaration
▸ (): MediaDeviceInfoLike
[]
Returns
MediaDeviceInfoLike
[]
getCurrentMedia
• getCurrentMedia: () => undefined
| Media
Type declaration
▸ (): undefined
| Media
Returns
undefined
| Media
mediaSignal
• mediaSignal: Signal
<Media
>
onEnded
• Optional
onEnded: () => void
Type declaration
▸ (): void
Returns
void
processors
• processors: MediaProcessor
[]
queueOptions
• Optional
queueOptions: Partial
<AsyncQueueOptions
>
updateMainStream
• updateMainStream: (request
: MediaDeviceRequest
) => Promise
<void
>
Type declaration
▸ (request
): Promise
<void
>
Parameters
Name | Type |
---|---|
request | MediaDeviceRequest |
Returns
Promise
<void
>