feat: add Windows edge node launcher
This commit is contained in:
1 parent
da01967c2e
commit
57b00affbd
2 files changed
+100
No files matched your search
@@ -52,6 +52,22 @@ nvidia-smi
|
||||
|
||||
If browser or network tests run from another machine, open the Windows firewall for ports 5173, 8080, 1935, and 8888.
|
||||
|
||||
## Windows edge node launcher
|
||||
|
||||
Build and start an edge node from a Windows edge machine:
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File .\edge-agent\start-edge.ps1 -Build -OriginUrl http://<origin-host>:8080 -NodeId edge-win-01 -Region default -HlsPort 8889 -ApiPort 9997
|
||||
```
|
||||
|
||||
For normal subsequent starts, omit `-Build`:
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File .\edge-agent\start-edge.ps1 -OriginUrl http://<origin-host>:8080 -NodeId edge-win-01 -Region default -HlsPort 8889 -ApiPort 9997
|
||||
```
|
||||
|
||||
The launcher sets the StreamCore edge environment variables, starts the Windows edge-agent executable, stores runtime data under `ProgramData\StreamCore\edge\<node-id>` by default, and writes logs to that node data directory. The edge agent then manages its embedded MediaMTX edge process.
|
||||
|
||||
## Edge node scripts
|
||||
|
||||
```cmd
|
||||
|
||||
Reference in new issue
Block a user