Skip to content

Commit

Permalink
feat: add the endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
owulveryck committed Dec 23, 2021
1 parent 5901f6f commit 9eb3124
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,15 @@ Note: The processus is fault tolerant and should resume automatically on sleep/w

- Point your browser to [`http://localhost:8080/`](http://localhost:8080/)

Note: click on the video to take a screenshot. The screenshot is a png file with transparent background.
The client exposes those endpoints:

_Note_: there is also an experimental (and ugly) [/conf`](http://localhost:8080/conf) endpoint to activate some features on the fly.
- `/screenshot` takes a screenshot in png
- `/orientation?orientation=[landscape|portrait]` to change the orientation
- `/conf` ugly and incomplete configuration panel
- `/gob` to get a gob encoded picture (for development purpose)
- `/raw` to get a raw picture (a gray bitmap image)

_Note_: click on the video to take a screenshot. The screenshot is a png file with transparent background.

### Configuration

Expand Down

0 comments on commit 9eb3124

Please sign in to comment.