34 lines
1.2 KiB
JavaScript
34 lines
1.2 KiB
JavaScript
require('dotenv').config()
|
|
|
|
module.exports = {
|
|
port: parseInt(process.env.PORT),
|
|
external_domain: process.env.EXTERNAL_DOMAIN,
|
|
coordinator_url: process.env.COORDINATOR_URL,
|
|
database_url: process.env.DATABASE_URL,
|
|
database_name: process.env.DATABASE_NAME,
|
|
webrtc_port_begin: parseInt(process.env.WEBRTC_PORT_BEGIN),
|
|
session_limit: parseInt(process.env.SESSION_LIMIT),
|
|
log_path: "./logs/runtime.log",
|
|
webrtc_server_path: process.env.WEBRTC_SERVER_PATH,
|
|
sfu_server_path: process.env.SFU_SERVER_PATH,
|
|
app_args: {
|
|
runtime: {
|
|
port: "-PixelStreamingPort="
|
|
},
|
|
static: [
|
|
"-PixelStreamingIP=127.0.0.1",
|
|
"-RenderOffScreen",
|
|
"-ForceRes",
|
|
"-ResX=1920",
|
|
"-ResY=1080",
|
|
"-Unattended",
|
|
"-MaxFPS=30",
|
|
"-PixelStreamingWebRTCMaxFps=30",
|
|
"-PixelStreamingWebRTCDisableAudioSync",
|
|
"-PixelStreamingHideCursor=true",
|
|
"-PixelStreamingKeyFilter=ESC, CTRL",
|
|
"-SimulcastParameters=1.0,5000000,100000000,2.0,1000000,5000000,3.0,500000,2500000",
|
|
"-PixelStreamingHudStats=true" // usefull for debug
|
|
]
|
|
}
|
|
} |