rtsp: Only do keepalive using GET_PARAMETER if the server supports it
[ffmpeg.git] / libavformat / rtsp.h
index e1f1df9..ff66502 100644 (file)
@@ -331,6 +331,11 @@ typedef struct RTSPState {
      * Polling array for udp
      */
     struct pollfd *p;
+
+    /**
+     * Whether the server supports the GET_PARAMETER method.
+     */
+    int get_parameter_supported;
 } RTSPState;
 
 /**