Skip to main content

Interface: PreviewStreamParams

Properties

audioProcessors

audioProcessors: TrackProcessor[]


fftSize

Optional fftSize: number


getCurrentDevices

getCurrentDevices: () => IndexedDevices

Type declaration

▸ (): IndexedDevices

Returns

IndexedDevices


getCurrentMedia

getCurrentMedia: () => undefined | Media

Type declaration

▸ (): undefined | Media

Returns

undefined | Media


mediaSignal

mediaSignal: Signal<undefined | Media>


onEnded

Optional onEnded: () => void

Type declaration

▸ (): void

Returns

void


queueOptions

Optional queueOptions: Partial<AsyncQueueOptions>


updateMainStream

updateMainStream: (request: MediaDeviceRequest) => Promise<void>

Type declaration

▸ (request): Promise<void>

Parameters
NameType
requestMediaDeviceRequest
Returns

Promise<void>


videoProcessors

videoProcessors: TrackProcessor[]