Commit Graph
118 Commits
Author SHA1 Message Date
Mike Brady ced68dd045 Emit mdst and mden even if no rtptime is available. Use pcst and pcen tags to distinguish between metadata and picture tags 2015-10-25 13:50:23 +00:00
Mke Brady 07c3993096 Turn off some debug messages 2015-10-21 12:32:59 +01:00
Mke Brady 90f8ccd0c5 Add rtptime info to mdst and mden tokens and emit those tags also around PICT metadata. 2015-10-21 11:58:38 +01:00
Mike Brady 1ebcb80842 Bring all the updates to 2.4.2 2015-10-17 12:14:46 +01:00
Mike Brady 2a6071e9ce Fix a misspelling and quieten a debug message. 2015-10-17 11:11:57 +01:00
Mke Brady a89da7fded Fix a bug whereby it would not start to play the stream -- visible when used as system sound. Improperly initialised first_packet_timestamp 2015-10-06 13:39:05 +01:00
Mke Brady 6fada5ff70 Add GET_PARAMETER method and also a check for unrecognised rtsp requests 2015-10-04 21:56:12 +01:00
Mke Brady 440b592f64 Make automatic latency selection default. Warn of deprecation of static latencies 2015-10-01 08:21:21 +01:00
Mke Brady b75f7073b0 Move development version ower to stable 2.4.1 2015-09-27 14:19:40 +01:00
Mke Brady 569154159d Add experimental negotiated latencies setting and associated logic. 2015-09-25 18:19:00 +01:00
Mike Brady 8776f84e86 Initial debug and exploratory code 2015-09-25 16:47:58 +01:00
Mike Brady 3353a922d1 Version 2.4 Release – Please read README.md
Update comments about 'daid' and 'acre' tokens and update the copyright notice.
2015-09-10 11:44:22 +05:30
Mike Brady d18dfdf21d Add comment about daid and acre tokens 2015-09-10 11:40:41 +05:30
Mike Brady 84307f6beb Move non-blocking-write code from here to common 2015-08-06 14:31:40 +02:00
Mike Brady 38a10e1490 Quieten some diagnostics and add a brief comment about the diagrnosticsi nthe timing code in rtp.c 2015-07-10 15:15:00 +00:00
Mike Brady 4986f06522 Remove a few implicit definition warnings 2015-06-28 18:50:42 +01:00
Mike Brady 15be54e270 Add code to announce device name and or user agent when a play session is started. 2015-06-19 13:01:29 +00:00
Mike Brady 2627757e00 Compile DACP-ID and Active-Remote metadata stuff only if metadata is selected. 2015-06-18 16:12:15 +00:00
Mike Brady b352e7ccca Fix <item>..</item> generation, add DACP-ID and Active-Remote metadata 2015-06-17 20:51:56 +01:00
Mike Brady 2a1fe7afed Add ability to deal with an unencrypted audio stream 2015-06-17 12:10:33 +01:00
Mke Brady 5c33488eaf Print our whole meessage content on error 2015-06-15 21:33:35 +01:00
Mike Brady 0da133ca23 Add messages to see what's missing in whaale's announce message 2015-06-15 11:43:41 +00:00
Mke Brady 8c55f603bc UDP port numbers are now chosen from port 7000 up. Two options are introduced to control this. joerg-krause's stack erro fix installed. 2015-06-10 22:18:17 +01:00
Mke Brady 4fb74b4289 Add enclosing XML item tags to each item of metadata 2015-06-03 21:13:40 +01:00
Mike Brady 38281dd1c5 Add new auidio back end -- to stdout. 2015-06-02 11:59:56 +00:00
Mke Brady 87a0475c16 Reformat using clang-format. 2015-06-01 23:16:50 +01:00
Mike Brady 460f844824 Add new option to set the desired DAC buffer length. Quieten a few debug messages. 2015-05-06 13:55:58 +00:00
Mike Brady f68fe74caf Allow volume control to be ignored, use new config fields in place of old ones. 2015-05-04 17:23:21 +01:00
Joseph C. Lehner 40de286b56 Fix deadlocks in RTSP code
If the ANNOUNCE and/or SETUP method fails, the play_lock mutex
is never unlocked, thus blocking other clients from connecting.

