[vlc-devel] [RFC PATCH 0/2] Split network-caching for live/non-live sources
Julian Scheel
julian at jusst.de
Wed Apr 8 12:14:20 CEST 2015
As discussed on IRC I propose to add a new setting "live-network-caching"
which is used in place of network-caching for live sources. I classify
live-sources as those which are not-seekable. The reason for introducing it is
to allow applications to set a caching as short as possible for live sources
while still being able to properly support seekable streams. When caching is
too short on seekable streams you would see effects like seek not having a
visible effect while playback is paused, etc. So it makes sense to keep a
somewhat higher caching in those situations.
For those modules which can be seekable in some circumstances but might not be
in others I use the variable conditionally.
Comments welcome.
Julian Scheel (2):
Add dedicated network-caching for live sources
access/demux: Make use of live-network-caching variable
modules/access/avio.c | 10 +++++++++-
modules/access/file.c | 4 +++-
modules/access/ftp.c | 4 +++-
modules/access/http.c | 4 +++-
modules/access/live555.cpp | 4 +++-
modules/access/mms/mmsh.c | 4 +++-
modules/access/mms/mmstu.c | 4 +++-
modules/access/rtp/rtp.c | 2 +-
modules/access/rtsp/access.c | 2 +-
modules/access/tcp.c | 2 +-
modules/access/udp.c | 2 +-
modules/access/vnc.c | 2 +-
modules/demux/dash/dash.cpp | 4 +++-
modules/stream_filter/hds/hds.c | 2 +-
modules/stream_filter/httplive.c | 3 ++-
src/libvlc-module.c | 8 ++++++++
16 files changed, 46 insertions(+), 15 deletions(-)
--
2.3.0
More information about the vlc-devel
mailing list