diff --git a/docs/operate/get-started/other-hardware/hello-world-module.md b/docs/operate/get-started/other-hardware/hello-world-module.md index e65dc5c655..c93ba37d2c 100644 --- a/docs/operate/get-started/other-hardware/hello-world-module.md +++ b/docs/operate/get-started/other-hardware/hello-world-module.md @@ -577,7 +577,6 @@ First, implement the camera API methods by editing the camera class definition: 1. Delete the `SubscribeRTP` and `Unsubscribe` methods, since they are not applicable to this camera. 1. You can leave the rest of the functions not implemented, because this module is not meant to return a point cloud (`NextPointCloud`), and does not need to return multiple images simultaneously (`Images`). - If this camera returned a camera stream instead of a single static file, we would have implemented `Stream` instead of `Read`. However, you do need to edit the return statements to return empty structs that match the API. Edit these methods so they look like this: @@ -587,10 +586,6 @@ First, implement the camera API methods by editing the camera class definition: return nil, errors.New("not implemented") } - func (s *helloWorldHelloCamera) Stream(ctx context.Context, errHandlers ...gostream.ErrorHandler) (gostream.VideoStream, error) { - return nil, errors.New("not implemented") - } - func (s *helloWorldHelloCamera) Images(ctx context.Context) ([]camera.NamedImage, resource.ResponseMetadata, error) { return []camera.NamedImage{}, resource.ResponseMetadata{}, errors.New("not implemented") }