[ Documentation ]

peach camera

Replaces the live camera with a local video fixture (m4v, mov, mp4 or webm) that runs through the same frame pump and barcode detection as a device camera, or restores the live source. peach do scan injects a synthetic barcode result when there is no media.

terminal
peach camera play <file> [--loop] [--rate <number>]
peach camera stop
peach camera status [--json]

Options

flagdescription
--looploop fixture playback
--rate <n>fixture playback rate (default: 1)
--jsonprint status or result as JSON
--sim <sim>target a specific connected sim
--port <number>bridge port (defaults to 7668)

Examples

terminal
peach camera play ./fixtures/qr.mp4 --loop
peach camera status
peach camera stop