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 |
|
Mike Brady
|
707204e7e8
|
Quieten a few temporary wanrings.
|
2021-07-22 12:43:21 +01:00 |
|
Mike Brady
|
a85a9ac0e4
|
Add a dummy handler for the POST /feedback request.
|
2021-07-22 11:03:32 +01:00 |
|
Mike Brady
|
4e6f1e5e65
|
Pick up active Remote information as well as DACP-ID.
|
2021-07-19 21:51:47 +01:00 |
|
Mike Brady
|
9748297737
|
Pick up the DACP-ID for AP2 streams. Move the mdns txt string globals around a bit.
|
2021-07-19 17:13:27 +01:00 |
|
Mike Brady
|
4c9d1f7904
|
Make mDNS txt record arrays global and permanent. We hope to be able to modify them dynamically later.
|
2021-07-19 12:07:14 +01:00 |
|
Mike Brady
|
3a6297bc9a
|
Honour max_output_db setting even when ignore_volume_control is true. Spell out "Shairport Sync" in the Home app information.
|
2021-07-16 15:04:51 +01:00 |
|
ejurgensen
|
1a64a56c3f
|
Add Homekit pairing methods (pair-add/list/remove + configure)
Also change the features flag to match airplay2-receiver
|
2021-07-15 23:23:08 +02:00 |
|
Mike Brady
|
a07ece496e
|
Quieten a few more debug messages.
|
2021-07-14 09:23:50 +01:00 |
|
Mike Brady
|
58b8513ccd
|
Spell out "Shairport Sync" explicitly so that it appears in the info in the Home app. Quieten a debug message.
|
2021-07-14 08:58:43 +01:00 |
|
ejurgensen
|
e4901d6be2
|
Add Homekit pairing methods (pair-add/list/remove + configure)
Also change the features flag to match airplay2-receiver
|
2021-07-13 23:43:57 +02:00 |
|
Mike Brady
|
c37ee4542d
|
Add code to skip packets of buffered audio that are late or too early.
|
2021-06-09 19:35:08 +01:00 |
|
Mike Brady
|
93aefbd8ea
|
get the activity monitor working for the different types of stream
|
2021-06-06 15:50:05 +01:00 |
|
Mike Brady
|
13eccc3039
|
Quieten a debug message.
|
2021-06-03 09:52:05 +01:00 |
|
Mike Brady
|
c5dafbd28b
|
Remember the original anchor information so that if the master clock become equal to it in the future, it can be restored to those exact numbers and eliminate any intervening approximations. Add some diagnostics.
|
2021-06-01 14:51:17 +01:00 |
|
Mike Brady
|
d4ea91aa65
|
Rough and hacky but works with the bit depth of the output DAC to automatically choose the correct AAC decoding sample size. Allocation of rotating buffers is fixed and profligate.
|
2021-06-01 08:56:47 +01:00 |
|
Mike Brady
|
1464c4ed04
|
Restore ability to compile without AIRPLAY-2 flag (duh). Begin to split player_play into player_prepare and player_play.
|
2021-05-31 17:12:20 +01:00 |
|
Mike Brady
|
a109b587ec
|
Flush seems to be working properly and reliably. Some audio glitches removed too by dropping the first two AAC blocks of any passage. Crude. Flush diagnostic linked list stuff left in place.
|
2021-05-30 11:17:06 +01:00 |
|
Mike Brady
|
2ea28c0661
|
Much better flushing. Delayed flushing only works for one delay. Noice artifacts removed when skipping. Pretty solid.
|
2021-05-29 21:24:33 +01:00 |
|
Mike Brady
|
7c68f97d7f
|
flaky but some interesting stuff
|
2021-05-29 15:59:11 +01:00 |
|
Mike Brady
|
9cf4ef032d
|
Improving the flush behaviour.
|
2021-05-29 10:54:44 +01:00 |
|
Mike Brady
|
2986b282d3
|
Does pretty well with flushing. Sometimes misses a flush on a repeat one.
|
2021-05-28 22:20:11 +01:00 |
|
Mike Brady
|
e258cca33a
|
recognise two types of flush -- one with from and until information, the other with just until information. A flush with "with" information is not followed by a new set anchor, whereas a flush without the " with" information is alwasy followed by a new setanchor.
|
2021-05-28 19:16:37 +01:00 |
|