Commit Graph
60 Commits
Author SHA1 Message Date
Mike Brady 5028cd1f9f Add information about local ip address so we can send back connections to the client from the same ip number it used to contact us 2016-05-01 22:37:57 +01:00
Mike Brady a7682415f1 Comment out the use of the delay() function, and update is to the new signature anyway. 2016-03-29 16:08:15 +00:00
Mike Brady 1dde99daff demote debug info about network 2016-03-27 16:32:24 +00:00
Mike Brady 1805fdb867 Get packet stats at debug level 1 2016-03-26 22:26:52 +00:00
Mike Brady b608655c71 Add comment that get_reference_timestamp_stuff is okay type-wise 2016-03-26 21:42:14 +00:00
Mike Brady 95f1689858 Quieten an out-of-sequence message 2016-02-29 15:15:55 +00:00
Mike Brady c235dc3031 Add debug message calculating packet arrival and disperal times 2016-02-29 15:06:38 +00:00
Mike Brady c2949b0ff5 Add proper data structure for passing parameters between threads. Add some debug messages. 2016-02-02 09:08:19 +00:00
Mike Brady 45061e993e Turn on extra debugging 2016-01-24 13:36:16 +00:00
Mke Brady 28198c6984 Quieten some debug messages. 2016-01-23 17:58:03 +00:00
Mike Brady 21fb39d22f Begin to clean up the 'stop' signalling among the threads -- try to remove as many globals as possible 2016-01-22 17:47:25 +00:00
Mike Brady 8eed253c98 Comment out the IPv6 public stuff -- OpenWrt doesnt like it 2015-12-30 19:33:56 +00:00
Mike Brady b8b5b7fa1e Restore ability to compile in FreeBSD 2015-12-28 20:38:51 +00:00
Mike Brady 4d73fa23b3 Prefer to use a public ipv6 number where privacy extensions are enabled 2015-12-28 15:18:09 +00:00
Mke Brady de6fee22d7 Fix typo which could have become a bug 2015-11-29 09:18:18 +00:00
Mike Brady 2a6071e9ce Fix a misspelling and quieten a debug message. 2015-10-17 11:11:57 +01:00
Mke Brady 569154159d Add experimental negotiated latencies setting and associated logic. 2015-09-25 18:19:00 +01:00
Mike Brady 8776f84e86 Initial debug and exploratory code 2015-09-25 16:47:58 +01:00
Mike Brady 38a10e1490 Quieten some diagnostics and add a brief comment about the diagrnosticsi nthe timing code in rtp.c 2015-07-10 15:15:00 +00:00
Mike Brady 8a7647bdc3 Add timing request turnaround time to diagnostics 2015-07-02 19:37:27 +01:00
Mike Brady 0c5584cbef Correct the calculation of source DAV drift 2015-07-01 10:22:26 +00:00
Mike Brady fcec637340 Add buffer size to diagnostics 2015-06-29 18:25:39 +00:00
Mike Brady 513cc31c76 Invert sense of clock drift figure. A positive number now means the source clock (i.e. the remote clock) is running faster than the local clock. 2015-06-29 09:11:59 +00:00
Mike Brady a61e6d319e Use smoothed time differences 2015-06-28 19:54:42 +01:00
Mike Brady fb5c4f3012 Better calculation of f drift between the two clocks 2015-06-28 19:44:24 +01:00
Mike Brady 841014277e Add check of drift in the source material -- i,e, divergence between calculated and actual remote clocks for frames. 2015-06-26 15:11:21 +01:00
Mike Brady 300b4abe6f Add ability to output clock drift and corrections applied, both in microseconds. 2015-06-25 14:23:21 +00:00
Mike Brady 830c190231 Modify the output of drift to parts per million, thanks to joerg-krause. 2015-06-25 10:59:26 +00:00
Mike Brady e3722d9309 Add a parts-per-billion drift output. Not really verified, but interesting all the same. 2015-06-24 16:48:20 +00:00
Mike Brady 9d12f52abb Quieten a debug message 2015-06-17 20:50:52 +01:00
Mike Brady 7bc6d08872 Enable control thread to handle retransmitted audio packets. Seems like a bug that they should show up here, but whaale does it. 2015-06-17 18:43:00 +01:00
Mke Brady 8c55f603bc UDP port numbers are now chosen from port 7000 up. Two options are introduced to control this. joerg-krause's stack erro fix installed. 2015-06-10 22:18:17 +01:00
Mke Brady 87a0475c16 Reformat using clang-format. 2015-06-01 23:16:50 +01:00
Mike Brady 7a3c9e8b46 Clean up debug message if pause request fails. 2014-09-27 18:33:37 +01:00
Mike Brady ddb77e2e5d Check pause request return for a 204 code, quiten some debug messages. 2014-09-23 10:47:50 +01:00
Mike Brady f2a54dd00c Send SIGUSR2 to shairport sync and it will send a pause request to the source. Also keep checking buffers. 2014-09-22 18:31:30 +01:00
Mike Brady 266e4b29eb Fix a probably-silent bug in makeing resend requests. 2014-09-10 08:41:05 +01:00
Mike Brady 367470ef00 Turn off debug message about jitter. 2014-09-07 15:59:27 +01:00
Mike Brady 2cded85dd4 1. Fix sendto calls to use the exactly correct length for message destinations. OS X objects to incorrect lengths, though Linux is silent on it.
2. Use getaddrinfo to make up correctly-formed destination sockets.
3. bind_port is now a steaming mass of crap.
2014-09-07 12:39:45 +01:00
Mike Brady 7bf5d4d63f Add support for centralised timing, jitter calculation, probably not working, add an aging factor to dispersion, as per NTP. Check crudely for out of sequence packets. 2014-08-24 16:23:12 +01:00
Pieter Pottie 86c8d0603f Bind audio stream, timing and control sockets to available port instead of hard coded ports 6000, 6001, 6002 2014-08-17 17:08:50 +01:00
Mike Brady f251d7d3ec Add extra diagostic messages for bad/odd packets. 2014-05-20 15:48:45 +01:00
Mike Brady 1a0932d92a Remove extra returns and generally clean up some debug messages. 2014-05-19 19:12:13 +01:00
Mike Brady 9dda883809 Add ability to ask for extra timing packets at the start. 2014-05-07 10:19:10 +01:00
Mike Brady bd653443ce Remove chatty debug messages. 2014-05-05 21:29:21 +01:00
Mike Brady 9a5e313d93 Improve error detection. 2014-05-05 21:19:58 +01:00
Mike Brady f3800e4604 add functionality to solicit and process timing and control packets, including thread instantiation and deletion, time reference management, more... 2014-04-30 20:52:40 +01:00
James Laird e15614d17e rtp/rtsp: more debugging in verbose mode 2013-06-07 01:47:27 +10:00
James Laird 8259ae60e8 die/warn functions now have implicit newline at the end 2013-06-04 00:30:17 +10:00
James Laird 98da1d2f66 whitespace fixes 2013-05-14 09:14:27 +10:00