165 Commits

Author SHA1 Message Date
Andrea Bondavalli
838dc59b91 Fixed daemon tests broken built, see #20
Added daemon tests build to build.sh script
Changed daemon version to 2.0.4
2025-03-12 10:00:23 +01:00
Andrea Bondavalli
396648df9b Changed daemon version to v2.0.3 2025-03-04 16:49:22 +01:00
Andrea Bondavalli
dbaca1e213 Added tests/daemon_test.cpp 2025-02-28 17:57:14 +01:00
Andrea Bondavalli
1e652a046d Set of changes to keep compatibility between boost version 1.87 and earlier versions 2025-02-28 17:46:53 +01:00
Andrea Bondavalli
6ff785a8d2 Fixes for daemon_test.cpp, see #197 2025-02-27 22:01:20 +01:00
Andrea Bondavalli
4fc96c9491 Replaced boost::asio::io_service with boost::asio::io_context in rtsp_server.hpp, see #197 2025-02-27 21:31:48 +01:00
Andrea Bondavalli
21690a8589 Replace ip::address_v4::to_ulong() with ip::address_v4::to_uint() to support boost 1.87, see #197 2025-02-27 20:54:39 +01:00
Andrea Bondavalli
efcf95522b Replace ip::address::to_string() with ip::make_address() to support Boost 1.87, see #197 2025-02-27 20:06:17 +01:00
Andrea Bondavalli
201cf28196 Fix for issue #197 2025-02-27 17:57:54 +01:00
Andrea Bondavalli
1b057635f3 Fix to build.sh to restore module compilation and to daemon regression tests 2024-09-16 12:38:32 +02:00
Andrea Bondavalli
969e343309 Use 3rdparty/ravenna-alsa-lkm via a submodule.
Fix to the daemon regression test.
2024-09-16 12:05:22 +02:00
Andrea Bondavalli
47da082405 - renamed USE_STREAMER compilation flag to _USE_STREAMER_
- changed cpp-httplib git submodule path to https://github.com/bondagit/cpp-httplib.git
- removed compilation warning related to the usage of Boost bind global placeholders
- updated daemon version to 2.0.2
2024-09-16 11:33:54 +02:00
Linux-Fan, Ma_Sys.ma
fcd87be244 aes67-daemon: Make dependency on libfaac optional
Previously, since the introduction of the streamer support in version 2.0.0,
it was impossible to compile the daemon without a dependency on libfaac.
This prevented the daemon from being built on Debian systems without `non-free`
repositories enabled. It seems the issue with libfaac is that it is based on
code with a non-DFSG compliant license.

This commit introduces a new config option WITH_STREAMER which is ON by default,
causing the behaviour to stay backwards-compatible with the one before this
commit. It is newly possible to pass `-DWITH_STREAMER=OFF` to cmake to build
without streamer support and without the dependency on libfaac.
2024-09-15 14:28:45 +02:00
Andrea Bondavalli
3af7dd3d64 Added support for sample rate 88200Hz to the WebUI and the test suite, see #173
Disabled daemon parallel builds in build.sh (option -j)  as this can cause hangs on some platforms
Disabled streamer in daemon configuration used by platform and latency tests
Changed daemon version to 2.0.1
2024-08-19 11:38:30 +02:00
Maciej Bliziński
8629916ece
Define mount point as "/" rather than nullptr.
This fixes the stuckness in the newer versions of httplib. I compiled
and ran the daemon using
c8bcaf8a91
which is the newest cpp-httplib version at the time of writing.
2024-07-23 15:07:05 +01:00
Andrea Bondavalli
107d36af61 build.sh script chaged to build with WITH_SYSTEMD=ON.
Changed default daemon configuration with HTTP streamer disabled.
Additional cosmetic changes.
2024-07-07 11:44:21 +02:00
Andrea Bondavalli
49bf65a3d9 Removed compilation warnings from streamer.cpp 2024-07-06 18:05:48 +02:00
Andrea Bondavalli
466f6b4fc4 First import of HTTP Streamer functionality in the daemon used to receive AES67 audio streams via HTTP file streaming.
The HTTP Streamer can be enabled via the _streamer_enabled_ daemon parameter.
When the Streamer is active the daemon starts capturing the configured _Sinks_ up to the maximum number of channels configured by the _streamer_channels_ parameters.

The captured PCM samples are split into _streamer_files_num_ files of _streamer_file_duration_ duration (in seconds) for each sink, compressed using AAC LC codec and served via HTTP.

The HTTP streamer requires the libfaac-dev package to compile.

