Commit Graph
301 Commits
Author SHA1 Message Date
Mike Brady c7b1d4ba7e Update latencies for iOS 12 / macOS Mojave and fix a bug calling the run_this_when_volume_is_set program/script. 2018-10-14 10:20:00 +01:00
Mike Brady 660b57fecf Fix a bug that was causing instability when soxr interpolalation is chosen 2018-07-13 09:07:27 +01:00
Mike Brady b7e070e530 Update configure.ac 2018-07-11 21:04:31 +01:00
Mike Brady e4d2bf0033 3.2d66 corresponds to 3.2, with some extra features, e.g. mqtt 2018-07-10 13:29:03 +01:00
Mike Brady c943f95559 Update configure.ac 2018-07-09 14:22:11 +01:00
Mike Brady 553eea3fe3 Don't ask for packets to be resent quite as much. 2018-07-02 16:12:00 +01:00
Mike Brady 8ae8fcbfba Reduce the rate at which resends are requests to make them less, uh, insistent 2018-06-29 22:59:42 +01:00
Mike Brady 820486ad95 Add a hint for the mosquitto library. 2018-06-26 22:07:13 +01:00
Mike Brady 2e4243d723 Add a ProgressString property to the native D-Bus interface, improve the mutex lock timing checking 2018-06-22 09:10:39 +01:00
Mike Brady 63dbbd4812 Update configure.ac 2018-06-21 18:08:05 +01:00
Till Zimmermann c445510d5a minor improvements on the mqtt feature 2018-06-19 20:25:22 +02:00
Till Zimmermann 02694948f3 Initial MQTT Version 2018-06-19 19:40:08 +02:00
Mike Brady a3cf9232a6 Fix a bug causing a hangup when terminating a play session under rare circumstances. 2018-06-16 08:20:32 +01:00
Mike Brady 7da3a02ac4 Modify the RTSP write response code to output the entire response in one go. 2018-06-11 20:18:38 +01:00
Mike Brady 86c9d0f6a7 Add a pthread_cancel cleanup routine to put_packet to unlock that rw thread when cancelled. 2018-06-05 19:07:40 +01:00
Mike Brady b5b1a69f91 Use shutdown() before close() and separate out the cancel requests for the timing, control and audio threads, see if we can see anything. 2018-06-03 19:59:54 +01:00
Mike Brady b127e1a769 Monitor and time mutex locks and unlocks, add a diagnostic into the get_buffer loop. 2018-06-01 11:27:47 +01:00
Mike Brady 1df8858f27 Add yet more debugging to the TEARDOWN sequence. 2018-05-30 15:29:58 +01:00
Mike Brady ad1f5b9fa2 Increase debugging temporarily for a TEARDOWN. 2018-05-29 22:13:16 +01:00
Mike Brady 0914cf8713 Rename "mute_using_playback_switch" to "use_hardware_mute_if_available" and make it control volume-based mute as well as playback-switch-based mute. Tidy up some debug messages. 2018-05-26 15:23:12 +01:00
Mike Brady aed5ea2681 Treat volume-based muting the same as playback-switch-based muting and disable both by default. Rename the setting to "use_hardware_mute_if_available". Add a debug message for TEARDOWN 2018-05-25 09:43:19 +01:00
Mike Brady 925f89f9ec RC9 restores the correct calculation of the path for the PID file, where used. 2018-05-21 10:47:40 +01:00
Mike Brady 8e467c29d8 Fix a bug causing problems in CYGWIN 64, fix a bug causing excessive resend requests, fix two possible lock problems, tidy up some backend code, quieten some debug messages, start using pthread_cancel, bring level with 3.2d55. 2018-05-19 09:32:08 +01:00
Mike Brady 3fbd47ad05 Fix minor warnings from some of the backend modules and make the configure messages a little more helpful. 2018-05-18 15:22:20 +01:00
Mike Brady ba59ea9604 Drop a player_flush request if a read lock can't be acquired on the player thread. 2018-05-18 08:34:30 +01:00
Mike Brady 9d43064bfd If the player thread is locked, don't block player_put_packet. Instead, discard the packet. 2018-05-17 16:15:52 +01:00
Mike Brady 5fdcaf4cb0 Move to using pthread_cancel in place of pthread_kill -- due to a problem in CYGWIN, but the move makes the code simpler and more rugged. Tidy up the code a bit and remove a clobbering warning. Fix a bug casung excessive resend requests. 2018-05-17 10:59:16 +01:00
Mike Brady c2849b71ee Allow a great number of buffers and parameterise the fixed latency limits. 2018-05-15 09:12:17 +01:00
Mike Brady 49a76e6451 Fix a misue of rwlock and unlock -- they must be made on the same thread. 2018-05-13 14:41:59 +01:00
Mike Brady 8845c60397 Add a read-write mutex to protect a player thread when it's being created or deleted; make external accessors get a read lock. 2018-05-12 15:36:56 +01:00
Mike Brady 92206b2c14 Update configure.ac 2018-05-10 09:24:08 +01:00
Mike Brady 31d3526713 Make the UDP sockets blocking rather than non-blocking, but set a two millisecond limit on the sendto calls. 2018-05-09 09:31:42 +01:00
Mike Brady 0e207dc5ab Merge resolution to issue 694 (buzz during track change) into master branch 2018-05-08 21:14:51 +01:00
Mike Brady 1ddaa14224 Merge resolution to issue 694 (buzz during track change) into development branch 2018-05-08 20:26:26 +01:00
Mike Brady 9ebea33bb4 Update development version of TROUBLESHOOTING to match that of 3.2RC6. 2018-05-05 12:08:45 +01:00
Mike Brady 548d5da997 Restore the old way of determining latency for clients identifying with AirPlay user agent strings having a version of 353 (iOS 11.1.2) or earlier. 2018-05-05 11:49:48 +01:00
Mike Brady bb64c644a6 If it's an AirPlay user agent up to and including version 363 (iOS 11.1.2) use the old offset calculation by adding 11,205 frames to the offset. 2018-05-04 18:27:39 +01:00
Mike Brady b4b68ae336 Make the options for the dbus and mpris interfaces --with-dbus-interface and --with-mpris-interface rather than --with-dbus and --with-mpris. 2018-04-25 18:05:35 +01:00
Mike Brady 617deead73 Make the options for the dbus and mpris interfaces --with-dbus-interface and --with-mpris-interface rather than --with-dbus and --with-mpris. 2018-04-25 18:05:19 +01:00
Mike Brady fa6e2b3b9a Make the options for the dbus and mpris interfaces --with-dbus-interface and --with-mpris-interface rather than --with-dbus and --with-mpris. 2018-04-25 17:43:10 +01:00
Mike Brady 09bb60a338 Make the options for the dbus and mpris interfaces --with-dbus-interface and --with-mpris-interface rather than --with-dbus and --with-mpris. 2018-04-25 17:42:51 +01:00
Mike Brady 9f60fedfa3 Make resend error backoff work better and set it to 0.5 seconds. Quieten some routine debug messages. 2018-04-23 13:10:26 +01:00
Mike Brady 82459ac4b1 Merge back some of the changes made to the master release candidates. Matches 3.2RC4. 2018-04-19 13:49:07 +01:00
Mike Brady 2fc9ca74ba Send resend requests via the control channel rather than the audio channel. This makes it compatilbe iwht AirAudio and conformant with the unofficial guide to the airplay protocol. Brown bag time. 2018-04-19 10:17:08 +01:00
Mike Brady a7fdb46042 Make resend requests come from tyhe control socket rather than the audio socket. This makes it work with AirAudio and according to the unofficial standard. 2018-04-18 20:29:49 +01:00
Mike Brady 146796dac6 incorporate 3.2d30 stuff -- lots of important bug fixes -- and include the extra diagnostic information from RC2 2018-04-14 14:06:46 +01:00
Mike Brady a0964e2537 Fix serious and long-standing bugs in the control, audio and timing threads that could be responsible for low resilience on noisy and unrealiable networks. Add ability to simiulate UDP receive and send failures on timing, control and audio ports. Significantly improve resend requesting and handling. 2018-04-14 13:02:26 +01:00
Mike Brady 269dffacb4 Add the ability to pseudo-randomly drop audio packets to simiulate a noisy network. 2018-04-13 09:58:31 +01:00
Mike Brady 70d51b6722 RC2 has extra debug messages and handles situation where there is no DACP-ID or Active-Remote information 2018-04-11 10:41:44 +01:00
Mike Brady 453c51fc08 Allow sps to deal with duplicate RTSP messages like RECORD and SETUP. Add some diagnostics to the player. 2018-04-10 17:36:13 +01:00