Mike Brady
|
65773c5af4
|
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Some pull requersts and a documentation update.
|
2021-12-27 12:19:08 +00:00 |
|
Mike Brady
|
966d68bdec
|
Begin to get SPS to give a unique shm interface name to nqptp. Also clang format
|
2021-12-27 12:19:01 +00:00 |
|
Cody Cutrer
|
82c7f4eff0
|
extract several pieces of client metadata for AP2
|
2021-12-26 12:13:42 -07:00 |
|
Mike Brady
|
6d14698391
|
Send an empty timing list when a player is acquired.
|
2021-12-21 15:02:43 +00:00 |
|
Mike Brady
|
84dd2dc41f
|
Begin to try to figure out how to respond to remote control connections.
|
2021-12-12 13:28:10 +00:00 |
|
Mike Brady
|
a7a0208360
|
Only include code to modify the RTSP buffer length if metadata support is included in the configuration.
|
2021-12-10 09:15:30 +00:00 |
|
Mike Brady
|
429c5dc002
|
Add update to ejurgensen's pair_ap library. Thanks as always.
|
2021-12-08 11:59:09 +00:00 |
|
Mike Brady
|
b938064bae
|
Add client and server ip metadata for AP2. Remove timing peer list and DACP code only for a full AP2 teardown.
|
2021-12-07 21:34:53 +00:00 |
|
Mike Brady
|
31a34ae684
|
Fix another memory leak.
|
2021-12-07 20:34:23 +00:00 |
|
Mike Brady
|
d9b6a28307
|
Add a bogus exit for AP1 to make it easier to evaluate valgrind results.
|
2021-12-07 20:29:00 +00:00 |
|
Mike Brady
|
9eea4e4c0c
|
Another memory leak.
|
2021-12-07 20:05:37 +00:00 |
|
Mike Brady
|
7258a45bea
|
Fix a few more memory leaks
|
2021-12-07 19:58:00 +00:00 |
|
Mike Brady
|
765a489db4
|
Possibly fix a few memory leaks. Add a bogus exit to allow SPS to quit at the end of a play session, to make it easier to use valgrind.
|
2021-12-07 19:37:01 +00:00 |
|
Mike Brady
|
107bc71e56
|
Stop checking that the timing peers are within the same subnet.
|
2021-12-07 17:47:45 +00:00 |
|
Mike Brady
|
6a58eae314
|
Quieten a few debug messasges.
|
2021-12-07 17:37:16 +00:00 |
|
Mike Brady
|
fd3d461a16
|
stop removing the play lock at the end of a play session. That's the job of the rtsp thread.
|
2021-12-07 15:09:05 +00:00 |
|
Mike Brady
|
3de7e9a5c5
|
Look for at least 0.1 seconds of leadtime, ensure a master clock is at least 0.275 seconds old before use, quieten a few debug messages.
|
2021-12-07 12:09:49 +00:00 |
|
Mike Brady
|
70821f8127
|
Clang Format
|
2021-12-06 18:45:25 +00:00 |
|
Mike Brady
|
1e21368213
|
Add txtAirPlay data to info response. Don't pause long RTSP message reception.
|
2021-12-06 18:16:57 +00:00 |
|
Mike Brady
|
231d5242d7
|
clang format only
|
2021-12-02 11:19:52 +00:00 |
|
Mike Brady
|
d32544d904
|
Set the timing peer list as soon as a SETPEERS message is received -- don't wait until play is about to begin. Not sure if it works universally yet.
|
2021-12-02 11:17:59 +00:00 |
|
Mike Brady
|
7b8e293f8b
|
Change behaviour after an unrecoverable error -- if not handled, exit Shairport Sync.
|
2021-12-01 09:01:31 +00:00 |
|
Mike Brady
|
56bef8e7dd
|
Use CLOCK_MONOLITHIC_RAW to avoid NTP effects, report raw and corrected timing from audio_alsa. Clean up statistics. Stop watchdog timing out AP2 sessions. CLean up some debug messages.
|
2021-11-28 16:08:48 +00:00 |
|
Mike Brady
|
c0a3dacf30
|
Working to check for divide / mod by 0's
|
2021-11-17 10:35:21 +00:00 |
|
Mike Brady
|
98c45cbb1b
|
Fix a bug that was causing a compiler warniong about a potentially uninitialised variable.
|
2021-11-02 09:15:04 +00:00 |
|
Mike Brady
|
311a5c884c
|
slight tidying up
|
2021-10-24 11:36:40 +01:00 |
|
Mike Brady
|
d2e35fc02e
|
Return 501 "Not Implemented" for unexpected RTSP commands -- it seems to work better. The old code, 400, didn't seem to get the required response.
|
2021-10-22 19:36:31 +01:00 |
|
Mike Brady
|
5c418702d6
|
Quieten some debug messages.
|
2021-09-29 10:08:22 +01:00 |
|
Mike Brady
|
0fe21f3a56
|
Quieten a few debug messages.
|
2021-09-29 09:31:13 +01:00 |
|
Mike Brady
|
af6511007e
|
Allow Shairport Sync to be build without including the metadata stuff.
|
2021-09-29 09:02:53 +01:00 |
|
Mike Brady
|
4a82745561
|
Allocate, deallocate and NULL the rtp_event_thread memory space so that it is only deleted once!
|
2021-09-18 12:22:57 +01:00 |
|
Mike Brady
|
02734e58c2
|
Merge with the aillwee development branch
|
2021-09-16 17:54:47 +01:00 |
|
Mike Brady
|
e06be8c916
|
Allow compilation with AirPlay2 not selected.
|
2021-09-12 15:31:45 +01:00 |
|
Mike Brady
|
1438216878
|
Add full teardown actions to RTSP stream cleanup to correctly close all connections.
|
2021-09-12 15:24:48 +01:00 |
|
Mike Brady
|
2e123cf39a
|
Fix compilation errors that accumulated with no --with-airplay-2 flag set.
|
2021-09-09 11:24:23 +01:00 |
|
Mike Brady
|
9f9513f2e3
|
Fix a crashing bug in cancel_all_RTSP_threads.
|
2021-09-07 07:44:28 +01:00 |
|
Mike Brady
|
7def758f13
|
Clang
|
2021-09-06 14:30:13 +01:00 |
|
Mike Brady
|
8049f1e60b
|
Improve cancelled connection memory recovery. Remove some trick-bicycling programming from connection memory recovery. Use mutexes. Recover cancelled connection memory immediately.
|
2021-09-06 11:05:20 +01:00 |
|
Mike Brady
|
1fc00e13e9
|
Seems to work better with iOS / HomePod mini speaker selection. Does not recover discarded rtsp stream memory!
|
2021-09-06 09:11:24 +01:00 |
|
Mike Brady
|
dd795d9157
|
To address Issue 1107, set the number of items to buffer to 255. Thanks to https://github.com/PieGuy314 and https://github.com/Hello71 for reporting.
|
2021-09-05 10:12:41 +01:00 |
|
Mike Brady
|
ae1c4f1d29
|
redo handle_setup to identify ptp, ntp and remote control streams, returns 400 for remote control and unrecognised stuff.
|
2021-09-04 15:08:44 +01:00 |
|
Mike Brady
|
078b708087
|
Uncomment code to list the contents of an incoming message. Get the source airplay version. Quieten some messages.
|
2021-09-03 15:41:47 +01:00 |
|
Mike Brady
|
b24380d34b
|
Move the release of the group UUID to when the connection ends, not when the play session ends.
|
2021-09-02 12:20:53 +01:00 |
|
Mike Brady
|
6ebc251791
|
quieten a few debug messages
|
2021-09-01 16:54:19 +01:00 |
|
Mike Brady
|
650077bc83
|
Tiny update. Note thay SPS can not participate in a remote control connection.
|
2021-09-01 12:08:13 +01:00 |
|
Mike Brady
|
7c4308ce3a
|
Move groupUUID storage to the conn, as it's a property of a connection not of the player. Improve some debug messages. Alsways update the bonjour strings dueing a SETUP, only reset grooup UUID when a TEARDOWN closes a connection, not when it closes a stream.
|
2021-09-01 10:33:29 +01:00 |
|
Mike Brady
|
620d6fae60
|
Rearrange code for setting bonjour strings. Improve response text from msg_write_response. Decode updateMRSupportedCommands stuff for curiosity. Capture group ID and groupContainsGroupLeader from setup and post them in the Bonjour strings. Include 'isGroupLeader=0' if it's in a group. Restore group ID and related stuff when deselected. Set bit 11 'DeviceSupportsRelay' when selected and clear when deselected.
|
2021-08-31 17:54:59 +01:00 |
|
Mike Brady
|
d2dc03d07c
|
break out the POST /command stuff
|
2021-08-23 13:00:09 +01:00 |
|
Mike Brady
|
90740694ba
|
When an unrecognised SETUP message is received, just say okay and ignore it. Remove reduncant client_setup_plist from the conn data structure.
|
2021-07-28 12:58:20 +01:00 |
|
Mike Brady
|
4090b2d8fb
|
Avoid repreatedly asking Avahi to monitor for the same DACP-ID. Quieten some debug messages.
|
2021-07-22 13:23:57 +01:00 |
|