webrtc server creation waiting added, webrtc and app order changed, titles.json removed
This commit is contained in:
@@ -24,18 +24,18 @@ const run_session = async (req, res, next) => {
|
||||
return
|
||||
}
|
||||
|
||||
var webrtc_pid = await run_webrtc(webrtc_port, app_port)
|
||||
if (!webrtc_pid) {
|
||||
next(new server_error('can not run webrtc'))
|
||||
return
|
||||
}
|
||||
|
||||
var app_pid = await run_app(app_path, app_port)
|
||||
if (!app_pid) {
|
||||
next(new server_error('can not run app'))
|
||||
return
|
||||
}
|
||||
|
||||
var webrtc_pid = await run_webrtc(webrtc_port, app_port)
|
||||
if (!webrtc_pid) {
|
||||
next(new server_error('can not run webrtc'))
|
||||
return
|
||||
}
|
||||
|
||||
var add_runnning_session_result = await database.add_running_session(session_id, app_pid, webrtc_pid)
|
||||
|
||||
if(!add_runnning_session_result) {
|
||||
|
||||
Reference in New Issue
Block a user