Opened 9 years ago

Closed 8 years ago

#10232 closed Patch - Bug Fix (Fixed)

[PATCH] mythweb: Reduce video playback startup latency

Reported by: Lawrence Rust <lvr@…> Owned by: Rob Smith
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no


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.
  1. 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.

Attachments (1)

0001-modules-stream-Reduce-video-playback-startup-latency.patch (3.4 KB) - added by Lawrence Rust <lvr@…> 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Lawrence Rust <lvr@…>

comment:1 Changed 8 years ago by Rob Smith

Resolution: Fixed
Status: newclosed
Note: See TracTickets for help on using tickets.