sfu support added

This commit is contained in:
2023-04-20 09:01:10 +03:00
parent c5955ae067
commit 862e675324
4 changed files with 5 additions and 0 deletions
+1
View File
@@ -28,6 +28,7 @@ session_begin_port = 14000
session_limit = 5
webrtc_server_path = '../pixel-streaming-webrtc/WebServers/SignallingWebServer/cirrus.js'
sfu_server_path = '../pixel-streaming-webrtc/WebServers/SFU/sfu_server.js'
#app format ['title', 'path']
applications = [
+2
View File
@@ -23,6 +23,7 @@ database_name = config.local_database_name
session_begin_port = config.session_begin_port
session_limit = config.session_limit
webrtc_server_path = config.webrtc_server_path
sfu_server_path = config.sfu_server_path
session_server_postfix = config.session_server_postfix
applications = config.applications
@@ -42,6 +43,7 @@ print('DATABASE_NAME=', '"' + database_name + '"')
print('WEBRTC_PORT_BEGIN=', session_begin_port)
print('SESSION_LIMIT=', session_limit)
print('WEBRTC_SERVER_PATH=', '"' + webrtc_server_path + '"')
print('SFU_SERVER_PATH=', '"' + sfu_server_path + '"')
sys.stdout = stdout_default
output_file.close()
+1
View File
@@ -39,6 +39,7 @@ powershell.run_command('git submodule update', session_server_library)
session_server_root_dir = deploy_path + '/pixel-streaming-session-server'
powershell.run_command('npm install', session_server_root_dir)
powershell.run_command('npm install', deploy_path + '/pixel-streaming-webrtc/WebServers/SignallingWebServer')
powershell.run_command('npm install', deploy_path + '/pixel-streaming-webrtc/WebServers/SFU')
# configure session server
import configure
+1
View File
@@ -29,6 +29,7 @@ powershell.run_command('git pull ' + git_url_lib + ' master', session_server_lib
session_server_root_dir = deploy_path + '/pixel-streaming-session-server'
powershell.run_command('npm install', session_server_root_dir)
powershell.run_command('npm install', deploy_path + '/pixel-streaming-webrtc/WebServers/SignallingWebServer')
powershell.run_command('npm install', deploy_path + '/pixel-streaming-webrtc/WebServers/SFU')
# configure session server
import configure