Azure rendering solution deployment framework

This commit is contained in:
Rick Shahid 2023-07-06 18:11:05 -07:00
Родитель 27a02936e0
Коммит 286facaa42
2 изменённых файлов: 7 добавлений и 6 удалений

Просмотреть файл

@ -316,11 +316,11 @@ if ($renderEngines -contains "Unreal" -or $renderEngines -contains "Unreal+Pixel
$downloadUrl = "$binStorageHost/Unreal/PixelStream/$versionInfo/$installFile$binStorageAuth"
(New-Object System.Net.WebClient).DownloadFile($downloadUrl, (Join-Path -Path $pwd.Path -ChildPath $installFile))
Expand-Archive -Path $installFile
$installFile = "UE$versionInfo\PixelStreamingInfrastructure-$versionInfo\SignallingWebServer\platform_scripts\cmd\setup.bat"
$installFile = "UE$versionInfo\PixelStreamingInfrastructure-UE$versionInfo\SignallingWebServer\platform_scripts\cmd\setup.bat"
StartProcess .\$installFile $null $installType-signalling
$installFile = "UE$versionInfo\PixelStreamingInfrastructure-$versionInfo\Matchmaker\platform_scripts\cmd\setup.bat"
$installFile = "UE$versionInfo\PixelStreamingInfrastructure-UE$versionInfo\Matchmaker\platform_scripts\cmd\setup.bat"
StartProcess .\$installFile $null $installType-matchmaker
$installFile = "UE$versionInfo\PixelStreamingInfrastructure-$versionInfo\SFU\platform_scripts\cmd\setup.bat"
$installFile = "UE$versionInfo\PixelStreamingInfrastructure-UE$versionInfo\SFU\platform_scripts\cmd\setup.bat"
StartProcess .\$installFile $null $installType-sfu
Write-Host "Customize (End): Unreal Pixel Streaming"
}

Просмотреть файл

@ -218,6 +218,7 @@ if [[ $renderEngines == *Unreal* ]] || [[ $renderEngines == *Unreal+PixelStream*
if [[ $renderEngines == *Unreal+PixelStream* ]]; then
echo "Customize (Start): Unreal Pixel Streaming"
dnf -y install epel-release
dnf -y install coturn
versionInfo="5.2-0.6.5"
installType="unreal-stream"
@ -225,13 +226,13 @@ if [[ $renderEngines == *Unreal* ]] || [[ $renderEngines == *Unreal+PixelStream*
downloadUrl="$binStorageHost/Unreal/PixelStream/$versionInfo/$installFile$binStorageAuth"
curl -o $installFile -L $downloadUrl
tar -xzf $installFile
installFile="PixelStreamingInfrastructure-$versionInfo/SignallingWebServer/platform_scripts/bash/setup.sh"
installFile="PixelStreamingInfrastructure-UE$versionInfo/SignallingWebServer/platform_scripts/bash/setup.sh"
chmod +x $installFile
./$installFile 2>&1 | tee $installType-signalling.log
installFile="PixelStreamingInfrastructure-$versionInfo/Matchmaker/platform_scripts/bash/setup.sh"
installFile="PixelStreamingInfrastructure-UE$versionInfo/Matchmaker/platform_scripts/bash/setup.sh"
chmod +x $installFile
./$installFile 2>&1 | tee $installType-matchmaker.log
installFile="PixelStreamingInfrastructure-$versionInfo/SFU/platform_scripts/bash/setup.sh"
installFile="PixelStreamingInfrastructure-UE$versionInfo/SFU/platform_scripts/bash/setup.sh"
chmod +x $installFile
./$installFile 2>&1 | tee $installType-sfu.log
echo "Customize (End): Unreal Pixel Streaming"