]> git.ipfire.org Git - thirdparty/nqptp.git/commitdiff
Merge from main.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Thu, 15 Sep 2022 14:36:45 +0000 (15:36 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Thu, 15 Sep 2022 14:36:45 +0000 (15:36 +0100)
README.md
RELEASE_NOTES.md
nqptp-message-handlers.c

index 1c8f98d74cc1a076c7762365b212c1471004d6c1..6d2610856afa8a659f48047a5699d9ece8e9289a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -90,6 +90,7 @@ If Shairport Sync is already running, you should you restart it after starting `
 ```
 # service shairport_sync restart
 ```
+
 ##### Update
 If you are updating an existing installation of `nqptp`, after installing it you should restart it. You should then also restart Shairport Sync:
 ```
@@ -97,14 +98,18 @@ If you are updating an existing installation of `nqptp`, after installing it you
 # service shairport_sync restart
 ```
 
+## Firewall
+If your system runs a firewall, ensure that ports 319 and 320 are open for UDP traffic in both directions. These ports are associated with PTP service and may be referred to as "PTP" in firewall rules. For example, the following would open ports 319 and 320 for Fedora, which uses `firewalld`:
+```
+# firewall-cmd --permanent --add-service=ptp
+```
+
+
 ## Notes
 Please note that `nqptp` must run in `root` mode to be able to access ports 319 and 320.
 
 Since `nqptp` uses ports 319 and 320, it can not coexist with any other user of those ports, such as full PTP service daemons.
 
-## Firewall
-If your system runs a firewall, ensure that ports 319 and 320 are open for UDP traffic in both directions. These ports are associated with PTP service and may be referred to as "PTP" in firewall rules.
-
 ## Programming Notes
 A _timing peer list_ can be sent to `nqptp` over port 9000. The list consists of the letter `T` followed by a space-separated list of the IP numbers of the timing peers. The list replaces any existing timing peer list.
 
index 06fe7b3c8af42f4620dc8916b3f2ff3f3d394632..b63e2332ee77056ee52cb83249f11e2e1f01c75f 100644 (file)
@@ -4,10 +4,30 @@ Weird build numbers.
 **Bug Fix**
 * Only try to start a silent clock if no follow_ups have _ever_ been received from it.
 
+## Version: 1.1-dev-168-g3444047
+***Pesky Changes You Can't Ignore***
+
+* **Important**. The Shared Memory Interface protocol that Shairport Sync and NQPTP use to communicate with one another has been updated to reflect changes in NQPTP's operation. Please update both NQPTP and Shairport Sync so that they both use the same version number -- 8.
+
+**FYI**
+
+* The ability to handle multiple instances of AirPlay-2-capable Shairport Sync on the same system has been removed. It seems that clients can not use this facility.
+
+**Enhancements**
+* Greatly simplify NQPTP by only monitoring PTP information coming from the client, ignoring all other PTP information.
+* In addition to trying to restart a clock that is silent, also send a restart to a clock if the clock's grandmaster appears to have stopped.
+
 ## Version: 1.1-dev-186-g4e54f1b
 **Bug Fixes**
 * Reorder system header files includes to fix a compilation error.
 
+## Version: 1.1-dev-166-g46a9f1b
+* Update the wording in the INSTALL document to match the wording generated at the `autoreconf -fi` stage, so that `git` doesn't flag an altered document. Thanks to [David Leibovic](https://github.com/dasl-) for bringing this to notice.
+
+## Version: 1.1-dev-161-g353093a
+**Bug Fix**
+* If a player (e.g. a HomePod mini) that was providing the master clock was removed from the set of devices playing, the new master clock retained out-of-date information about the old master clock. This could cause problems going to the next track or to a previous one, causing them not to be heard. Thanks (again!) to [Kristian Dimitrov](https://github.com/Kristian8606) for a precise description of how to cause the problem.
+
 ## Version: 1.1-dev-164-g086a123
 **Enhancements**
 * Improve the accuracy of the clock by including data from the `correctionField` part of a PTP message. Most of the time, this is a fraction of a millisecond, but sometimes it can be larger.
index 75708b4b6f4700ffcb8c2303b34e36192905b5b7..c663c3d41df9408eeb0443c44e6aed34b991b2de 100644 (file)
@@ -127,6 +127,8 @@ void handle_control_port_messages(char *buf, ssize_t recv_len,
                 }
                 // otherwise, drop it
               }
+              
+              
             }