disable_streaming()


Disable the streaming of the specified camera.

Reference

Arguments

Argument

Type

camera_name

str

Name of the camera

Return

None

Exceptions

  • RayaCameraInvalidName

See the complete list of cameras exceptions.

Usage Example

1. Enabling the ‘chest’ camera

...
self.cameras = await self.enable_controller('cameras')
port, protocol, path = await self.cameras.enable_streaming('chest')
...
await self.cameras.disable_streaming('chest')
...