Minor changes

This commit is contained in:
Andrea Bondavalli 2020-05-02 11:39:51 +02:00
parent 4ccc2f526f
commit 37fa1de81b
4 changed files with 5 additions and 10 deletions

View File

@ -46,8 +46,8 @@ The daemon can be cross-compiled for multiple platforms and implements the follo
* HTTP REST API for the daemon control and configuration
* SAP sources discovery and advertisement compatible with AES67 standard
* mDNS sources discovery and advertisement (using Linux Avahi) compatible with Ravenna standard
* RTSP client and server to retrieve or return SDP files via DESCRIBE method
* IGMP handling for SAP and RTP sessions
* RTSP client and server to retrieve or return SDP files via DESCRIBE method compatible with Ravenna standard
* IGMP handling for SAP, PTP and RTP sessions
The directory also contains the daemon regression tests in the [tests](daemon/tests) subdirectory.
See the [README](daemon/README.md) file in this directory for additional information about the AES67 daemon configuration and the HTTP REST API.

View File

@ -10,8 +10,8 @@ The daemon is responsible for:
* HTTP REST API for the daemon control and configuration
* SAP sources discovery and advertisement compatible with AES67 standard
* mDNS sources discovery and advertisement (using Linux Avahi) compatible with Ravenna standard
* RTSP client and server to retrieve or return SDP files via DESCRIBE method
* IGMP handling for SAP and RTP sessions
* RTSP client and server to retrieve or return SDP files via DESCRIBE method compatible with Ravenna standard
* IGMP handling for SAP, PTP and RTP sessions
## Configuration file ##

View File

@ -20,10 +20,6 @@
using boost::asio::ip::tcp;
void RtspServer::worker() {
io_service_.run();
}
void RtspServer::process() {
/* cleanup of expired sessions */
std::lock_guard<std::mutex> lock(mutex_);

View File

@ -86,7 +86,7 @@ class RtspServer {
bool init() {
accept();
/* start rtsp server on a separate thread */
res_ = std::async(std::launch::async, &RtspServer::worker, this);
res_ = std::async([this](){ io_service_.run(); });
return true;
}
@ -100,7 +100,6 @@ class RtspServer {
void process();
private:
void worker();
void accept();
std::mutex mutex_;