TSSRT and TSRIST outputs in listen mode will now request not to be killed by the Comms library, since they handle multiple users
This commit is contained in:
parent
22e0036b8b
commit
41cf557b48
7 changed files with 11 additions and 5 deletions
|
@ -2221,7 +2221,7 @@ namespace Mist{
|
|||
onFail("Shutting down since this session is not allowed to view this stream");
|
||||
statComm.unload();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
lastStats = now;
|
||||
|
||||
|
|
|
@ -446,6 +446,7 @@ int main(int argc, char *argv[]){
|
|||
sigaction(SIGUSR1, &new_action, NULL);
|
||||
}
|
||||
if (conf.getInteger("port") && conf.getString("interface").size()){
|
||||
Comms::defaultCommFlags = COMM_STATUS_NOKILL;
|
||||
|
||||
if (rist_receiver_create(&rec_ctx, (rist_profile)conf.getInteger("profile"), &Mist::log_settings) != 0){
|
||||
FAIL_MSG("Failed to create receiver context");
|
||||
|
|
|
@ -501,6 +501,7 @@ int main(int argc, char *argv[]){
|
|||
if (oldSignal){WARN_MSG("Multiple signal handlers! I can't deal with this.");}
|
||||
oldSignal = cur_action.sa_sigaction;
|
||||
}
|
||||
Comms::defaultCommFlags = COMM_STATUS_NOKILL;
|
||||
Util::Procs::socketList.insert(server_socket.getSocket());
|
||||
while (conf.is_active && server_socket.connected()){
|
||||
Socket::SRTConnection S = server_socket.accept(false, "output");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue