From a91234d825b66c83d2e6e6244fcb18742842af22 Mon Sep 17 00:00:00 2001 From: Andrea Bondavalli Date: Tue, 28 Jan 2020 21:15:12 +0100 Subject: [PATCH] Fix to documentation and some code cleanup --- README.md | 2 +- daemon/http_server.hpp | 2 -- daemon/session_manager.cpp | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index f408474..aa93e77 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ The daemon can be cross-compiled for multiple platforms and implements the follo * SAP discovery protocol implementation * IGMP handling for SAP and RTP sessions -The directory also contains the daemon regression tests in the [tests](tests) subdirectory. To run daemon tests install the ALSA RAVENNA/AES67 kernel module enter the [tests](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* 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/http_server.hpp b/daemon/http_server.hpp index 50fa4bc..532604b 100644 --- a/daemon/http_server.hpp +++ b/daemon/http_server.hpp @@ -34,8 +34,6 @@ class HttpServer { config_(config) {}; bool start(); bool stop(); - int get_http_status(const std::error_code& code) const; - std::string get_http_error(const std::error_code& code) const; private: std::shared_ptr session_manager_; diff --git a/daemon/session_manager.cpp b/daemon/session_manager.cpp index 70c1539..29118d9 100644 --- a/daemon/session_manager.cpp +++ b/daemon/session_manager.cpp @@ -625,7 +625,6 @@ std::error_code SessionManager::add_sink(const StreamSink& sink) { info.stream.m_ui32PlayOutDelay = sink.delay; info.stream.m_ui32RTCPSrcIP = config_->get_ip_addr(); info.ignore_refclk_gmid = sink.ignore_refclk_gmid; - info.io = sink.io; if (!sink.use_sdp) {