Skip to main content
Version: Next

Interface: ManagedPooledTrack

Defined in: src/internal/useManagedPooledTrack.ts:26

State of a pooled custom video track managed by useManagedPooledTrack. While the pool and track are being created (or after an error) all fields are null.

Properties​

bufferDescriptors​

bufferDescriptors: null | WorkletBufferDescriptor[]

Defined in: src/internal/useManagedPooledTrack.ts:30

Plain per-surface descriptors (the pool object itself is not worklet-serializable).


error​

error: null | Error

Defined in: src/internal/useManagedPooledTrack.ts:31


stream​

stream: null | MediaStream

Defined in: src/internal/useManagedPooledTrack.ts:28


track​

track: null | PooledTrack

Defined in: src/internal/useManagedPooledTrack.ts:27