airplay buffer management correction

This commit is contained in:
philippe44
2019-08-25 23:05:21 -07:00
parent 8a6295a016
commit df525bbb10
3 changed files with 40 additions and 15 deletions

View File

@@ -412,6 +412,12 @@ static bool handle_rtsp(raop_ctx_t *ctx, int sock)
NFREE(data_b64);
}
if (!strcmp(method, "OPTIONS")) {
kd_add(resp, "Public", "ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS, GET_PARAMETER, SET_PARAMETER");
} else if (!strcmp(method, "ANNOUNCE")) {
char *padded, *p;
NFREE(ctx->rtsp.aeskey);
NFREE(ctx->rtsp.aesiv);