Note that performance with "servr" may not be great, particularly with each new video, because servr has to read the entire video file before it can serve clips from it.
Arguments
- method
string: either "lighttpd" or "servr". If "lighttpd" but the lighttpd executable cannot be found, "servr" will be used as a fallback
- port
integer: the port to open the server on. If missing or
NULL
, a random port between 8001 and 12000
Value
A list with components method
, url
, port
, dir
(the source dir from which files will be served), and cleanup_fun
(a function to run when finished with the server, which will stop the server process and clean up its dir
)