[streaming] increase icy-metaint interval to 16k bytes

This commit is contained in:
whatdoineed2do/Ray 2019-08-26 20:15:39 +01:00 committed by ejurgensen
parent 554799ebc3
commit 07d297aaca

View File

@ -88,7 +88,13 @@ static int streaming_meta[2];
#define STREAMING_ICY_METALEN_MAX 4080 // 255*16 incl header/footer (16bytes)
#define STREAMING_ICY_METATITLELEN_MAX 4064 // STREAMING_ICY_METALEN_MAX -16 (not incl header/footer)
static const short STREAMING_ICY_METAINT = 8192;
/* As streaming quality goes up, we send more data to the remote client. With a
* smaller ICY_METAINT value we have to splice metadata more frequently - on
* some devices with small input buffers, a higher quality stream and low
* ICY_METAINT can lead to stuttering as observed on a Roku Soundbridge
*/
static const short STREAMING_ICY_METAINT = 16384;
static unsigned streaming_icy_clients;
static char *streaming_icy_title;