[mythtv-commits] mythweb branch master updated by kormoc. v0.27-pre-23-gde9b00d

Git Repo Owner noreply at mythtv.org
Mon Mar 25 21:22:53 UTC 2013


The branch, master has been updated on the
mythweb repository by gitolite user kormoc.
       via  de9b00d27375bafd5c3e9d84fb55d461b059e98f (commit)
      from  d8b1f404bc0f51a7aff72202713ffc198755a37b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit de9b00d27375bafd5c3e9d84fb55d461b059e98f
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 1 Jan 2012 14:03:09 +0100
Committer: Rob Smith <kormoc at mythtv.org> at Mon, 25 Mar 2013 14:22:46 -0700
URL:       http://code.mythtv.org/cgit/mythweb/commit/?id=de9b00d27375bafd5c3e9d84fb55d461b059e98f

modules/stream: Reduce video playback startup latency
These fixes considerably reduce video startup latency for common viewers
like totem and gstreamer.

1. RFC 3875 4.3.3. says that a CGI "script MUST NOT provide a response
   message-body for a HEAD request".  At the moment the whole video file
   (which can be several GB) is unnecessarily copied.  This can add
   several seconds of delay and overhead.

2. If the CGI output pipe is closed then the script should stop outputting
   data.  Some clients can GET a URL to parse the headers/length and then
   abort it.  This change can save outputting several GB of data.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



-----------------------------------------------------------------------

Summary of changes:
 modules/stream/stream_flv.pl |   10 +++++++++-
 modules/stream/stream_mp4.pl |   10 +++++++++-
 modules/stream/stream_raw.pl |   10 +++++++++-
 3 files changed, 27 insertions(+), 3 deletions(-)

-- 



More information about the mythtv-commits mailing list