Commit Graph

  • e8c1c9d6bf Fix wrong file extension of ravenna-alsa-lkm-independent-playback-capture patch file Andrea Bondavalli 2020-07-07 22:21:12 +02:00
  • ba1305a0b9 Added fix to ALSA/RAVENNA driver to revert changes done to mr_alsa_audio_pcm_capture_copy_internal() in ALSA/RAVENNA driver version 1.1.93. This fixes issue #14 Andrea Bondavalli 2020-07-03 15:50:27 +02:00
  • 4d30bdb24a Fixed build.sh script Andrea Bondavalli 2020-07-03 15:40:31 +02:00
  • dd0ab49c6c Added fix to ALSA/RAVENNA driver to restore default number of inputs and outputs to 64. These were set back to 8 after merge of ALSA/RAVENNA driver version 1.1.93. This fixes issue #13 Andrea Bondavalli 2020-06-30 17:27:16 +02:00
  • df927e2224
    Update DEVICES.md Andrea Bondavalli 2020-06-30 11:30:33 +02:00
  • 271f6d7b5c
    Update DEVICES.md Andrea Bondavalli 2020-06-30 11:29:11 +02:00
  • a22546619c Reworked timer module to use a separate tasklet to handle timer callback. This is the same approach already used with Linux Kernel 4.x, but in Linux Kernel 5.x tasklet_hrtimer helper functions were removed. This fixes issue #12 Andrea Bondavalli 2020-06-29 18:58:12 +02:00
  • 897b1e0032 Fix to patch ravenna-alsa-lkm-independent-playback-capture.patch, see issue #11 Andrea Bondavalli 2020-06-27 14:15:16 +02:00
  • 81849fc46c
    Update DEVICES.md Andrea Bondavalli 2020-06-27 10:11:56 +02:00
  • 9b6dfa887f Created DEVICES.md document with the list of devices and interoperability testes carried out so far. Added Dante transmitter and receiver devices to the list of supported devices. Andrea Bondavalli 2020-06-27 10:03:30 +02:00
  • fbf28ada45 Changed remote SAP source default announce period to daemon default SAP interval Andrea Bondavalli 2020-06-27 10:00:22 +02:00
  • cee8823e5c Added handling of session ID <sess-id> and session version <sess-version> in the Origin ("o=") field of the Sources SDP files. Session ID is the Node ID plus the source ID. Session version is the session ID plus an increasing version identifier. This fixes issue #10 and allows Dante Controller to properly handle the daemon Sources. Andrea Bondavalli 2020-06-27 09:32:06 +02:00
  • 3aeed93856 Added patch to the ALSA RAVENNA/AES67 driver to handle independent playback and capture I/O startup and termination. This fixes issue #11 Andrea Bondavalli 2020-06-26 19:31:23 +02:00
  • 9062a82033 - modified daemon code to support startup in case the specified network interface doesn't have an IP address. In this case the daemon waits for an IP address. - removed not functional daemon option (-i) - fixed exception handling in SAP::send() method Andrea Bondavalli 2020-06-18 19:49:24 +02:00
  • 6449524ed5 Modified daemon code and build.sh script to use version v0.7.0 of cpp-httplib Andrea Bondavalli 2020-06-18 19:33:21 +02:00
  • 098cebd056 Applied Clang source code formatting to daemon sources Andrea Bondavalli 2020-06-16 21:14:44 +02:00
  • f9a07569f9 Added fix to AES67 Driver to remove a kernel message that can delay the playback startup on slow platform Andrea Bondavalli 2020-06-15 20:49:33 +02:00
  • 95e6fbcf56 Fixed add_remove_check_mdns_browser_update_all regression test. Added note on regression tests execution. Andrea Bondavalli 2020-06-15 19:54:26 +02:00
  • 3a386696e9 Removed execute permission from source files Andrea Bondavalli 2020-06-14 23:54:36 +02:00
  • b40a6a51f3 Node ID generation is based on the IP address of the selected interface. Removed call to gethostid() function that is buggy and can create troubles. Andrea Bondavalli 2020-06-14 23:13:48 +02:00
  • e7cfaa1d99 Minor changes to code indentation Andrea Bondavalli 2020-06-14 05:30:58 -07:00
  • 7f2bd7f4f0 Fix to generation of Node ID based on get_node_id() utils function: if gethostid() uses the loopback address interface IPv4 we create a new ID based on the current interface IPv4 This fixes a problem on old Ubuntu distro causing the Node ID to be the same for multiple hosts. Additional minor changes: - removed compilation warnings - some fixes to code indentation Andrea Bondavalli 2020-06-14 14:05:21 +02:00
  • 7c5d2a4b29 Fixed missing include files Andrea Bondavalli 2020-06-06 23:36:26 +02:00
  • 9aaa5172ee Set of changes to support new ALSA RAVENNA/AES67 device driver version 1.1.93 - removed changes to driver/MTAL_LKernelAPI.c in ravenna-alsa-lkm-kernel-v5.patch - added patch ravenna-alsa-lkm-disable-ptp-checksum.patch to the driver to the disable UDP checksum verification for the incoming PTP packets - changed build.sh script to use new driver revision and apply the new patch - added handling of the sink status flag "all_muted" in daemon, WebUI and regression tests - updated documentation Andrea Bondavalli 2020-06-06 20:43:44 +02:00
  • 13c7078a88 Minor changes to regression tests Andrea Bondavalli 2020-06-04 10:29:28 -07:00
  • 0b27a6ee9e Minor changes Andrea Bondavalli 2020-06-04 10:26:42 -07:00
  • 6a025c1e7a Modified sample scripts sample rate to daemon default, that is 48Khz Andrea Bondavalli 2020-06-04 09:24:42 -07:00
  • 8f09eec36c Disabled use of valgrind memcheck during daemon regression tests Andrea Bondavalli 2020-06-04 09:23:59 -07:00
  • 371090e7b9 Changes to SessionManager class to handle notifications for source updates triggered when the PTP GMID clock changes or the driver sample rate changes. SessionManager allows the registration of source update observers and delivers via callbacks the above notifications. RTSP server modified to register to source update notifications and to send updates to clients via ANNOUNCE method. Andrea Bondavalli 2020-06-04 09:14:17 -07:00
  • 3a60c0492f Change to RTSP client to accept also an empty Content-Type. In this case application/sdp is assumed. Andrea Bondavalli 2020-06-04 09:12:39 -07:00
  • 0367dc33a0 MDNS client changed to avoid that multiple Avahi resolvers try to resolve the same name and domain simultaneously Andrea Bondavalli 2020-06-04 09:09:57 -07:00
  • e348400246 Improved robustness of RTSP client removal handling Andrea Bondavalli 2020-06-02 14:10:36 -07:00
  • 267b97cbe7 Fix: added removal of RTSP client session if RTSP client connection closes Andrea Bondavalli 2020-06-02 12:31:40 -07:00
  • 836cee03f1 Added mDNS sourceS update regression tests: - added source_check_mdns_browser_update test to verify mDNS update notification for a single source - added add_remove_check_mdns_browser_update_all test to verify mDNS update notifications for all 64 sources - additional fixes and minor changes to the test suite Andrea Bondavalli 2020-06-02 11:05:38 -07:00
  • e05253d444 Additional set of changes to complete support for mDNS sources update via RTSP ANNOUNCE method as described by Ravenna. The following changes enable support for RTCP client persistent connections used to receive RTSP server ANNOUNCE messages. These in turn update the remote sources in the Browser. - added new process static method to RtspClient class to receive and update source SDP files via DESCRIBE and ANNOUNCE methods. This method can handle persistent connections with the RTSP server and triggers an observer callback when a source SDP file is received or updated. A map is used to track all active RTSP clients. - added new stop and stop_all static methods to RtspClient class respectively to stop a specific RTCP client and to stop all clients. - modified MDNSClient class to call RtspClient::process method when a new Ravenna service is added and the RtspClient::stop method when a service is removed. The RtspClient::stop_all method is called when the daemon terminates. - modified Browser class to receive and handle remote RTSP sources SDP file add and change notifications. This class receives the updates via the RtspClient observer callback - updated documentation Andrea Bondavalli 2020-06-02 10:56:44 -07:00
  • aeb4e8b0a0 Changed maximum number of concurrent RTSP server sessions to 128 (double the maximum number of allowed Sources) Andrea Bondavalli 2020-06-02 09:55:51 -07:00
  • cd6a651014 Fix to header file Andrea Bondavalli 2020-06-01 12:02:40 -07:00
  • 85727ea02f RTSP server ignores responses to ANNOUNCE Andrea Bondavalli 2020-06-01 12:00:34 -07:00
  • d41b67d006 Set of changes to add support for mDNS sources SDP update via RTSP ANNOUNCE method as described by Ravenna. - modified SessionManager class to register and trigger observer callbacks when a new session is added or removed - moved MDNSServer out of the SessionManager and added instantiation in the daemon main - MDNSServer instance registers to SessionManager to receive source add & remove events and invokes appropiate Avahi client operation - RTSPServer instance registers to SessionManager to receive source update events. In case of update It sends RTSP ANNOUNCE (with the new SDP) to the connected RTSP clients that previously requested (via DESCRIBE method) the SDP file for the specific source - removed disconnetion timeout handling in RTSPServer. RTSPServer connections are now persistent Andrea Bondavalli 2020-05-28 20:47:38 +02:00
  • 088cf3e8fe Merge branch 'master' of https://github.com/andreabondavalli74/aes67-linux-daemon Andrea Bondavalli 2020-05-07 20:09:55 +02:00
  • 07c2b35777 Various enhancements and fixes: - fixed handling of Max samples per packet Source parameter in the WebUI and added computation of the real frame duration - fixed max number of channels configurable for a Sink in the WebUI - fixed tic_frame_size_at_1fs daemon parameter documentation - changed daemon default sample_rate parameter to 48000 Hz Andrea Bondavalli 2020-05-07 19:57:38 +02:00
  • f8d37dda74 Various enhancements and fixes: - fixed handling of Max samples per packet Source parameter in the WebUI and ad> - fixed max number of channels in the Sink configuration of the WebUI - fixed tic_frame_size_at_1fs daemon parameter documentation - changed daemon default frame size to 48000Hz Andrea Bondavalli 2020-05-07 19:57:38 +02:00
  • 9c4913f7e4
    Update README.md Andrea Bondavalli 2020-05-02 21:47:01 +02:00
  • 745fa05d0b Improved handling of "tic_frame_size_at_1fs" daemon parameter, added the possibility to configure it with the WebUI and updated the documentation. Andrea Bondavalli 2020-05-02 20:20:21 +02:00
  • 37fa1de81b Minor changes Andrea Bondavalli 2020-05-02 11:39:51 +02:00
  • 4ccc2f526f Fix for issue Daemon fails to parse AVIO SDP file - use correct delimiter ('=') and unsigned integer when extracing RTP timestamp offset from mediaclk:direct SDP audio attribute - use session connection information (c=) when audio specific connection information is missing Andrea Bondavalli 2020-04-27 21:15:37 +02:00
  • 9d714eb747 Minor changes Andrea Bondavalli 2020-04-24 10:59:19 -07:00
  • 0757318732 Fixed bug in SessionMange::get_source_id() method Andrea Bondavalli 2020-04-24 09:09:40 -07:00
  • 9d0e721e17 Added AM824 codec support to documentation Andrea Bondavalli 2020-04-24 09:07:26 -07:00
  • 48718c8dc2 Renamed patch to add support for AM824 to AES67 ALSA driver Andrea Bondavalli 2020-04-24 09:04:32 -07:00
  • 5b5029ed2a Merge branch 'codec_am824' Andrea Bondavalli 2020-04-24 04:08:55 -07:00
  • 4f84e91a6b
    Update README.md Andrea Bondavalli 2020-04-24 10:22:10 +02:00
  • 29dcfba0bd Merge branch 'master' into codec_am824 Andrea Bondavalli 2020-04-23 22:44:33 +02:00
  • fdccd4f577 Removed unused functions from utils Andrea Bondavalli 2020-04-23 22:42:30 +02:00
  • b35b36c91e Merge branch 'master' into codec_am824 Andrea Bondavalli 2020-04-23 12:11:26 -07:00
  • 0dbfe78a10 - Added support for mDNS/RTSP sources advertisement compatible with Ravenna standard. - mDNS advertisement for all local Sources is implemented by mdns_server.[cpp,hpp] and based on Linux Avahi. - RTSP server implementation supports DESCRIBE method to return SDP of local Sources and supports persistent connection but doesn't provide service updates via UPDATE method. - Modified RTSP client to browse for _ravenna_session subtype of _rtsp._tcp services only. - Modified SAP and mDNS discovery to avoid returning local Sources advertised by the daemon. - Added "rtsp_port" and "node_id" config parameters. - rtsp_port is a read/write parameter that contains the port of the RTSP server. - node_id is a read only parameter that contains the unique daemon identifier used in mDNS and SAP sources announcements. - Modified session manager to check that every Source and Sink created by the user has a unique name. - Modified WebUI to visualize node_id and to visualize and edit rtsp_port parameters in Config tab. - Extended regression test to verify proper behaviour of mDNS/RTSP sources advertisement and discovery. - Modified REST API to browse remote sources to allow browsing of SAP, mDNS and all sources via HTTP GET /api/browse/sources/[all|mdns|sap]. - Amended daemon documentation. Andrea Bondavalli 2020-04-23 11:45:58 -07:00
  • 5e6c47b7f2 Merge branch '8_channels_demo' of https://github.com/bondagit/aes67-linux-daemon Andrea Bondavalli 2020-04-10 13:14:41 -07:00
  • 1d2ea0875c Added support for AM824 codec for testing - added patch to ravenna-alsa-lkm module to support AM824 codec and associated conversion functions - added support for AM824 codec to daemon and in WebUI - modifed demo to test 8 channels of AM824 with 6 samples per packet @ 48Khz (125us x packet) Andrea Bondavalli 2020-04-10 13:04:44 -07:00
  • e9dd44fdb4 Minor changes Andrea Bondavalli 2020-04-10 13:01:36 -07:00
  • 28579de590 Set of enhancements to the WebUI Browser tab: - added display of domain parameter for the remote sources discovered via mDNS - the list of remote sources is ordered by name Andrea Bondavalli 2020-04-08 11:25:16 -07:00
  • 9898c9fac0 Set of enhancements and fixes to the daemon browser: - browser stores the RTSP sources discovered via mDNS by name and domain - domain field added to JSON Remote Source params - removed trailing CR/LF to the end of SAP source name Andrea Bondavalli 2020-04-08 11:24:10 -07:00
  • 8c1f304065
    Update README.md Andrea Bondavalli 2020-04-04 11:41:16 +02:00
  • 0f8b9e714e Revised Avahi client integration in mDNS client: - aligned state handling with avahi-browse tool: browser is started in client callback - browsing is limited to IPv4 services discovered on the specific daemon network interface only Additional minor changes. Andrea Bondavalli 2020-04-03 09:55:01 -07:00
  • 449db1c73c Added to the WebUI the possibility to configure mDNS enabled option Andrea Bondavalli 2020-04-02 20:00:16 +02:00
  • 4e02f74500 Merge branch 'master' of https://github.com/andreabondavalli74/aes67-linux-daemon Andrea Bondavalli 2020-04-02 19:50:53 +02:00
  • 85c36c3fd6 fix: mdns_enabled parameter encoded as JSON boolean instead of JSON string Andrea Bondavalli 2020-04-02 19:50:35 +02:00
  • 077158713f
    Update README.md Andrea Bondavalli 2020-04-01 19:04:05 +02:00
  • e37c615cd8 Merge branch 'master' of https://github.com/andreabondavalli74/aes67-linux-daemon Andrea Bondavalli 2020-04-01 17:41:12 +02:00
  • 92768454f4 Increased HTTP client read timeout in session manager and in regression tests. This fixes regression tests execution on slow hosts. Andrea Bondavalli 2020-04-01 17:39:48 +02:00
  • 92d43383c2 Merge branch 'master' into 8_channels_demo Andrea Bondavalli 2020-03-31 19:42:11 +02:00
  • 9aaea28fa7 Merge branch 'master' into 8_channels_demo Andrea Bondavalli 2020-03-31 19:41:37 +02:00
  • bae57687fd
    Update README.md Andrea Bondavalli 2020-03-31 19:35:34 +02:00
  • 7299b0f5be Addded short introduction Andrea Bondavalli 2020-03-31 18:47:58 +02:00
  • 22cdd55085 Addded short introduction Andrea Bondavalli 2020-03-31 18:46:20 +02:00
  • 0fccbf57d6 Changed demo configuration to loopback test with 8 channels Andrea Bondavalli 2020-03-30 19:17:30 +02:00
  • b14e0d56d7 Merge branch 'master' of https://github.com/andreabondavalli74/aes67-linux-daemon Andrea Bondavalli 2020-03-30 19:01:43 +02:00
  • 71c0cc7656 Changes to WebUI: - added support to the WebUI for 6 samples (125ms @ 48Khz) per packet in Source configuration - enhanced remote source SDP listing in Sink configuration to display remote SDP source, address and name Andrea Bondavalli 2020-03-30 19:00:00 +02:00
  • 499bad529d Disable mDNS discovery during the demo. Andrea Bondavalli 2020-03-30 18:59:24 +02:00
  • bf8a4c56da Fixed handling of IGMP join and leave for the multicast RTP sessions. The IGMP handling was broken in case the RTP multicast address of a stream was updated. Andrea Bondavalli 2020-03-30 18:58:07 +02:00
  • 3947b77d7c Fixed error check of rtp_mcast_base and sap_mcast_addr parameters. The problem was preventing the possibility to change the values from the defaults of these two parameters. Andrea Bondavalli 2020-03-30 18:55:10 +02:00
  • 0e757d475d
    Update README.md Andrea Bondavalli 2020-03-29 20:07:35 +02:00
  • 24fa02e850
    Update README.md Andrea Bondavalli 2020-03-29 20:05:17 +02:00
  • 3c295a3c96 Merge branch 'master' of https://github.com/andreabondavalli74/aes67-linux-daemon Andrea Bondavalli 2020-03-29 19:44:10 +02:00
  • 5deb6c1927 Added to the daemon the support for Multicast DNS (using Linux Avahi) to allow discovery of remote audio sources and of RTSP for SDP transfer. Added to the WebUI the possibility to directly select a remote source SDP file for a Sink. Andrea Bondavalli 2020-03-29 19:41:56 +02:00
  • 6fca37812a
    Update README.md Andrea Bondavalli 2020-03-25 20:21:36 +01:00
  • 596500b130 Minor changes Andrea Bondavalli 2020-03-20 22:58:21 +01:00
  • dff3ab3cba Multiple fixes: - fixed destination MAC address set when adding a source and a sink according to IANA specs - fixed retrieval of network interface MAC address - added <list> inclusion to header files using std::list - fixed regression test suite - additional minor changes Andrea Bondavalli 2020-03-20 18:58:08 +01:00
  • a70505989f Minor changes Andrea Bondavalli 2020-03-06 23:11:54 +01:00
  • 27bee43c20 Fixes to documentation Andrea Bondavalli 2020-03-06 11:16:39 -08:00
  • d99bf3ed4a Added SAP browser functionalities to the daemon and the WebUI - added "sap_mcast_addr" parameter to daemon conguration and WebUI to configure the SAP multicast address used for sending and receiving source announcements - added REST API to retrieve the remote sources collected by the daemon (GET /api/browse/sources) - added Browser tab to the WebUI to visualize info on the available remote sources - added Info function to sources listed in the Sources tab to visualize the associated SDP file - extended daemon regression tests to test the SAP Browser Andrea Bondavalli 2020-03-06 10:58:07 -08:00
  • f57046a478 fix: use steady_clock instead of high_resolution_clock to avoid being affected by date/time changes Andrea Bondavalli 2020-03-02 19:06:21 +01:00
  • c62ccdb808 Added fix to ALSA RAVENNA/AES67 module to solve compilation error "undefined named operand ‘new’" using kernel headers 5.4.19-rt11. Since this fix seems to work on all the kernels I tested so fax (> 4.14.x) I add it to the generic fixes patch file (ravenna-alsa-lkm-fixes.patch). Andrea Bondavalli 2020-02-29 10:41:31 +01:00
  • 9166c22828
    Update README.md Andrea Bondavalli 2020-02-26 21:09:34 +01:00
  • 4a5f2f8dc0
    Fix to the max_sample_per_packet parameter description Andrea Bondavalli 2020-02-13 19:18:23 +01:00
  • e1ce27a029 Fixed execution of regression tests on very slow hosts: wait up to 10secs for the daemon to show up at startup. Consider disabling valgrind in such cases (_MEMORY_CHECK_ define). Andrea Bondavalli 2020-02-12 22:05:27 +01:00
  • 2636995720
    Update README.md Andrea Bondavalli 2020-02-12 20:33:56 +01:00
  • b3c856e67e Added documentation for get PTP Status REST API Andrea Bondavalli 2020-02-12 19:47:19 +01:00
  • d9e167c5ab
    Update README.md Andrea Bondavalli 2020-02-11 08:10:52 +01:00
  • 4c8b225c44 Set of fixes impacting playout delay, max SAP message size and minor enhancements to WebUI. Andrea Bondavalli 2020-02-10 21:32:02 +01:00
  • 8fbfbf9869 WebUI PTP component split into PTPConfig and PTPStatus components Andrea Bondavalli 2020-02-08 01:19:51 -08:00