148 Commits

Author SHA1 Message Date
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
Andrea Bondavalli
148b717c02 Additional fixes 2023-01-15 11:15:27 +01:00
Andrea Bondavalli
d1708d6ee3 Session manager doesn't retrieve the remote sources in case the automatic Sinks update is disabled. 2023-01-15 10:59:04 +01:00
Andrea Bondavalli
603b767f06
Update README.md 2023-01-15 09:40:25 +01:00
Andrea Bondavalli
ffa8e80213 Added "auto_sinks_update" to the daemon configuration parameters and to the WebUI.
JSON boolean specifying whether to enable or disable the automatic update of the configured Sinks.
When enabled the daemon will automatically update the configured Sinks according to the discovered remote sources via SAP and mDNS/RTSP updates.
The SDP Originator (o=) is used to match a Sink with the remote source/s.
2023-01-14 19:24:43 +01:00
Andrea Bondavalli
6ed3a9ef54 Remote source origin is parsed and extracted from SDP when the source is discovered or updated.
This way we avoid parsing the SDP multiple times.
2023-01-14 18:22:24 +01:00
Andrea Bondavalli
02ccef73c4 Changed daemon version to v1.5.4 2023-01-14 12:12:22 +01:00
Andrea Bondavalli
f826a5b2ef Implementation of automatic Sink updates based on remote source updates received by the Browser.
The daemon uses the most recent version of corresponding remote sources to update a Sync.
The Originator (o=) field of the SDP is used identify the corresponding remote sources.

Many thanks to @Sikabo for the original implementation !
2023-01-14 12:06:55 +01:00
Andrea Bondavalli
b10350488f Fix to undesired characters set to avoid altering original SDP from Dante devices.-
The comma (,) is used by Dante Devices in SDP and it was removed by the daemon.
2023-01-14 12:03:24 +01:00
Andrea Bondavalli
429948bc6d Fix to #106 daemon browser doesn't receive mDNS/RTSP updates of a remote source 2023-01-14 12:00:38 +01:00
Andrea Bondavalli
670a42d992
Merge pull request #101 from bondagit/fake-driver
Fake driver
2022-11-18 09:27:34 +01:00
Andrea Bondavalli
51e2dea807
Merge pull request #100 from bondagit/issue-94
Fixed SDP related RFCs compliance issues. See #94
2022-11-18 09:26:25 +01:00
Andrea Bondavalli
c68d53c9bc Added documentation about effects of CPU scaling events on daemon streams and patched daemon test scripts to disable CPU scaling 2022-11-17 21:51:05 +01:00
Andrea Bondavalli
38dabd5887 Added support to the daemon for a fake driver version.
This allows daemon execution without the RAVENNA driver for testing purposes and to allow regression tests to run into a Docker container.
2022-11-15 22:00:51 +01:00
Andrea Bondavalli
1a4f5ac6c1 Fixed SDP related RFCs compliance issues. See #94 2022-09-29 17:07:28 +02:00
Andrea Bondavalli
acb1e55d08 Added RTSP client connection timeout of 5 secs. See issue #91 2022-08-20 11:12:05 +02:00
Anders Martinsson
b7d797c118 Correct case for kHz (kilohertz) 2022-06-07 17:06:26 +02:00
Andrea Bondavalli
1886317cab Fix to avoid creation of zombie processes by PTP status script, see #85 2022-06-03 08:52:04 +02:00