390 Commits

Author SHA1 Message Date
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
Andrea Bondavalli
ac6cab0076
Merge pull request #151 from bondagit/daemon-v1.6.6
Daemon v1.6.6
2024-01-21 10:39:24 +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
Andrea Bondavalli
9d9cc78d35
Merge pull request #140 from Sikabo/last_seen
Change last seen to seconds since last announcement
2023-09-23 12:40:33 +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
767d38db29
Update README.md
reviewed document structure
added how to build and setup the daemon section
2023-06-02 11:52:48 +02:00
Andrea Bondavalli
97e93e0476
Update README.md 2023-05-31 09:24:11 +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
00da25be89 Changed WebUI to display NodeId and address in all tabs, see #130 2023-05-20 09:06:10 +02:00
Andrea Bondavalli
070886ef52 Reverted driver branch to master 2023-05-18 12:40:04 +02:00