[raop] Use OPTIONS for keep_alive instead of GET_PARAMETER

Old Airport Express hangs up if we use GET_PARAMETER (despite announcing support
for it...), and since iTunes seems to use OPTIONS we also do that. We weren't
really using the return value of GET_PARAMETER anyway.

See also comment added to commit d9a67b6dce
This commit is contained in:
ejurgensen
2018-05-06 22:38:41 +02:00
parent e6a5168c0d
commit 83b6bcebcd
2 changed files with 7 additions and 104 deletions

View File

@@ -59,7 +59,7 @@ enum evrtsp_cmd_type {
EVRTSP_REQ_SETUP,
EVRTSP_REQ_RECORD,
EVRTSP_REQ_PAUSE,
EVRTSP_REQ_GET_PARAMETER,
EVRTSP_REQ_GET_PARAMETER, // Careful using this, some devices do not support it or will hang up eg RAOP_DEV_APEX1_80211G
EVRTSP_REQ_SET_PARAMETER,
EVRTSP_REQ_FLUSH,
EVRTSP_REQ_TEARDOWN,