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
James Laird
9bfa48f100
player: remove redundant code path for fetch/play thread
...
conditional wait code was redundant since a contributed change that
plays silence if nothing is in the buffer. that also broke the buffer
fill estimator reset pathway.
2013-04-08 20:51:01 +10:00
James Laird
9b9680819a
player: cleanups
...
should get rid of some sign issues in debug messages on ARM
2013-04-08 19:58:16 +10:00
Brendan Shanks
883d462192
Call freeaddrinfo() in rtp.c
...
Plug a (small) memory leak from getaddrinfo()
2013-04-03 08:53:53 -07:00
Brendan Shanks
66ccc1ef0e
Merge remote-tracking branch 'abrasive/1.0-dev' into 1.0-dev
2013-04-03 08:43:52 -07:00
James Laird
0f7b32ab6d
debug: multilevel debug functions
2013-04-03 21:54:45 +11:00
James Laird
6090b490ed
rtp: don't resync on mystery resend-related packet
2013-04-03 21:38:32 +11:00
Brendan Shanks
9896ed828a
Add #includes for OpenBSD
...
Add includes for <sys/types.h> and <netinet/in.h> to rtp.c and rtsp.c, needed
for the declarations of IPPROTO_TCP, IPV6_V6ONLY, and others.
2013-04-02 10:39:30 -07:00
James Laird
4a752e67e4
fix IPv6 support
2013-04-02 21:32:56 +11:00
James Laird
cf8401dbc8
Add copyright notices.
2013-04-01 21:57:11 +11:00
James Laird
a2fb5d219d
Refactor and rewrite.
...
Perl script is removed in favour of C. Stale documentation and initfiles
are removed for now also.
C interface works, but still needs work (for example, mDNS is missing) -
see TODO.
2013-04-01 18:57:08 +11:00