webgpu
WebGPU tier of the VisionCamera → Fishjam adapter — render your own content into the published
video. Requires react-native-webgpu (an optional peer of this package; only this entry point
loads it).
- useVisionCameraWebGpuSource — the source hook: camera in, your WebGPU passes, published video out.
- Re-exports the WebGPU camera toolkit from
@fishjam-cloud/react-native-custom-video-source/webgpu—createCameraShaderBindings/sampleCamera,createCameraPassthroughPipeline, the cropping helpers, the shared camera-import device, and so on — so you can build your shaders alongside the hook.
Interfaces
- CameraPassthroughPipelineOptions
- CreateCameraShaderBindingsOptions
- UseCameraWebGpuDeviceResult
- UseVisionCameraWebGpuSourceOptions
- UseVisionCameraWebGpuSourceResult
Type Aliases
Functions
Hooks
WebGPU
- assertWebGpuDeviceSupportsCameraImport
- computeAspectFillCrop
- computeSquareCrop
- createCameraBindGroup
- createCameraPassthroughPipeline
- createCameraShaderBindings
- createCameraTextureResolver
- encodeCameraPassthrough
- getOutputSurfaceFormat
- getRequiredWebGpuCameraFeatures
- packFrameCropParams
- resolveCameraTexture
- useCameraWebGpuDevice
- CameraPassthroughPipeline
- CameraShaderBindings
- CameraTextureResolver
- FrameCrop
- WebGpuFrameRenderContext
- WebGpuFrameRenderFunction
- FrameCropParams
- sampleCamera