fixed airplay

This commit is contained in:
philippe44
2019-08-19 20:25:04 -07:00
parent 9caf8deca6
commit 49dcfdc758
8 changed files with 40 additions and 23 deletions

View File

@@ -459,6 +459,9 @@ static bool handle_rtsp(raop_ctx_t *ctx, int sock)
NFREE(p);
NFREE(padded);
}
if ((p = strcasestr(body, "fmtp")) != NULL) {
p = strextract(p, ":", "\r\n");
ctx->rtsp.fmtp = strdup(p);
NFREE(p);