Skip to main content

connect_to_cameras

Function connect_to_cameras 

Source
pub async fn connect_to_cameras(
    service_context: &ServiceContext,
    external_publisher: ExternalEventPublisher,
) -> Result<Vec<DeviceProxy>, Error>
Expand description

Establishes connections to all fuchsia.camera3.Device instances by watching the camera ids and using them to connect to the devices.

Multiple cameras are not yet supported individually, and individual camera mute/unmute is not exposed, so all reported cameras are connected.