Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
V4crVideoUtils::V4crVideoDevice
Inherits
Struct
<
Value
<
Object
Constructors
new
(device :
String
, name :
String
= "", driver :
String
= "", card :
String
= "", formats :
Array
(
String
) = [] of
String
, resolutions :
Array
(
String
) = [] of
String
, max_fps :
Int32
= 0, supports_mjpeg :
Bool
= false)
Source
Instance methods
card
Source
card=
(card :
String
)
Source
device
Source
device=
(device :
String
)
Source
driver
Source
driver=
(driver :
String
)
Source
formats
Source
formats=
(formats :
Array
(
String
))
Source
max_fps
Source
max_fps=
(max_fps :
Int32
)
Source
name
Source
name=
(name :
String
)
Source
resolutions
Source
resolutions=
(resolutions :
Array
(
String
))
Source
supports_mjpeg=
(supports_mjpeg :
Bool
)
Source
supports_mjpeg?
Source
supports_resolution?
(width :
UInt32
, height :
UInt32
)
Source
to_s
(io)
Source