chore: remove media-server from dev-env script
This commit is contained in:
parent
4443440f0f
commit
b3e816e028
@ -116,12 +116,8 @@ function Invoke-Start {
|
||||
Write-Host " [START] ffmpeg (bat窗口)" -ForegroundColor Green
|
||||
}
|
||||
|
||||
# 3. Media server (runs on RK3588, not local)
|
||||
Write-Banner "3/5 Media Server (3588 Edge)"
|
||||
Write-Host " [INFO] media-server 运行在 3588 上,不在本地启动" -ForegroundColor DarkGray
|
||||
|
||||
# 4. Mock alarm server (if uv available)
|
||||
Write-Banner "4/5 Mock Alarm Server"
|
||||
# 3. Mock alarm server (if uv available)
|
||||
Write-Banner "3/4 Mock Alarm Server"
|
||||
if (Get-Command uv -ErrorAction SilentlyContinue) {
|
||||
$alarmProc = Start-Process -FilePath "uv" `
|
||||
-ArgumentList "run", "--with", "flask", $mockAlarm `
|
||||
@ -134,7 +130,7 @@ function Invoke-Start {
|
||||
}
|
||||
|
||||
# 5. Management server (safesightd)
|
||||
Write-Banner "5/5 Management Server (safesightd)"
|
||||
Write-Banner "4/4 Management Server (safesightd)"
|
||||
if (Test-Path $safesightdExe) {
|
||||
Start-Process -FilePath $safesightdExe `
|
||||
-ArgumentList $safesightdConfig `
|
||||
@ -178,7 +174,6 @@ function Invoke-Stop {
|
||||
Write-Banner "停止所有模拟环境进程"
|
||||
Stop-ByName "mediamtx"
|
||||
Stop-ByName "ffmpeg"
|
||||
Stop-ByName "media-server"
|
||||
Stop-ByName "minio"
|
||||
Stop-ByName "safesightd"
|
||||
# Kill python mock_alarm if running
|
||||
|
||||
Loading…
Reference in New Issue
Block a user