mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-05 02:38:09 -05:00
[streaming] increase icy-metaint interval to 16k bytes
This commit is contained in:
parent
554799ebc3
commit
07d297aaca
@ -88,7 +88,13 @@ static int streaming_meta[2];
|
|||||||
|
|
||||||
#define STREAMING_ICY_METALEN_MAX 4080 // 255*16 incl header/footer (16bytes)
|
#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)
|
#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 unsigned streaming_icy_clients;
|
||||||
static char *streaming_icy_title;
|
static char *streaming_icy_title;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user