332 Commits

Author SHA1 Message Date
Andrea Bondavalli
a13cf9ec65 Simplified Azure pipeline 2023-03-01 20:21:19 +01:00
Andrea Bondavalli
05e81bc1f7 Added install.sh script to install daemon under systemd and updated the documentation 2023-03-01 20:20:34 +01:00
Andrea Bondavalli
09ee61400e Changed Azure pipeline to run on Default agent pool and for all branches 2023-02-28 20:42:36 +01: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
580a5d9c12
Added GitHub workflows status to README.md 2023-02-05 17:28:38 +01:00
Andrea Bondavalli
943c3553e6
Update README.md 2023-02-05 17:12:55 +01:00
Andrea Bondavalli
25a00cbc7b
Update README.md 2023-02-05 16:39:33 +01:00
Andrea Bondavalli
81dd9f4754
Add an Azure Pipelines status badge 2023-02-05 16:27:55 +01:00
Andrea Bondavalli
f8b5093d3a Changed Azure pipeline to use Docker file 2023-02-04 18:11:54 +01:00
Andrea Bondavalli
447e1dc8db Set up CI with Azure Pipelines
[skip ci]
2023-02-04 18:04:42 +01:00
Andrea Bondavalli
685e0e8612
Update README.md 2023-02-03 18:27:27 +01:00
Andrea Bondavalli
407a17d0e0
Merge pull request #111 from bondagit/daemon_v1.6.1
Daemon v1.6.1
2023-02-03 15:51:50 +01:00
Andrea Bondavalli
6026f677ff Added note on how to enabled systemd watchdog integration 2023-02-03 15:45:56 +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
885dd7146e
Merge pull request #103 from bondagit/test-64-channels
Test 64 channels
2022-12-22 13:16:45 +01:00
Andrea Bondavalli
627998a432
Update README.md 2022-12-22 13:16:09 +01:00
Andrea Bondavalli
2525ed5082
Update README.md 2022-12-22 13:04:20 +01:00
Andrea Bondavalli
df8dc4c042
Update README.md 2022-12-21 13:55:34 +01:00
Andrea Bondavalli
4ea11d7907
Update README.md 2022-12-20 21:50:32 +01:00
Andrea Bondavalli
4232a3ddd0 Adapted platform and latency tests to support a 64 channels configuration.
This configuration was succesfully tested on a Mini PC with Intel Celeron N4000.
2022-12-20 21:24:40 +01:00
Andrea Bondavalli
1f7c2a2187
Merge pull request #102 from bondagit/issue-79
Issue 79
2022-11-29 17:54:13 +01:00
Andrea Bondavalli
1d562e3843
Update README.md 2022-11-25 09:21:38 +01:00
Andrea Bondavalli
b43b26c3df Added setting of Real Time Scheduler Throttling kernel parameter according to findings related to #79 2022-11-25 09:17:28 +01:00
Andrea Bondavalli
81bd428430
Update README.md 2022-11-23 20:48:47 +01:00
Andrea Bondavalli
37cb8a6f8b Changed buildfake.sh script to use the forked version of HTTP Server at https://github.com/yhirose/cpp-httplib.git 2022-11-18 12:29:46 +01:00
Andrea Bondavalli
c85a96c8c2 Changed build.sh script to use the forked version of HTTP Server at https://github.com/yhirose/cpp-httplib.git 2022-11-18 12:26:44 +01:00
Andrea Bondavalli
2fdcfea428
Update README.md 2022-11-18 09:39:38 +01:00
Andrea Bondavalli
670a42d992
Merge pull request #101 from bondagit/fake-driver
Fake driver
2022-11-18 09:27:34 +01:00