[vlc-commits] access: live555: set workarounds from server string if avail
Francois Cartegnie
git at videolan.org
Fri Dec 1 11:48:40 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Dec 1 11:04:26 2017 +0100| [73b3614247dd47e07e94fb2d2f9040ea89b7c493] | committer: Francois Cartegnie
access: live555: set workarounds from server string if avail
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=73b3614247dd47e07e94fb2d2f9040ea89b7c493
---
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,
More information about the vlc-commits
mailing list