Start the Video Server.

Share:

Description

startVideoServer A utility function to start the standalone video server.

Usage

1
2
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, videofile20987 you will end up with the file stored at: /path/to/dest/folder/videofile20987.mov. If you had enabled the distribution mode with distmode = TRUE the video would be stored at: /path/to/dest/folder/87/videofile20987.mov

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

1
2
3
4
## Not run: 
startVideoServer()

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.