`outgoing.enabled` was one switch for the whole list of places a camera publishes to. Each destination has carried its own since OpenIPC/majestic#701, and the section switch was removed rather than kept as a second gate — so this line writes a key nothing reads. majestic strips it from the tree on load and the next save drops it from the file. The `.outgoing.server` line below it stays and is untouched: `cli` edits majestic.yaml directly, majestic converts that address into a row of its destination list on load, and the camera publishes exactly as before. There is no way to write a list element through yaml-cli — its path validator rejects the brackets — so the single-address spelling is the one this script must keep using.
10 lines
235 B
Bash
10 lines
235 B
Bash
#!/bin/sh
|
|
cli -s .isp.exposure 15
|
|
cli -s .video0.fps 60
|
|
cli -s .video0.bitrate 12000
|
|
cli -s .video0.codec h265
|
|
cli -s .video0.rcMode avbr
|
|
cli -s .outgoing.server udp://224.0.0.1:5600
|
|
cli -s .records.split 5
|
|
cli -s .records.notime true
|