You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
************* Features ************* - Added stat in stats panel to show currently used audio/video codec. - Added audio bitrate in the stats panel. - Added toggle in the settings panel to force mono audio. - Added new info in stats panel to indicate input controlling mode. - Added Linux platform scripts for the Matchmaker/SFU. - Added npm commands for signalling server. `npm run $config -- $args` which will work across platforms (`$config` might be `start-signalling-server` and args might be `--debug`) ************* Bugfixes ************* - Fix matchmaker taking up to 45 seconds to display a valid server for use. - Fix regression where all browser audio was mono (default now stereo). - Fix Linux SFU and Signalling Server scripts not grabbing the public IP correctly. - Fix linux setup scripts not working when being run from a location that has a space in the path. - Fix SFU run_cloud.bat tries to call non-existent run.bat. - Fix being unable to type in console of a streamed application. - Fix docker scripts running only TURN when we needed both TURN and cirrus. - Fix docker scripts not starting correctly. ************* Refactors ************* - Bash scripts have been refactored for readability. #rb self #fyi Mattias.Jansson, Aidan.Possemiers #preflight https://horde.devtools.epicgames.com/job/628c894f5665463c21effaa9 [CL 20345056 by Luke Bermingham in ue5-main branch]
32 lines
1.0 KiB
Bash
Executable File
32 lines
1.0 KiB
Bash
Executable File
#!/bin/bash
|
|
# Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
source turn_user_pwd.sh
|
|
|
|
USETURN="false"
|
|
|
|
for arg do
|
|
shift
|
|
[ "${arg}" = "--with-turn" ] && USETURN="true" && continue
|
|
set -- "$@" "${arg}"
|
|
done
|
|
|
|
# Get stun server data for passing to the container
|
|
source common_utils.sh
|
|
if [ "${USETURN}" = "true" ]; then
|
|
set_start_default_values "y" "y" # Both TURN and STUN server defaults
|
|
else
|
|
set_start_default_values "n" "y" # Only STUN server defaults
|
|
fi
|
|
use_args "$@"
|
|
|
|
# Start docker container by name using host networking
|
|
if [ "${USETURN}" = "true" ]; then
|
|
peerConnectionOptions="{\""iceServers\"":[{\""urls\"":[\""stun:"${stunserver}"\"",\""turn":"${turnserver}\""],\""username\"":\""${turnusername}\"",\""credential\"":\""${turnpassword}\""}]}"
|
|
else
|
|
peerConnectionOptions="{\""iceServers\"":[{\""urls\"":[\""stun:"${stunserver}"\""]}]}"
|
|
fi
|
|
|
|
docker run --name cirrus_latest --network host --rm --entrypoint /usr/local/bin/node cirrus-webserver /opt/SignallingWebServer/cirrus.js --peerConnectionOptions="${peerConnectionOptions}" --publicIp="${publicip}"
|
|
|