streamd: serve start/stop/update, streamd.yaml, egress, module panel fixes
- Add streamd serve start|stop|restart|status|update with auto-written streamd.yaml - Panel modules: STREAMD_MODULES_DIR for describe, YAML channel fallback, textarea value fix - Per-stream WireGuard/SOCKS egress profiles + Settings UI - Drop drm-* from release builds; track streamd-bg.sh / streamd-update.sh wrappers - Docs: streamd-server-setup lifecycle and update flow
This commit is contained in:
parent
da8e1123ec
commit
8fc7e4c0b8
57 changed files with 4031 additions and 257 deletions
|
|
@ -117,6 +117,20 @@ export const api = {
|
|||
patchSchedule: (sid, body) => api.patch(`/api/schedules/${sid}`, body),
|
||||
deleteSchedule: (sid) => api.del(`/api/schedules/${sid}`),
|
||||
|
||||
// --- egress tunnels ---
|
||||
egress: () => api.get("/api/egress"),
|
||||
egressProfiles: () => api.get("/api/egress"),
|
||||
egressProfile: (name) => api.get(`/api/egress/${encodeURIComponent(name)}`),
|
||||
createEgress: (body) => api.post("/api/egress", body),
|
||||
saveEgress: (name, body) => api.put(`/api/egress/${encodeURIComponent(name)}`, body),
|
||||
updateEgress: (name, body) => api.put(`/api/egress/${encodeURIComponent(name)}`, body),
|
||||
deleteEgress: (name) => api.del(`/api/egress/${encodeURIComponent(name)}`),
|
||||
egressUp: (name) => api.post(`/api/egress/${encodeURIComponent(name)}/up`),
|
||||
egressDown: (name) => api.post(`/api/egress/${encodeURIComponent(name)}/down`),
|
||||
egressTest: (name) => api.post(`/api/egress/${encodeURIComponent(name)}/test`),
|
||||
egressConf: (name, conf) =>
|
||||
api.put(`/api/egress/${encodeURIComponent(name)}/conf`, { conf }),
|
||||
|
||||
// --- admin ---
|
||||
settings: () => api.get("/api/settings"),
|
||||
saveSettings: (body) => api.put("/api/settings", body),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue