diff --git a/README.md b/README.md index da2542c..f3239ec 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/daemon/README.md b/daemon/README.md index 64843f3..68f03eb 100644 --- a/daemon/README.md +++ b/daemon/README.md @@ -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 ## diff --git a/daemon/rtsp_server.cpp b/daemon/rtsp_server.cpp index 438aa71..fdb2dfa 100644 --- a/daemon/rtsp_server.cpp +++ b/daemon/rtsp_server.cpp @@ -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 lock(mutex_); diff --git a/daemon/rtsp_server.hpp b/daemon/rtsp_server.hpp index bd33d9d..07c5b0f 100644 --- a/daemon/rtsp_server.hpp +++ b/daemon/rtsp_server.hpp @@ -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_;