Commit Graph
4687 Commits
Author SHA1 Message Date
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 BradyandGitHub d25a20aa99 Update BUILDFORAP1.md 2021-10-11 19:04:33 +02:00
Mike Brady 430e3eda2b Forgot some documentation updates online.
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
2021-09-29 10:08:49 +01:00
Mike Brady 5c418702d6 Quieten some debug messages. 2021-09-29 10:08:22 +01:00
Mike BradyandGitHub e43c8dacda Update RELEASENOTES-DEVELOPMENT.md 2021-09-29 09:39:07 +01:00
Mike Brady 0fe21f3a56 Quieten a few debug messages. 2021-09-29 09:31:13 +01:00
Mike Brady d3c067d009 Honour the volume_range_db with a hardware attenuator, duh. 2021-09-29 09:26:46 +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 BradyandGitHub b5801f6302 Update RELEASENOTES-DEVELOPMENT.md 2021-09-28 17:40:33 +01:00
Mike Brady 37faed13af Is sufficiently different from 4.0-dev... 2021-09-27 19:37:09 +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 BradyandGitHub ef9c46610c Update RELEASENOTES-DEVELOPMENT.md 2021-09-17 19:27:41 +01:00
Mike BradyandGitHub 41f3e8bd17 Update AIRPLAY2.md 2021-09-17 19:24:10 +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 2e4c391bf2 Change features flags in agreement with the metadata settings in the config file. 2021-09-10 17:42:47 +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 366eb27afc Stop a message from repeating endlessly. 2021-09-09 11:23:25 +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 7ff6d07c83 Don't need 'had_been_cancelled'. Remoted. 2021-09-06 11:02:59 +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 8ec99e806f Slight comment change. 2021-09-05 10:13:17 +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 45583479a2 Merge branch 'development' of github.com:mikebrady/shairport-sync into development
quieten a deprecation warning
2021-09-05 09:10:26 +01:00
Mike BradyandGitHub c9b34cc367 Update rtp.c
Stop a deprecated warning.
2021-09-05 09:09:44 +01:00
Mike Brady 659dbbe118 Online changes.
Merge branch 'development' of github.com:mikebrady/shairport-sync into development
2021-09-05 09:01:33 +01:00
Mike BradyandGitHub 5699d38387 Merge pull request #1284 from mao-liu/fix/ffmpeg-3.4
small change to fix codec loading for ubuntu-18/ffmpeg-3.4
2021-09-04 21:19:15 +01:00
Mao Liu 8d477d73dc small change to fix codec loading for ubuntu-18/ffmpeg-3.4 2021-09-04 14:51:11 +00: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 f058d118c1 Quieten a really noise message on verbosity 3. 2021-09-03 15:38:28 +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 fcd57227eb clang 2021-09-01 16:53:48 +01:00
Mike Brady f5e21ade64 clang 2021-09-01 16:53:14 +01:00
Mike Brady e2153d275d Add new type of airplasy stream 2021-09-01 16:40:43 +01:00
Mike Brady 063b02cb11 Mark the airplay_gid free by nulling it. 2021-09-01 16:40:04 +01:00
Mike Brady 7fde77c45d lock the avahi thread before modifying the strings 2021-09-01 16:39:32 +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 7d36f04025 If the airplay_gid is not NULL, free it before deleting the player. 2021-09-01 10:31:06 +01:00
Mike Brady 7fb8b288f0 Stop initialising the airplay_gid. Now if it's NULL it means the group UUID is the same as the deviice's pi. Alos airplay_gid is moved to the conn. 2021-09-01 10:30:24 +01:00
Mike Brady d703314c06 Move group ID store to the conn. Fix the size of the groupContainsGroupLeader plist boolean store. 2021-09-01 10:28:30 +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 f62ec66865 Make the features more like the APX2 2021-08-31 17:45:27 +01:00
Mike Brady 5d4d75ad4e add a place to store the groupContainsGroupLeader from SETUP 2021-08-31 17:43:56 +01:00
Mike Brady d2dc03d07c break out the POST /command stuff 2021-08-23 13:00:09 +01:00