enable_camera_streaming()
- 1 Minute to read
enable_camera_streaming()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
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:
Camera | Streaming link |
---|---|
nav | http://localhost:8080/raya/cameras/stream/nav |
chest | http://localhost:8080/raya/cameras/stream/chest |
arm | http://localhost:8080/raya/cameras/stream/arm |
Reference
Arguments
Argument | Type | |
---|---|---|
camera_name | string | Name of the camera, see the list of cameras |
Return
None
Exceptions
Exception | Condition |
---|---|
RayaCamerasException | Couldn'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?