[pulseaudio-discuss] [PATCH 14/25] raop: Add dummy handler for RTSP OPTIONS

Hajime Fujita crisp.fujita at nifty.com
Sat Sep 7 09:35:03 PDT 2013


The TCP implementation does not handle OPTIONS state but include
the value in the switch so that compiler feels happy
---
 src/modules/raop/raop_client.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/modules/raop/raop_client.c b/src/modules/raop/raop_client.c
index 0174572..a2f8986 100644
--- a/src/modules/raop/raop_client.c
+++ b/src/modules/raop/raop_client.c
@@ -578,6 +578,10 @@ static void tcp_rtsp_cb(pa_rtsp_client *rtsp, pa_rtsp_state state, pa_headerlist
             break;
         }
 
+        case STATE_OPTIONS:
+            pa_log_debug("RAOP: OPTIONS");
+            break;
+
         case STATE_ANNOUNCE:
             pa_log_debug("RAOP: ANNOUNCED");
             pa_rtsp_remove_header(c->rtsp, "Apple-Challenge");
-- 
1.8.1.2



More information about the pulseaudio-discuss mailing list