nix/ec-node: auto-bootstrap web bridge from local control peers
This commit is contained in:
parent
2778715304
commit
c9996dd5ad
4 changed files with 236 additions and 4 deletions
|
|
@ -55,7 +55,9 @@ Publish (node -> Cloudflare relay):
|
|||
cargo run -p ec-node -- wt-publish \
|
||||
--url https://cdn.moq.dev/anon \
|
||||
--name la-nbc \
|
||||
--input http://<hdhr-host>/auto/v4.1
|
||||
--input http://<hdhr-host>/auto/v4.1 \
|
||||
--control-announce \
|
||||
--control-endpoint-addr-out /tmp/la-nbc-control-endpoint.json
|
||||
```
|
||||
|
||||
Watch (web):
|
||||
|
|
@ -90,7 +92,7 @@ cargo run -p ec-node -- control-bridge-web \
|
|||
--gossip-peer <node-a-endpoint-addr-json>
|
||||
```
|
||||
|
||||
`control-announce`, `control-listen`, `control-resolve`, and `control-bridge-web` print both
|
||||
`wt-publish`, `control-announce`, `control-listen`, `control-resolve`, and `control-bridge-web` print both
|
||||
`control endpoint id` and `control endpoint addr` on startup. Use the `endpoint addr` JSON for
|
||||
`--gossip-peer` when bootstrapping.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue