Learn R Programming

rDVR (version 0.1.1)

startVideoServer: Start the Video Server.

Description

startVideoServer A utility function to start the standalone video server.

Usage

startVideoServer(jarloc = NULL, savedir = NULL, port = NULL,
  distmode = FALSE, invisible = TRUE)

Arguments

jarloc
A directory in which the standalone video server binary is located. Defaults to the /bin of rDVR package.
savedir
A directory where the user would like videos saved to. If not declared it defaults to the temp folder (which varies depending on the OS).
port
The port on which the video server will listen. Defaults to 9998.
distmode
You can enable a "distribution" mode for the storage of recorded videos that will use the last two characters of the filename requested to save video to place it in a subfolder. By default, if you want to save a video with the name, say, videofile
invisible
Windows Only Show the video server in a shell. By default it is invisible with setting TRUE.

Detail

By default the binary is assumed to be in the rDVR package /bin directory.

Examples

Run this code
startVideoServer()

Run the code above in your browser using DataLab