Mike Brady
1fd794af71
tidy up diagnostic messages
2016-05-02 09:45:44 +01:00
Mike Brady
5028cd1f9f
Add information about local ip address so we can send back connections to the client from the same ip number it used to contact us
2016-05-01 22:37:57 +01:00
rkam
c886b9a9e7
Init metadata_sock to -1 so it doesn't look like an fd.
2016-04-30 19:14:18 -07:00
mike
fd56780575
Added option to broadcast metadata over UDP
2016-04-27 12:09:19 +01:00
Jonathan Patschke
1f67010c94
Mutex and Condition Variable Initialisation
...
Initialise the mutex and two condition variables inside pc_queue during pc_queue_init().
2016-04-04 07:57:52 -05:00
Mike Brady
91f75f2100
demote a debug message
2016-03-27 16:09:03 +00:00
Mike Brady
f4d2631d1c
Quieten some unnecessary debug messages.
2016-02-29 19:54:51 +00:00
Mike Brady
8f99cab8f9
Stop using the playing_mutex mutex in favour of the play_lock mutex. Get rid of all references to playing_mutex.
2016-02-08 22:04:23 +00:00
Mike Brady
c8af40e9ca
Experimentally, discard flush request that come before the first packet -- TuneBlade bug workaround
2016-02-05 09:25:21 +00:00
Mike Brady
c84f3dd058
Allow at least 500 ms before starting a new rtsp conversation to allow previous one to die, if any.
2016-02-02 16:39:23 +00:00
Mike Brady
686082b34d
Take a little more care of access to the alsa system; wait 100 ms after finishing with it to release data strucutres
2016-02-02 14:43:37 +00:00
Mike Brady
4b749c4066
Output volume metadata (pvol) even when ignoring the volume setting. AirPLay volume is output, but the actual db, min and max dB are set to zero, as they are meaningless in the context.
2016-01-27 11:06:33 +00:00
Mike Brady
45061e993e
Turn on extra debugging
2016-01-24 13:36:16 +00:00
Mke Brady
28198c6984
Quieten some debug messages.
2016-01-23 17:58:03 +00:00
Mke Brady
9a9c9842fc
Remove global signalling for stopping threads
2016-01-23 17:50:36 +00:00
Mike Brady
21fb39d22f
Begin to clean up the 'stop' signalling among the threads -- try to remove as many globals as possible
2016-01-22 17:47:25 +00:00
Jörg Krause
e5e4b3bb89
rtsp: ignore received picture if include_covert_art is set to no
2015-12-16 11:50:33 +01:00
Jörg Krause
1af53b769e
rtsp: remove trailing whitespaces and fix indentation
2015-12-16 11:50:33 +01:00
Jörg Krause
faa583398d
Fix data allignment issue
...
Different processor targets may have different word alignment restrictions.
Typically, a two or four byte integer should start on a four-byte address in
order to be fetched correctly over a bus. An access of a misaligned memory
element may cause a bus error.
Therefore, we need to adjust the contents of a message by copying it into a new
location, before interpreting it.
2015-12-12 22:11:19 +01:00
Mike Brady
f705d2367a
Fix a stupind error what supressed the rtptime information regarding metadata and pictures
2015-11-24 12:19:12 +00:00
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