HomeFreeBSD

multimedia/tvheadend: fix two major problems of webui on FreeBSD

Description

multimedia/tvheadend: fix two major problems of webui on FreeBSD

  1. very high CPU usage while streaming a recored program
  2. unable to stream the recorded program beyond 128MB.

Unlike Linux sendfile(), FreeBSD sendfile() requires an explicit
file offset, and return value must be checked to catch any error
occurred. (i.e., closed connection)

Obtained from: https://github.com/tvheadend/tvheadend/pull/1125
Submitted by: Jongsung Kim <jongsung.kim@gmail.com>

Details

Provenance
deckeAuthored on
Parents
rP472316: sysutils/google-compute-engine-oslogin: fix oslogin and update to 1.3.0
Branches
Unknown
Tags
Unknown