|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| std::shared_ptr< Kakshya::CameraContainer > MayaFlux::Creator::read_camera | ( | const IO::CameraConfig & | config | ) |
Open a camera device as a live source container.
Opens via IOManager::open_camera() and returns the container, like read_audio() returns its container. Nothing is hooked until you pipe it into Graphics, or call IOManager::hook_camera_to_buffer().
| config | Device name, resolution hint, fps hint, format override. |
Definition at line 196 of file Creator.cpp.
References MayaFlux::Journal::API, MayaFlux::IO::CameraConfig::device_name, MayaFlux::get_io_manager(), MF_ERROR, MF_LIVE_EXPOSE_AUTO, and MayaFlux::Journal::Runtime.
Here is the call graph for this function: