class Streamer
Defined at line 20 of file ../../src/camera/bin/factory/streamer.h
A class that manages a video stream from a camera
Public Methods
void Streamer ()
Defined at line 15 of file ../../src/camera/bin/factory/streamer.cc
void ~Streamer ()
Defined at line 17 of file ../../src/camera/bin/factory/streamer.cc
fpromise::result<std::unique_ptr<Streamer>, zx_status_t> Create (fuchsia::sysmem2::AllocatorHandle allocator, fuchsia::camera3::DeviceWatcherHandle watcher, fit::closure stop_callback)
Make a streamer and start its thread
Defined at line 22 of file ../../src/camera/bin/factory/streamer.cc
uint32_t NumConfigs ()
once connected to device, return the number of available configs
Defined at line 264 of file ../../src/camera/bin/factory/streamer.cc
uint32_t ConnectedConfig ()
if connected, return the connected config index
Defined at line 265 of file ../../src/camera/bin/factory/streamer.cc
uint32_t NumConnectedStreams ()
if connected to a config, return the number of currently connected streams (all are attempted)
Defined at line 266 of file ../../src/camera/bin/factory/streamer.cc
void RequestConfig (uint32_t config)
request a switch to another config index
Defined at line 238 of file ../../src/camera/bin/factory/streamer.cc
void RequestCapture (uint32_t stream, const std::string & path, bool wantImage, CaptureResponse response)
request a frame capture; the next available frame will be written to flash
Defined at line 243 of file ../../src/camera/bin/factory/streamer.cc