mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-21 23:29:59 +01:00
UI Integration of output to SRT, Shmdata and V4L2
Improved user interface and messages for the activation of Output streaming with SRT, shared memory, or loopback camera with V4L2 under linux.
This commit is contained in:
@@ -127,6 +127,8 @@ void Settings::Save(uint64_t runtime)
|
||||
applicationNode->SetAttribute("pannel_history_mode", application.pannel_current_session_mode);
|
||||
applicationNode->SetAttribute("stream_protocol", application.stream_protocol);
|
||||
applicationNode->SetAttribute("broadcast_port", application.broadcast_port);
|
||||
applicationNode->SetAttribute("loopback_camera", application.loopback_camera);
|
||||
applicationNode->SetAttribute("shm_socket_path", application.shm_socket_path.c_str());
|
||||
pRoot->InsertEndChild(applicationNode);
|
||||
|
||||
// Widgets
|
||||
@@ -398,6 +400,12 @@ void Settings::Load()
|
||||
applicationNode->QueryIntAttribute("pannel_history_mode", &application.pannel_current_session_mode);
|
||||
applicationNode->QueryIntAttribute("stream_protocol", &application.stream_protocol);
|
||||
applicationNode->QueryIntAttribute("broadcast_port", &application.broadcast_port);
|
||||
applicationNode->QueryIntAttribute("loopback_camera", &application.loopback_camera);
|
||||
|
||||
// text attributes
|
||||
const char *tmpstr = applicationNode->Attribute("shm_socket_path");
|
||||
if (tmpstr)
|
||||
application.shm_socket_path = std::string(tmpstr);
|
||||
}
|
||||
|
||||
// Widgets
|
||||
|
||||
Reference in New Issue
Block a user