control: add iroh gossip transport announcements and ec-node control CLI
This commit is contained in:
parent
fba1f3a7d5
commit
fe97623ba8
5 changed files with 494 additions and 23 deletions
14
README.md
14
README.md
|
|
@ -64,6 +64,20 @@ Watch (web):
|
|||
https://every.channel/watch?url=https%3A%2F%2Fcdn.moq.dev%2Fanon&name=la-nbc
|
||||
```
|
||||
|
||||
Control protocol (iroh gossip, relay + direct transport discovery):
|
||||
|
||||
```sh
|
||||
# Listener (on node A)
|
||||
cargo run -p ec-node -- control-listen --gossip-peer <node-b-endpoint-id>
|
||||
|
||||
# Announcer (on node B)
|
||||
cargo run -p ec-node -- control-announce \
|
||||
--stream-id la-nbc \
|
||||
--relay-url https://cdn.moq.dev/anon \
|
||||
--relay-broadcast la-nbc \
|
||||
--gossip-peer <node-a-endpoint-id>
|
||||
```
|
||||
|
||||
Coverage:
|
||||
|
||||
```sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue