enable_camera_streaming()
  • 1 Minute to read

enable_camera_streaming()


Article summary

Enable the HTTPs streaming of the specified camera.

Cameras stream through the port 8080. You can access the streaming from browser by accessing the following link template:

http://localhost:8080/raya/cameras/stream/<camera_name>

Cameras localhost links:

CameraStreaming link
navhttp://localhost:8080/raya/cameras/stream/nav
chesthttp://localhost:8080/raya/cameras/stream/chest
armhttp://localhost:8080/raya/cameras/stream/arm

Reference

Arguments

ArgumentType
camera_namestringName of the camera, see the list of cameras

Return

None

Exceptions

ExceptionCondition
RayaCamerasExceptionCouldn't enable streaming.

See the Full List of Exceptions.

Examples

1. Enabling the 'chest' camera

...
self.cameras = await self.enable_controller('cameras')
...
self.cameras.enable_camera_streaming('chest')
...

Then, open http://localhost:8080/raya/cameras/stream/chest.


Was this article helpful?