Interface: CreateCameraFrameProcessorSessionOptions
Defined in: react-native/webgpu/cameraFrameProcessorSession.ts:64
Properties​
cameraShaderBindings?​
optionalcameraShaderBindings:CameraShaderBindings
Defined in: react-native/webgpu/cameraFrameProcessorSession.ts:81
Camera shader bindings built with createCameraShaderBindings — always with
cameraPixelLayout: 'rgb': the Fishjam camera tap delivers RGB on every platform (on Android
it converts the camera texture before handing it over). When set, the render context
carries a ready-made cameraBindGroup for the live camera texture every frame.
device​
device:
GPUDevice
Defined in: react-native/webgpu/cameraFrameProcessorSession.ts:68
The shared, camera-import-capable GPUDevice (see useCameraWebGpuDevice).
frameKernel​
frameKernel:
CameraFrameKernel
Defined in: react-native/webgpu/cameraFrameProcessorSession.ts:83
The per-frame drawing worklet. See CameraFrameKernel.
height​
height:
number
Defined in: react-native/webgpu/cameraFrameProcessorSession.ts:72
Height of the published video, in pixels.
poolSize?​
optionalpoolSize:number
Defined in: react-native/webgpu/cameraFrameProcessorSession.ts:74
Number of in-flight output surfaces. Defaults to 3.
track​
track:
MediaStreamTrack
Defined in: react-native/webgpu/cameraFrameProcessorSession.ts:66
Fishjam's own raw camera track, from useCamera's middleware.
width​
width:
number
Defined in: react-native/webgpu/cameraFrameProcessorSession.ts:70
Width of the published video, in pixels.