]> git.sesse.net Git - vlc/commit
Use plain sockets rather than the UDP access output for RTSP.
authorRémi Denis-Courmont <rem@videolan.org>
Fri, 7 Sep 2007 15:57:38 +0000 (15:57 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Fri, 7 Sep 2007 15:57:38 +0000 (15:57 +0000)
commita4208fa86b161f1a4711fe353ccfde7b47288dc2
treee27bdf0441f55bd2d293dca0ba07ef035102ec1d
parentd208c4489993682487b13c675fb5659aa53b14a2
Use plain sockets rather than the UDP access output for RTSP.
This saves:
 - one malloc() per packet per client } due to
 - one memcpy() per packet per client } block_Duplicate()
 - one mwait() per packet per client, and
 - one thread per client per track

So it should really help scale RTSP broadcast up.
However, in its current state, it removes the pts synchronization,
which might not be such a great idea. I will re-add it later.
modules/stream_out/rtp.c
modules/stream_out/rtp.h
modules/stream_out/rtsp.c