Please note that since the HTTP Streamer uses the RAVENNA ALSA device for capturing it's not possible to use such device for other audio captures.
2024-07-06 17:27:49 +02:00
Andrea Bondavalli
45a39a4d2e Fix to avoid crash when option -a is not provided plus cosmetic changes. 2024-03-23 15:07:02 +01:00
Andrea Bondavalli
a41393adaf Updated daemon version to 1.7.0 2024-03-23 14:31:21 +01:00
Andrea Bondavalli
0a450ccb34
Merge pull request #156 from zophos/separate_webui_addr
WebUI listening addr can be configured separately from AES67 interface
2024-03-23 14:12:47 +01:00
NISHI, Takao
80cf4efd8d WebUI listening addr can be configured separately from AES67 interface 2024-03-19 16:32:50 +00:00
root
8b9be73357 Fix GCC 12.3.0 compilation issue 2024-03-09 09:51:49 +01:00
Andrea Bondavalli
58496b58bf
Merge pull request #150 from nsgundy/master
Support unicast sinks
2024-01-21 10:31:12 +01:00
Andrea Bondavalli
58d97c981c Changed daemon version to v1.6.6 2024-01-21 10:29:40 +01:00
Andrea Bondavalli
2cad593f3d Improved JSON parsing error reporting, see #147 2024-01-21 10:27:17 +01:00
nsgundy
5511fe9d97 Support unicast sinks 2024-01-15 16:36:36 +01:00
Andrea Bondavalli
67a3b0a2a6
Update README.md see #147 2023-12-08 12:31:23 +01:00
Andrea Bondavalli
98439a23cb Changed daemon version to v1.6.5 2023-09-23 12:55:24 +02:00
Andrea Bondavalli
ee01c45527
Merge pull request #141 from mrobbetts/mrobbetts/std-copy-size-fix
Match size of std::copy input to its output variable
2023-09-23 12:40:45 +02:00
Matthew Robbetts
0236b3a1da Match size of std::copy input to its output variable 2023-09-22 17:51:23 -07:00
Anders Martinsson
8cdfec3cd6 Change last seen to seconds since last announcement
Change last seen from seconds since startup to seconds since the source
was announced.
2023-09-20 10:40:50 +02:00
Andrea Bondavalli
17fb3d6940 Changed daemon version to v1.6.4 2023-05-20 09:20:22 +02:00
Andrea Bondavalli
2d13b632e3 Changed daemon default TIC frame size iat 1FS to 48 frames 2023-05-20 09:18:38 +02:00
Andrea Bondavalli
a8b833ddc0 Changed daemon version to v1.6.3, updated documentation and restored daemon test parameters 2023-05-13 12:36:40 +02:00
Andrea Bondavalli
816388d1d2 Removed additional code smells 2023-02-28 20:32:57 +01:00
Andrea Bondavalli
461c007a04
Merge pull request #116 from AleksanderZdunek/master
Fix HttpServer::init() erroneous return value
2023-02-26 17:05:56 +01:00
Andrea Bondavalli
1fc529b035 Removed addtional code smells 2023-02-26 10:06:04 +01:00
Andrea Bondavalli
a255f31dfd Removed addtional code smells 2023-02-25 23:16:58 +01:00
Andrea Bondavalli
49a42f7ac7 Changed daemon version to 1.6.2 2023-02-25 22:47:01 +01:00
Andrea Bondavalli
5d5ddf280c Fixed broken build without AVAHI support 2023-02-25 22:45:36 +01:00
Andrea Bondavalli
7bf73823c6 Fixed a few minor bugs and removed some code smells 2023-02-25 22:33:55 +01:00
Aleksander Zdunek
2b5e18b839 Fix HttpServer::init() erroneous return value
Fix bug HttpServer::init() would incorrectly return true when the
server is not responding, and sometimes would incorrectly return false
when the server is responding.

Using postfix decrement in the while condition caused the returned value
to be one less than intended, making an intended 0 value actually -1
which was cast to true, and an intended 1 value actually 0 and returned
as false.
2023-02-22 12:17:06 +01:00
Andrea Bondavalli
eb79d897fe Added instructions on how to run the daemon via systemd, plus cosmetic changes 2023-02-03 15:39:12 +01:00
Andrea Bondavalli
f77db79869
Merge pull request #108 from glance-/systemd
Add Systemd integration to aes67-daemon
2023-02-03 13:48:21 +01:00
Anton Lundin
997fb31d0e Use systemd state RELOADING when ip address changed
In systemd when entering state STOPPING, you can't go back to READY.

So, we check if we're supposed to stop or just restart, and tells that
to systemd.
2023-01-25 15:18:16 +01:00
Anton Lundin
a28a6e148f Add Systemd integration to aes67-daemon
This adds integration and especially watchdog support between
aes67-daemon and systemd.

A example service file is also included.
2023-01-20 21:06:54 +01:00
Andrea Bondavalli
cbd4640f27 Use seconds since epoch as base value for the Source session versions to have increasing version upon daemon restarts 2023-01-18 19:22:55 +01:00
Andrea Bondavalli
cd0d7b6210 Skip automatic sinks update cycle in case no remote source was updated by the browser 2023-01-18 19:19:18 +01:00
Andrea Bondavalli
f89d8a9693 Changed daemon version to v1.6.1 2023-01-15 14:21:06 +01:00