Companion

Functions

Link copied to clipboard

Returns machine-specific default device

Link copied to clipboard

Returns machine-specific default device

Link copied to clipboard
fun fromDevice(audioDevice: AudioDevice?, deviceName: String = defaultDevice(), mode: PlayMode = PlayMode.VIDEO, frameRate: Double? = null, imageWidth: Int? = null, imageHeight: Int? = null, configuration: VideoPlayerConfiguration = VideoPlayerConfiguration()): VideoPlayerFFMPEG

Opens a webcam or video device

Link copied to clipboard
fun fromScreen(audioDevice: AudioDevice?, screenName: String = defaultScreenDevice(), mode: PlayMode = PlayMode.VIDEO, frameRate: Double? = null, imageWidth: Int? = null, imageHeight: Int? = null, configuration: VideoPlayerConfiguration = screenRecordingConfiguration): VideoPlayerFFMPEG

Opens the screen for grabbing frames See https://trac.ffmpeg.org/wiki/Capture/Desktop

Link copied to clipboard

Lists the available machine-specific device names