James Laird
38799dc1b1
rtsp: track and join all RTSP threads
2013-06-07 11:32:14 +10:00
James Laird
f39b236a87
rtsp: do not race accept() and select()
2013-06-07 10:53:06 +10: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
c5b1f979e4
mdns: die iff the MDNS advertising process dies
...
and not if any other child does!
2013-06-04 00:26:55 +10:00
James Laird
98da1d2f66
whitespace fixes
2013-05-14 09:14:27 +10:00
James Laird
d5b17e2c23
rtsp: cleaner bind handling
...
- nicer debug messages
- arbitrary number of addresses, for multihomed hosts
- get rid of AI_ADDRCONFIG
2013-05-14 09:11:28 +10:00
James Laird
9894b52b7b
restore '-d' (daemonise) flag
2013-04-14 20:17:40 +10:00
James Laird
47853a05c5
rtsp: cleanup debug message
2013-04-08 19:58:58 +10:00
James Laird
dd23199752
cleanups
2013-04-04 08:57:00 +11: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
171e5d42ef
rtsp: safer buffer handling
2013-04-03 23:35:14 +11:00
James Laird
d3e89828c5
rtsp: handle volume messages
2013-04-03 23:34:58 +11:00
James Laird
0f7b32ab6d
debug: multilevel debug functions
2013-04-03 21:54:45 +11:00
Quentin Smart
f01b957fcd
rtsp: fix endian bug in challenge computation
...
on MIPS platform the IP address was reversed...
2013-04-03 21:34:02 +11:00
James Laird
89611b826f
rtsp: add a Session header to keep iTunes happy
...
With thanks to Quentin Smart (sm3rt) for the fix.
2013-04-03 20:27:34 +11:00
Brendan Shanks
a6f48e8d53
Define AI_ADDRCONFIG (needed for OpenBSD and NetBSD)
...
AI_ADDRCONFIG is not supported by some BSDs (OpenBSD and NetBSD).
It's not a critical flag, so define it to 0 just to fix the compile
error.
2013-04-02 11:00:00 -07: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
2e2dde1daa
rtsp: set playing_thread safely
2013-04-02 22:57:01 +11:00
James Laird
958a1612ed
fix compile warning
2013-04-02 22:55:25 +11:00
James Laird
c53054ec0a
use AI_ADDRCONFIG with getaddrinfo()
...
Fixes IPv4 systems with IPv6 present but disabled.
Fix courtesy of Quentin Smart (sm3rt)
2013-04-02 21:39:53 +11:00
James Laird
4a752e67e4
fix IPv6 support
2013-04-02 21:32:56 +11:00
James Laird
0cf3a0c10d
rtsp: remove include of malloc.h
...
stdlib.h provides malloc, and Apple have removed malloc.h entirely.
2013-04-02 19:41:03 +11:00
James Laird
cf8401dbc8
Add copyright notices.
2013-04-01 21:57:11 +11:00
James Laird
86e94064c0
fix potential deadlock while shutting down
2013-04-01 20:08:28 +11:00
James Laird
04b142dbe3
rewrite: add mDNS registration
2013-04-01 20:08:05 +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