[mythtv-commits] Ticket #10232: [PATCH] mythweb: Reduce video playback startup latency

MythTV noreply at mythtv.org
Sun Jan 1 14:53:20 UTC 2012

#10232: [PATCH] mythweb: Reduce video playback startup latency
     Reporter:  Lawrence Rust <lvr@…>            |      Owner:  kormoc
         Type:  Patch - Bug Fix                  |     Status:  new
     Priority:  minor                            |  Milestone:  unknown
    Component:  Plugin - MythWeb                 |    Version:  Trunk Head
     Severity:  medium                           |   Keywords:
Ticket locked:  0                                |
 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.

Ticket URL: <http://code.mythtv.org/trac/ticket/10232>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center

More information about the mythtv-commits mailing list