From 5319f9ed475b2fc7686b600e119e72bb02f1a121 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Fri, 9 Dec 2022 00:46:11 +0100 Subject: [PATCH] update readme add instructions on how to compile with Raspberry Pi camera support --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3450bf5c..06b3d326 100644 --- a/README.md +++ b/README.md @@ -490,16 +490,26 @@ go tool pprof -text http://localhost:9999/debug/pprof/profile?seconds=30 Install Go 1.18, download the repository, open a terminal in it and run: -``` +```sh go run . ``` -You can perform the entire operation inside Docker: +Compilation for all supported platform can be launched by using: -``` +```sh make binaries ``` +In order to compile and run with support for the Raspberry Pi Camera: + +```sh +cd internal/rpicamera/exe +make +cd ../../../ +go build -tags rpicamera +./rtsp-simple-server +``` + ## Publish to the server ### From a webcam