[vlc-commits] access: live555: don't send keepalive over rtcp

Francois Cartegnie git at videolan.org
Tue Aug 21 14:21:03 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Aug 21 13:47:10 2018 +0200| [393030d22c3709f5a85715d6a850a01cd08db856] | committer: Francois Cartegnie

access: live555: don't send keepalive over rtcp

breaks data flow

http://lists.live555.com/pipermail/live-devel/2009-January/010108.html

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=393030d22c3709f5a85715d6a850a01cd08db856
---

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

diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index e91efca6ed..95709125a3 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -2240,6 +2240,9 @@ static void TimeoutPrevention( void *p_data )
     demux_sys_t *p_sys = (demux_sys_t *)p_demux->p_sys;
     char *bye = NULL;
 
+    if( var_GetBool( p_demux, "rtsp-tcp" ) )
+        return;
+
     /* Protect Live555 from us calling their functions simultaneously
         with Demux() or Control() */
     vlc::threads::mutex_locker locker( p_sys->timeout_mutex );



More information about the vlc-commits mailing list