Type Alias WorkerBufferNodeParams<FillerParams>

WorkerBufferNodeParams<FillerParams>: TimedBufferNodeParams & {
    fillerParams: FillerParams;
}

Parameters for creating a worker buffer node. Used in the StreamNodeFactory.createWorkerBufferNode function.

Type Parameters

  • FillerParams

    The parameters used by the FrameBufferFiller in the worker.

Type declaration

  • ReadonlyfillerParams: FillerParams

    Parameters passed to the constructor when the Worker instantiates the FrameBufferFiller implementation class. Note: The values passed as FillerParams must be serializable (e.g., primitives, arrays, objects). Non-serializable values such as functions or DOM elements cannot be passed.