This patch unlocks play_lock if an error occurs in either ANNOUNCE
or SETUP.
2015-04-16 11:53:39 +02:00
Mke Brady 75f3f912c7 Make metadata support a compile-time option. Clean up a few definitions. 2015-04-03 13:47:58 +01:00
Mike Brady 783e4aa31e Add warning for stalled metadata, add option for coverart 2015-03-21 18:22:21 +00:00
Mike Brady c2383d4942 Fix flush glitch, add artwork request to metadata set. 2015-03-18 21:02:49 +00:00
Mike Brady decc44c55f Add a few extra checks and a progress token. Turns out that iTunes delievery of artwork metadata is very buggy. Best not ask for it (remove metadata type 1 from the mDNS md=xxxphrase) 2015-03-17 22:59:29 +00:00
Mike Brady a2790fc102 Improve metadata output -- maybe it works reliably now. Add call to get audio parameters from back ends, to be able to give volume metadata. 2015-03-16 11:11:54 +00:00
Mike Brady 606c3fd080 Allow non-blocking option to adding item to pc queue -- necessary for 'resume' and possibly 'flush'. Stop pc_queue locking up (?) 2015-03-14 14:21:17 +00:00
Mke Brady e8be4e4883 Add a 'resume' metadata tag for when the stream is about to play 2015-03-12 23:07:02 +00:00
Mke Brady 60b3a6f7fd A little closer to an XML metadata sender. Still in flux. 2015-03-12 22:42:32 +00:00
Mike Brady edcd6da6b0 Debugging metadata code. The metadata is all a construction zone right now. 2015-03-12 20:46:21 +00:00
Mike Brady 9af829f7b2 Add a few new metadata messages. Change some of the codes -- important. 2015-03-11 22:38:09 +00:00
Mike Brady 38ad8e2ff8 Add preliminary not-yet-tested code for correct non-blocked writing to FIFO 2015-03-11 19:28:23 +00:00
Mike Brady dd50b332b2 Temporarily quieten some error messages associated with writing to a non-blocking pipe. 2015-03-09 16:26:54 +00:00
Mike Brady 59749f4ce6 Quieten a noisy debug message. 2015-02-26 01:17:17 +00:00
Mike Brady 83cccf0a0f Make writing to the pipe non-blocking. It will break on large files -- to be fixed. 2015-02-26 00:44:44 +00:00
Mike Brady a8796c407a Fix two pre-existing memory leaks, fix very buggy producer-consumer queue (pc_queue) implementation. 2015-02-26 00:19:21 +00:00
Mke Brady 201931916e VERY flaky with metadata, metadata thread and queue hooked up but not really house-trained or even fully debugged. 2015-03-05 23:10:00 +00:00
Mike Brady 9f2c54e086 Turn off an unneeded debug message. 2015-03-05 17:42:02 +00:00
Mke Brady 5ce1337b8d add UNTESTED code to manage a thread-safe producer consumer buffer and memory management with reference counting 2015-03-04 21:33:38 +00:00
Mike Brady 391b48f62a Continue to experiement with metadata. Make it a little more resistant to line drop outs and delays, add too-simple reference counting to rtsp messages. 2015-02-27 17:21:00 +00:00
Mke Brady 46412eb148 Reinistate after bugfix: Change bonjour advertisement if metadata sought, add sender name metadata, use own base64 encoder 2015-02-26 10:56:49 +00:00
Mke Brady bcca3a6f88 Revert "Change bonjour advertisement if metadata sought, add sender name metadata, use own base64 encoder"
This reverts commit 7d339b1b37.

UNstable partial updates.
2015-02-25 20:55:29 +00:00