Skip to content

Commit 3a394ca

Browse files
committed
support creality webrtc camera
1 parent f445d92 commit 3a394ca

6 files changed

Lines changed: 746 additions & 21 deletions

File tree

creality-discovery/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33
### Config Envs
44
- `CR_ID`: printer id, eg: `1234567890ABCD`
55
- `CR_IFACE`: which network interface to scan
6-
- `CR_PORTS`: tcp ports to forward, eg: `4408,8000`
6+
- `CR_PORTS`: tcp ports to forward, eg: `4408`
77
- `CR_INTERVAL`: how often to scan, eg: `10`
8+
- `CR_CAMERA`: enable camera WebRTC relay on port `8000`, default: `true`
9+
10+
When `CR_CAMERA` is enabled, open `http://<host>:8000` to view the printer
11+
camera. It forwards WebRTC traffic to `http://<printer-ip>:8000/call/webrtc_local`.
812

913
### Get `CR_ID`
1014
> Servel ways, eg: mobile app info, ssh or `Creality Print` desktip client

0 commit comments

Comments
 (0)