Browse Source

update readme

pull/970/head
aler9 4 years ago
parent
commit
50a3d331d7
  1. 17
      README.md

17
README.md

@ -514,26 +514,25 @@ go tool pprof -text http://localhost:9999/debug/pprof/profile?seconds=30
### Compile and run from source ### Compile and run from source
Install Go 1.18, download the repository, open a terminal in it and run: Install Go ≥ 1.18, download the repository, open a terminal in it and run:
```sh ```sh
go run . go run .
``` ```
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: In order to compile and run with support for the Raspberry Pi Camera:
```sh ```sh
cd internal/rpicamera/exe cd internal/rpicamera/exe
make make
cd ../../../ cd ../../../
go build -tags rpicamera go run -tags rpicamera .
./rtsp-simple-server ```
Compilation for all supported platform can be launched by using:
```sh
make binaries
``` ```
## Publish to the server ## Publish to the server

Loading…
Cancel
Save