DeviceSession/addCamera(config:) and is automatically stopped when the parent session stops (cascading stop); it can also be stopped individually via stop().
DeviceSession/addCamera(config:). The returned camera is attached to that device session and stops automatically when the parent device session stops.
class Camera: Sendable
state
: CameraState
[Get] |
The current lifecycle state of this camera.
|
statePublisher
: any Announcer<CameraState>
[Get] |
Publisher for camera lifecycle state changes.
|
stream
: Stream |
The video streaming child feature, owned by this camera.
Use it to receive real-time camera frames. Its lifecycle is bound to this camera: stopping the camera stops the stream.
|