Its 353 not 363.

This commit is contained in:
Mike Brady
2018-05-04 20:21:47 +01:00
parent 368a63e1e3
commit b0db1b228c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
Version 3.2d45
====
**Enhancement**
* Restore the old method for calculating latency for older AirPlay sources: an AirPlay source displaying an AirPlay User Agent string verion of 363 or older -- corresponding to iOS 11.1.2 or older -- will add an extra 0.25 seconds to the latency requested. This seems to be right.
* Restore the old method for calculating latency for older AirPlay sources: an AirPlay source displaying an AirPlay User Agent string verion of 353 or older -- corresponding to iOS 11.1.2 or older -- will add an extra 0.25 seconds to the latency requested. This seems to be right.
Version 3.2d44
====
+2 -2
View File
@@ -303,11 +303,11 @@ void *rtp_control_receiver(void *arg) {
uint16_t flags = nctohs(&packet[2]);
int64_t la = sync_rtp_timestamp - rtp_timestamp_less_latency;
debug(3, "Latency derived just from the sync packet is %" PRId64 " frames.", la);
if ((flags == 7) || ((conn->AirPlayVersion > 0) && (conn->AirPlayVersion <= 363))) {
if ((flags == 7) || ((conn->AirPlayVersion > 0) && (conn->AirPlayVersion <= 353))) {
la += config.fixedLatencyOffset;
debug(3, "A fixed latency offset of %d frames has been added, giving a latency of "
"%" PRId64
" frames with flags: %d and AirPlay version %d (triggers if 363 or less).",
" frames with flags: %d and AirPlay version %d (triggers if 353 or less).",
config.fixedLatencyOffset, la, flags, conn->AirPlayVersion);
}
if ((conn->maximum_latency) && (conn->maximum_latency < la))