So, what the root cause for that? and i also had it, but that command(the printed line: Running: turnserver.exe -p -r PixelStreaming -X 127.0.0.1 -E DESKTOP-HI7F3V0 -L DESKTOP-HI7F3V0 --no-cli --no-tls --no-dtls --pidfile “turnserver.pid” -f -a -v -n -u ) i can run by command console/powershell on the coturn folder.
that is the issue of command string format or the variables? the following is from start_TURNSERVER.ps1.
$TurnUsername = “PixelStreamingUser”
$TurnPassword = “AnotherTURNintheroad”
$Realm = “PixelStreaming”
$ProcessExe = “turnserver.exe”
$Arguments = “-p $TurnPort -r $Realm -X $PublicIP -E 127.0.0.1 -L 127.0.0.1 --no-cli --no-tls --no-dtls --pidfile "C
:\coturn.pid
” -f -a -v -n -u $TurnUsername`:$TurnPassword"
Add arguments passed to script to Arguments for executable
$Arguments += $args
Push-Location $PSScriptRoot\coturn
Write-Output “Running: $ProcessExe $Arguments”
pause
Start-Process -FilePath $ProcessExe -ArgumentList “$Arguments” -NoNewWindow
The log:
Start_Common.ps1 is running with the following parameters:
TURN server : 127.0.0.1:
Public IP address : 127.0.0.1
Cirrus server command line arguments:
Private IP: DESKTOP-HI7F3V0
TURN port:
Running: turnserver.exe -p -r PixelStreaming -X 127.0.0.1 -E DESKTOP-HI7F3V0 -L DESKTOP-HI7F3V0 --no-cli --no-tls --no-dtls --pidfile “turnserver.pid” -f -a -v -n -u PixelStreamingUser:AnotherTURNintheroad
Start-Process : This command cannot be run due to the error: The system cannot find the file specified.
At E:\workshop\prj\unreal\multipleInst\build\WindowsNoEditor\Samples\PixelStreaming\WebServers\SignallingWebServer\plat
form_scripts\cmd\Start_TURNServer.ps1:35 char:1
- Start-Process -FilePath $ProcessExe -ArgumentList $Arguments -NoNewWi …
-
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand