ovva_video_server: Start a separate server process for serving video

View source: R/video_server.R

ovva_video_serverR Documentation

Start a separate server process for serving video

Description

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.

Usage

ovva_video_server(method, port)

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)

See Also

ovva_shiny


openvolley/ovva documentation built on Nov. 11, 2024, 8:45 p.m.