407 Commits

Author SHA1 Message Date
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
6563a56da4
Update README.md 2024-12-18 12:37:59 +01:00
Andrea Bondavalli
d17962ee48
Update README.md 2024-12-13 20:42:11 +01:00
Andrea Bondavalli
d90e7cae20
Merge pull request #181 from Rohlik/patch-1
Fix systemd link
2024-11-26 20:53:02 +01:00
Andrea Bondavalli
47bf87765e
Merge pull request #184 from VanCoding/master
Check in package-lock.json to make builds reproducible
2024-11-26 20:52:37 +01:00
Patrik Stutz
3f017f8d5d update driver 2024-11-24 16:51:34 +01:00
Patrik Stutz
81db129b2c make webui builds reproducable 2024-11-23 11:20:58 +01:00
Andrea Bondavalli
2fb74a0c46 Reverted build.sh to used clang as default compiler for the daemon 2024-10-25 18:04:43 +02:00
Andrea Bondavalli
00cc72a329 Changed build.sh to use the drvier version in the aes67-daemon branch of the https://github.com/bondagit/ravenna-alsa-lkm repository 2024-10-25 18:02:27 +02:00
TomasR
a41e9809c7
Fix systemd link 2024-10-19 16:45:56 +02:00
Andrea Bondavalli
3ce87870d5
Merge pull request #179 from bondagit/bondagit-patch-1
Update README.md
2024-09-25 13:45:33 +02:00
Andrea Bondavalli
152f306590
Update README.md 2024-09-25 13:44:22 +02:00
Andrea Bondavalli
cb2793828e
Merge pull request #177 from bondagit/make-libfaac-optional
Make libfaac optional
2024-09-16 13:40:54 +02: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
04ea7f7f19 Fix to buildfake.sh 2024-09-16 11:53:25 +02:00
Andrea Bondavalli
bb75a1e6e4 Added init of git submodules in buildfake.sh 2024-09-16 11:48:42 +02:00
Andrea Bondavalli
fdbfb3f1a1 Added init of git submodules in build.sh 2024-09-16 11:45:44 +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
Andrea Bondavalli
622417dd21
Merge pull request #171 from automaciej/submodules
Use cpp-httplib via a submodule.
2024-09-16 10:44:39 +02:00
Andrea Bondavalli
57a0d62da9
Merge pull request #175 from m7a/make-libfaac-optional
aes67-daemon: Make dependency on libfaac optional
2024-09-16 09:07:46 +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
48444bec65
Use cpp-httplib via a submodule.
This removes the need to script out the fetching of the other
repository. Submodule stores the version of the sub-repository.
2024-08-02 18:47:56 +01:00
Andrea Bondavalli
3d240fd406
Merge pull request #165 from automaciej/parallel-build
Compile the daemon in parallel.
2024-07-25 19:06:13 +02:00
Andrea Bondavalli
856b7f08ad
Merge branch 'master' into parallel-build 2024-07-25 18:46:43 +02:00
Andrea Bondavalli
cb5d400804
Merge pull request #167 from automaciej/multiple-lines
Split the cmake invocation into multiple lines.
2024-07-25 18:45:39 +02:00
Andrea Bondavalli
78be4df9b0
Merge pull request #166 from automaciej/avoid-redownloading
Use `--timestamping` to avoid re-downloading.
2024-07-25 18:45:26 +02:00
Andrea Bondavalli
af967ea463
Merge pull request #168 from automaciej/patch-1
Return to the main directory after inserting the module.
2024-07-25 18:45:11 +02:00
Andrea Bondavalli
b34b55b1ef
Merge pull request #169 from automaciej/set-mount-point-slash
Define mount point as "/" rather than nullptr.
2024-07-25 18:44:52 +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
Maciej Bliziński
519de0341f
Return to the main directory after inserting the module.
I followed the instructions and copy/pasted the code snippets. Here's a small convenience change: after inserting the module, we can go back to the main directory instead of trying to cd into `3rdparty/ravenna-alsa-lkm/driver/daemon`.
2024-07-23 14:20:22 +01:00
Maciej Bliziński
2ca48a054b
Split the cmake invocation into multiple lines.
The `-D` statements are lined up and easier to read. It's also easier to
compare the `build.sh` and `buildfake.sh` files side-by-side.
2024-07-22 17:18:51 +01:00
Maciej Bliziński
44374bb3a6
Use --timestamping to avoid re-downloading.
When a newer version of the file appears, wget will automatically
update the file on disk.
2024-07-22 16:53:14 +01:00
Maciej Bliziński
941bba422e
Compile the daemon in parallel.
The compilation can be a bit slow when done sequentially. The `-j`
option automatically picks the number of parallel build jobs based on
the number of available cores.

The parallelization might be a concern then building on systems with a
small amount of RAM, that can be addressed when such occasion arises.

As a side note, in many build systems, we leave the `make` stage to be
executed separately by the user, so that the user can pick the level of
parallelization. There are a few invocations of `make` in the build.sh
script, I'm adding the `-j` flag only to the one that was slow in
practice.
2024-07-22 16:42:34 +01:00
Andrea Bondavalli
acbb385516
Merge pull request #164 from bondagit/http-streamer
HTTP streamer
2024-07-12 10:48:37 +02: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
a9d8ed5e3a
Update README.md with HTTP Streamer diagram 2024-07-06 17:52:57 +02:00
Andrea Bondavalli
dc1d697080 Added libfaac-dev to Dockerfile.daemon_tests 2024-07-06 17:43:30 +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
f05f40c2ad Updated README.md with the possibility to specify the daemon option -a 2024-03-23 14:37:00 +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
Andrea Bondavalli
78a790201b
Merge pull request #154 from bondagit/fix_gcc_12_3
Fix GCC 12.3.0 compilation issue
2024-03-23 14:12:34 +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