Minor changes

This commit is contained in:
Andrea Bondavalli 2020-03-06 23:11:54 +01:00
parent 27bee43c20
commit a70505989f
5 changed files with 7 additions and 5 deletions

View File

@ -20,7 +20,7 @@ The daemon can be cross-compiled for multiple platforms and implements the follo
* control and configuration of up to 64 sources and sinks using the ALSA RAVENNA/AES67 driver via netlink * control and configuration of up to 64 sources and sinks using the ALSA RAVENNA/AES67 driver via netlink
* session handling and SDP parsing and creation * session handling and SDP parsing and creation
* HTTP REST API for control and configuration * HTTP REST API for control and configuration
* SAP discovery protocol and SAP browse * SAP discovery protocol and SAP browser
* IGMP handling for SAP, RTP and PTP multicast traffic * IGMP handling for SAP, RTP and PTP multicast traffic
The directory also contains the daemon regression tests in the [tests](daemon/tests) subdirectory. To run daemon tests install the ALSA RAVENNA/AES67 kernel module enter the [tests](daemon/tests) subdirectory and run *./daemon-test -l all* The directory also contains the daemon regression tests in the [tests](daemon/tests) subdirectory. To run daemon tests install the ALSA RAVENNA/AES67 kernel module enter the [tests](daemon/tests) subdirectory and run *./daemon-test -l all*

View File

@ -94,11 +94,11 @@ bool Browser::worker() {
sources_[id] = source; sources_[id] = source;
} }
} else { } else {
// Source is already in the mamap // Source is already in the map
if (is_announce) { if (is_announce) {
BOOST_LOG_TRIVIAL(debug) BOOST_LOG_TRIVIAL(debug)
<< "browser:: refreshing SAP source " << (*it).second.id; << "browser:: refreshing SAP source " << (*it).second.id;
// annoucement, update last seen and announce periods // annoucement, update last seen and announce period
uint32_t last_seen = uint32_t last_seen =
duration_cast<second_t>(steady_clock::now() - startup).count(); duration_cast<second_t>(steady_clock::now() - startup).count();
(*it).second.announce_period = last_seen - (*it).second.last_seen; (*it).second.announce_period = last_seen - (*it).second.last_seen;
@ -112,7 +112,7 @@ bool Browser::worker() {
} }
} }
// check if it's time to check the SAP remote sources // check if it's time to update the SAP remote sources
if ((duration_cast<second_t>(steady_clock::now() - sap_timepoint).count()) if ((duration_cast<second_t>(steady_clock::now() - sap_timepoint).count())
> sap_interval) { > sap_interval) {
sap_timepoint = steady_clock::now(); sap_timepoint = steady_clock::now();

View File

@ -43,6 +43,7 @@ class Browser {
public: public:
static std::shared_ptr<Browser> create( static std::shared_ptr<Browser> create(
std::shared_ptr<Config> config); std::shared_ptr<Config> config);
Browser() = delete;
Browser(const Browser&) = delete; Browser(const Browser&) = delete;
Browser& operator=(const Browser&) = delete; Browser& operator=(const Browser&) = delete;
virtual ~Browser(){ stop(); }; virtual ~Browser(){ stop(); };

View File

@ -97,6 +97,7 @@ class SessionManager {
static std::shared_ptr<SessionManager> create( static std::shared_ptr<SessionManager> create(
std::shared_ptr<DriverManager> driver, std::shared_ptr<DriverManager> driver,
std::shared_ptr<Config> config); std::shared_ptr<Config> config);
SessionManager() = delete;
SessionManager(const SessionManager&) = delete; SessionManager(const SessionManager&) = delete;
SessionManager& operator=(const SessionManager&) = delete; SessionManager& operator=(const SessionManager&) = delete;
virtual ~SessionManager(){ stop(); }; virtual ~SessionManager(){ stop(); };

View File

@ -13,7 +13,7 @@
work correctly both with client-side routing and a non-root public URL. work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`. Learn how to configure a non-root public URL by running `npm run build`.
--> -->
<title>AES64 Daemon WebUI</title> <title>AES67 Daemon WebUI</title>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>