vlc/vlc-3.0 | branch: master | Francois Cartegnie <[email protected]> | Fri Dec  
1 11:04:26 2017 +0100| [9ad2e9f74ae5e9df52f5b17c18c458a5a9d77d52] | committer: 
Jean-Baptiste Kempf

access: live555: set workarounds from server string if avail

(cherry picked from commit 73b3614247dd47e07e94fb2d2f9040ea89b7c493)
Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=9ad2e9f74ae5e9df52f5b17c18c458a5a9d77d52
---

 modules/access/live555.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index a5f410c511..950c98e0db 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -563,6 +563,14 @@ static void continueAfterDESCRIBE( RTSPClient* client, int 
result_code,
         p_sys->b_error = true;
     delete[] result_string;
     p_sys->event_rtsp = 1;
+#ifdef VLC_PATCH_RTSPCLIENT_SERVERSTRING
+    if( client_vlc->serverString() )
+    {
+        if( !strncmp(client_vlc->serverString(), "Kasenna", 7) ||
+            !strncmp(client_vlc->serverString(), "WMServer", 8) )
+            p_sys->capabilities &= ~CAP_RATE_CONTROL;
+    }
+#endif
 }
 
 static void continueAfterOPTIONS( RTSPClient* client, int result_code,

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to