mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 00:05:03 -05:00
Relax Audio-Latency header check
Older G-only AirPort Express devices do not have an Audio-Latency header in their RECORD reply.
This commit is contained in:
parent
47bd255ffc
commit
a678f5c99b
10
src/raop.c
10
src/raop.c
@ -2500,13 +2500,9 @@ raop_cb_startup_record(struct evrtsp_request *req, void *arg)
|
||||
/* Audio latency */
|
||||
param = evrtsp_find_header(req->input_headers, "Audio-Latency");
|
||||
if (!param)
|
||||
{
|
||||
DPRINTF(E_LOG, L_RAOP, "Missing Audio-Latency header in RECORD reply\n");
|
||||
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
DPRINTF(E_DBG, L_RAOP, "RAOP audio latency is %s\n", param);
|
||||
DPRINTF(E_INFO, L_RAOP, "RECORD reply from %s did not have an Audio-Latency header\n", rs->devname);
|
||||
else
|
||||
DPRINTF(E_DBG, L_RAOP, "RAOP audio latency is %s\n", param);
|
||||
|
||||
rs->state = RAOP_RECORD;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user