36
32
<h2><span class="refentrytitle"><a name="CheeseCameraDevice.top_of_page"></a>CheeseCameraDevice</span></h2>
37
33
<p>CheeseCameraDevice — Object to represent a video capture device</p>
39
<td valign="top" align="right"></td>
35
<td class="gallery_image" valign="top" align="right"></td>
40
36
</tr></table></div>
41
37
<div class="refsect1">
42
38
<a name="CheeseCameraDevice.stability-level"></a><h2>Stability Level</h2>
43
Unstable, unless otherwise indicated
45
<div class="refsynopsisdiv">
46
<a name="CheeseCameraDevice.synopsis"></a><h2>Synopsis</h2>
47
<a name="CheeseVideoFormat"></a><pre class="synopsis">
48
#include <cheese/cheese-camera-device.h>
50
struct <a class="link" href="CheeseCameraDevice.html#CheeseCameraDevice-struct" title="struct CheeseCameraDevice">CheeseCameraDevice</a>;
51
struct <a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat-struct" title="struct CheeseVideoFormat">CheeseVideoFormat</a>;
52
<a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="returnvalue">CheeseCameraDevice</span></a> * <a class="link" href="CheeseCameraDevice.html#cheese-camera-device-new" title="cheese_camera_device_new ()">cheese_camera_device_new</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>,
53
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *device_node</code></em>,
54
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
55
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> v4l_api_version</code></em>,
56
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
57
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="CheeseCameraDevice.html#cheese-camera-device-get-name" title="cheese_camera_device_get_name ()">cheese_camera_device_get_name</a> (<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);
58
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="CheeseCameraDevice.html#cheese-camera-device-get-uuid" title="cheese_camera_device_get_uuid ()">cheese_camera_device_get_uuid</a> (<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);
59
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="CheeseCameraDevice.html#cheese-camera-device-get-device-node" title="cheese_camera_device_get_device_node ()">cheese_camera_device_get_device_node</a>
60
(<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);
61
<a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="returnvalue">CheeseVideoFormat</span></a> * <a class="link" href="CheeseCameraDevice.html#cheese-camera-device-get-best-format" title="cheese_camera_device_get_best_format ()">cheese_camera_device_get_best_format</a>
62
(<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);
63
<span class="returnvalue">GstCaps</span> * <a class="link" href="CheeseCameraDevice.html#cheese-camera-device-get-caps-for-format" title="cheese_camera_device_get_caps_for_format ()">cheese_camera_device_get_caps_for_format</a>
64
(<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>,
65
<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="type">CheeseVideoFormat</span></a> *format</code></em>);
66
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="CheeseCameraDevice.html#cheese-camera-device-get-format-list" title="cheese_camera_device_get_format_list ()">cheese_camera_device_get_format_list</a>
67
(<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);
68
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="CheeseCameraDevice.html#cheese-camera-device-get-src" title="cheese_camera_device_get_src ()">cheese_camera_device_get_src</a> (<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);
39
<acronym title="Unstable interfaces are experimental or transitional. They are typically used to
40
give outside developers early access to new or rapidly changing technology, or
41
to provide an interim solution to a problem where a more general solution is
42
anticipated. No claims are made about either source or binary compatibility from
43
one minor release to the next.
45
The Unstable interface level is a warning that these interfaces are subject to
46
change without warning and should not be used in unbundled products.
48
Given such caveats, customer impact need not be a factor when considering
49
incompatible changes to an Unstable interface in a major or minor release.
50
Nonetheless, when such changes are introduced, the changes should still be
51
mentioned in the release notes for the affected release.
52
"><span class="acronym">Unstable</span></acronym>, unless otherwise indicated
54
<div class="refsect1">
55
<a name="CheeseCameraDevice.functions"></a><h2>Functions</h2>
56
<div class="informaltable"><table width="100%" border="0">
58
<col width="150px" class="functions_return">
59
<col class="functions_name">
63
<td class="function_type">
64
<a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="returnvalue">CheeseCameraDevice</span></a> *
66
<td class="function_name">
67
<a class="link" href="CheeseCameraDevice.html#cheese-camera-device-new" title="cheese_camera_device_new ()">cheese_camera_device_new</a> <span class="c_punctuation">()</span>
71
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
73
<td class="function_name">
74
<a class="link" href="CheeseCameraDevice.html#cheese-camera-device-get-name" title="cheese_camera_device_get_name ()">cheese_camera_device_get_name</a> <span class="c_punctuation">()</span>
78
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
80
<td class="function_name">
81
<a class="link" href="CheeseCameraDevice.html#cheese-camera-device-get-uuid" title="cheese_camera_device_get_uuid ()">cheese_camera_device_get_uuid</a> <span class="c_punctuation">()</span>
85
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
87
<td class="function_name">
88
<a class="link" href="CheeseCameraDevice.html#cheese-camera-device-get-device-node" title="cheese_camera_device_get_device_node ()">cheese_camera_device_get_device_node</a> <span class="c_punctuation">()</span>
92
<td class="function_type">
93
<a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="returnvalue">CheeseVideoFormat</span></a> *
95
<td class="function_name">
96
<a class="link" href="CheeseCameraDevice.html#cheese-camera-device-get-best-format" title="cheese_camera_device_get_best_format ()">cheese_camera_device_get_best_format</a> <span class="c_punctuation">()</span>
100
<td class="function_type">
101
<span class="returnvalue">GstCaps</span> *
103
<td class="function_name">
104
<a class="link" href="CheeseCameraDevice.html#cheese-camera-device-get-caps-for-format" title="cheese_camera_device_get_caps_for_format ()">cheese_camera_device_get_caps_for_format</a> <span class="c_punctuation">()</span>
108
<td class="function_type">
109
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
111
<td class="function_name">
112
<a class="link" href="CheeseCameraDevice.html#cheese-camera-device-get-format-list" title="cheese_camera_device_get_format_list ()">cheese_camera_device_get_format_list</a> <span class="c_punctuation">()</span>
116
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
118
<td class="function_name">
119
<a class="link" href="CheeseCameraDevice.html#cheese-camera-device-get-src" title="cheese_camera_device_get_src ()">cheese_camera_device_get_src</a> <span class="c_punctuation">()</span>
125
<div class="refsect1">
126
<a name="CheeseCameraDevice.properties"></a><h2>Properties</h2>
127
<div class="informaltable"><table border="0">
129
<col width="150px" class="properties_type">
130
<col width="300px" class="properties_name">
131
<col width="200px" class="properties_flags">
135
<td class="property_type">
136
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
137
<td class="property_name"><a class="link" href="CheeseCameraDevice.html#CheeseCameraDevice--device-node" title="The “device-node” property">device-node</a></td>
138
<td class="property_flags">Read / Write / Construct Only</td>
141
<td class="property_type">
142
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
143
<td class="property_name"><a class="link" href="CheeseCameraDevice.html#CheeseCameraDevice--name" title="The “name” property">name</a></td>
144
<td class="property_flags">Read / Write / Construct Only</td>
147
<td class="property_type">
148
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
149
<td class="property_name"><a class="link" href="CheeseCameraDevice.html#CheeseCameraDevice--uuid" title="The “uuid” property">uuid</a></td>
150
<td class="property_flags">Read / Write / Construct Only</td>
153
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
154
<td class="property_name"><a class="link" href="CheeseCameraDevice.html#CheeseCameraDevice--v4l-api-version" title="The “v4l-api-version” property">v4l-api-version</a></td>
155
<td class="property_flags">Read / Write / Construct Only</td>
160
<a name="CheeseVideoFormat"></a><div class="refsect1">
161
<a name="CheeseCameraDevice.other"></a><h2>Types and Values</h2>
162
<div class="informaltable"><table width="100%" border="0">
164
<col width="150px" class="name">
165
<col class="description">
169
<td class="datatype_keyword">struct</td>
170
<td class="function_name"><a class="link" href="CheeseCameraDevice.html#CheeseCameraDevice-struct" title="struct CheeseCameraDevice">CheeseCameraDevice</a></td>
173
<td class="datatype_keyword">struct</td>
174
<td class="function_name"><a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat-struct" title="struct CheeseVideoFormat">CheeseVideoFormat</a></td>
71
179
<div class="refsect1">
72
180
<a name="CheeseCameraDevice.object-hierarchy"></a><h2>Object Hierarchy</h2>
73
<pre class="synopsis">
74
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
75
+----CheeseCameraDevice
77
<pre class="synopsis">
79
+----CheeseVideoFormat
181
<pre class="screen"> GBoxed
182
<span class="lineart">╰──</span> CheeseVideoFormat
183
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
184
<span class="lineart">╰──</span> CheeseCameraDevice
82
187
<div class="refsect1">
86
191
<a href="http://library.gnome.org/devel/gio/unstable/GInitable.html">GInitable</a>.</p>
88
193
<div class="refsect1">
89
<a name="CheeseCameraDevice.properties"></a><h2>Properties</h2>
90
<pre class="synopsis">
91
"<a class="link" href="CheeseCameraDevice.html#CheeseCameraDevice--device-node" title='The "device-node" property'>device-node</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
92
"<a class="link" href="CheeseCameraDevice.html#CheeseCameraDevice--name" title='The "name" property'>name</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
93
"<a class="link" href="CheeseCameraDevice.html#CheeseCameraDevice--uuid" title='The "uuid" property'>uuid</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
94
"<a class="link" href="CheeseCameraDevice.html#CheeseCameraDevice--v4l-api-version" title='The "v4l-api-version" property'>v4l-api-version</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only
194
<a name="CheeseCameraDevice.includes"></a><h2>Includes</h2>
195
<pre class="synopsis">#include <cheese/cheese-camera-device.h>
97
198
<div class="refsect1">
98
199
<a name="CheeseCameraDevice.description"></a><h2>Description</h2>
100
<a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> provides an abstraction of a video capture device.
103
<div class="refsect1">
104
<a name="CheeseCameraDevice.details"></a><h2>Details</h2>
200
<p><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> provides an abstraction of a video capture device.</p>
202
<div class="refsect1">
203
<a name="CheeseCameraDevice.functions_details"></a><h2>Functions</h2>
204
<div class="refsect2">
205
<a name="cheese-camera-device-new"></a><h3>cheese_camera_device_new ()</h3>
206
<pre class="programlisting"><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="returnvalue">CheeseCameraDevice</span></a> *
207
cheese_camera_device_new (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>,
208
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *device_node</code></em>,
209
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
210
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> v4l_api_version</code></em>,
211
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
212
<p>Tries to create a new <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> with the supplied parameters. If
213
construction fails, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, and <em class="parameter"><code>error</code></em>
215
<div class="refsect3">
216
<a name="id-1.3.5.12.2.5"></a><h4>Parameters</h4>
217
<div class="informaltable"><table width="100%" border="0">
219
<col width="150px" class="parameters_name">
220
<col class="parameters_description">
221
<col width="200px" class="parameters_annotations">
225
<td class="parameter_name"><p>uuid</p></td>
226
<td class="parameter_description"><p>UUID of the device, as supplied by udev</p></td>
227
<td class="parameter_annotations"> </td>
230
<td class="parameter_name"><p>device_node</p></td>
231
<td class="parameter_description"><p> path to the device node of the video capture
233
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
236
<td class="parameter_name"><p>name</p></td>
237
<td class="parameter_description"><p>human-readable name of the device, as supplied by udev</p></td>
238
<td class="parameter_annotations"> </td>
241
<td class="parameter_name"><p>v4l_api_version</p></td>
242
<td class="parameter_description"><p>version of the Video4Linux API that the device uses. Currently
243
either 1 or 2</p></td>
244
<td class="parameter_annotations"> </td>
247
<td class="parameter_name"><p>error</p></td>
248
<td class="parameter_description"><p>a location to store errors</p></td>
249
<td class="parameter_annotations"> </td>
254
<div class="refsect3">
255
<a name="id-1.3.5.12.2.6"></a><h4>Returns</h4>
256
<p> a new <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
261
<div class="refsect2">
262
<a name="cheese-camera-device-get-name"></a><h3>cheese_camera_device_get_name ()</h3>
263
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
264
cheese_camera_device_get_name (<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);</pre>
265
<p>Get a human-readable name for the device, as reported by udev, which is
266
suitable for display to a user.</p>
267
<div class="refsect3">
268
<a name="id-1.3.5.12.3.5"></a><h4>Parameters</h4>
269
<div class="informaltable"><table width="100%" border="0">
271
<col width="150px" class="parameters_name">
272
<col class="parameters_description">
273
<col width="200px" class="parameters_annotations">
276
<td class="parameter_name"><p>device</p></td>
277
<td class="parameter_description"><p>a <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a></p></td>
278
<td class="parameter_annotations"> </td>
282
<div class="refsect3">
283
<a name="id-1.3.5.12.3.6"></a><h4>Returns</h4>
284
<p> the human-readable name of the video capture device. </p>
285
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
289
<div class="refsect2">
290
<a name="cheese-camera-device-get-uuid"></a><h3>cheese_camera_device_get_uuid ()</h3>
291
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
292
cheese_camera_device_get_uuid (<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);</pre>
293
<p>Get the UUID of the <em class="parameter"><code>device</code></em>
294
, as reported by udev.</p>
295
<div class="refsect3">
296
<a name="id-1.3.5.12.4.5"></a><h4>Parameters</h4>
297
<div class="informaltable"><table width="100%" border="0">
299
<col width="150px" class="parameters_name">
300
<col class="parameters_description">
301
<col width="200px" class="parameters_annotations">
304
<td class="parameter_name"><p>device</p></td>
305
<td class="parameter_description"><p>a <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a></p></td>
306
<td class="parameter_annotations"> </td>
310
<div class="refsect3">
311
<a name="id-1.3.5.12.4.6"></a><h4>Returns</h4>
312
<p> the UUID of the video capture device. </p>
313
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
317
<div class="refsect2">
318
<a name="cheese-camera-device-get-device-node"></a><h3>cheese_camera_device_get_device_node ()</h3>
319
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
320
cheese_camera_device_get_device_node (<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);</pre>
321
<p>Get the path to the device node associated with the <em class="parameter"><code>device</code></em>
323
<div class="refsect3">
324
<a name="id-1.3.5.12.5.5"></a><h4>Parameters</h4>
325
<div class="informaltable"><table width="100%" border="0">
327
<col width="150px" class="parameters_name">
328
<col class="parameters_description">
329
<col width="200px" class="parameters_annotations">
332
<td class="parameter_name"><p>device</p></td>
333
<td class="parameter_description"><p>a <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a></p></td>
334
<td class="parameter_annotations"> </td>
338
<div class="refsect3">
339
<a name="id-1.3.5.12.5.6"></a><h4>Returns</h4>
340
<p> the path to the device node of the video capture
342
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
346
<div class="refsect2">
347
<a name="cheese-camera-device-get-best-format"></a><h3>cheese_camera_device_get_best_format ()</h3>
348
<pre class="programlisting"><a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="returnvalue">CheeseVideoFormat</span></a> *
349
cheese_camera_device_get_best_format (<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);</pre>
350
<p>Get the <a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="type">CheeseVideoFormat</span></a> with the highest resolution with a width greater
351
than 640 pixels and a framerate of greater than 15 FPS for this <em class="parameter"><code>device</code></em>
353
no such format is found, get the highest available resolution instead.</p>
354
<div class="refsect3">
355
<a name="id-1.3.5.12.6.5"></a><h4>Parameters</h4>
356
<div class="informaltable"><table width="100%" border="0">
358
<col width="150px" class="parameters_name">
359
<col class="parameters_description">
360
<col width="200px" class="parameters_annotations">
363
<td class="parameter_name"><p>device</p></td>
364
<td class="parameter_description"><p>a <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a></p></td>
365
<td class="parameter_annotations"> </td>
369
<div class="refsect3">
370
<a name="id-1.3.5.12.6.6"></a><h4>Returns</h4>
371
<p> the highest-resolution supported
372
<a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="type">CheeseVideoFormat</span></a>. </p>
373
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
377
<div class="refsect2">
378
<a name="cheese-camera-device-get-caps-for-format"></a><h3>cheese_camera_device_get_caps_for_format ()</h3>
379
<pre class="programlisting"><span class="returnvalue">GstCaps</span> *
380
cheese_camera_device_get_caps_for_format
381
(<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>,
382
<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="type">CheeseVideoFormat</span></a> *format</code></em>);</pre>
383
<p>Get the <span class="type">GstCaps</span> for the given <em class="parameter"><code>format</code></em>
384
on the <em class="parameter"><code>device</code></em>
386
<div class="refsect3">
387
<a name="id-1.3.5.12.7.5"></a><h4>Parameters</h4>
388
<div class="informaltable"><table width="100%" border="0">
390
<col width="150px" class="parameters_name">
391
<col class="parameters_description">
392
<col width="200px" class="parameters_annotations">
396
<td class="parameter_name"><p>device</p></td>
397
<td class="parameter_description"><p>a <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a></p></td>
398
<td class="parameter_annotations"> </td>
401
<td class="parameter_name"><p>format</p></td>
402
<td class="parameter_description"><p>a <a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="type">CheeseVideoFormat</span></a></p></td>
403
<td class="parameter_annotations"> </td>
408
<div class="refsect3">
409
<a name="id-1.3.5.12.7.6"></a><h4>Returns</h4>
410
<p> the <span class="type">GstCaps</span> for the given <em class="parameter"><code>format</code></em>
412
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
416
<div class="refsect2">
417
<a name="cheese-camera-device-get-format-list"></a><h3>cheese_camera_device_get_format_list ()</h3>
418
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
419
cheese_camera_device_get_format_list (<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);</pre>
420
<p>Get the sorted list of <a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="type">CheeseVideoFormat</span></a> that the <em class="parameter"><code>device</code></em>
422
<div class="refsect3">
423
<a name="id-1.3.5.12.8.5"></a><h4>Parameters</h4>
424
<div class="informaltable"><table width="100%" border="0">
426
<col width="150px" class="parameters_name">
427
<col class="parameters_description">
428
<col width="200px" class="parameters_annotations">
431
<td class="parameter_name"><p>device</p></td>
432
<td class="parameter_description"><p>a <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a></p></td>
433
<td class="parameter_annotations"> </td>
437
<div class="refsect3">
438
<a name="id-1.3.5.12.8.6"></a><h4>Returns</h4>
440
<a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="type">CheeseVideoFormat</span></a>. </p>
441
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Cheese.VideoFormat][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
445
<div class="refsect2">
446
<a name="cheese-camera-device-get-src"></a><h3>cheese_camera_device_get_src ()</h3>
447
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
448
cheese_camera_device_get_src (<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);</pre>
449
<p>Get the name of the source GStreamer element for the <em class="parameter"><code>device</code></em>
451
this will be either v4lsrc or v4l2src, depending on the version of the
452
Video4Linux API that the device supports.</p>
453
<div class="refsect3">
454
<a name="id-1.3.5.12.9.5"></a><h4>Parameters</h4>
455
<div class="informaltable"><table width="100%" border="0">
457
<col width="150px" class="parameters_name">
458
<col class="parameters_description">
459
<col width="200px" class="parameters_annotations">
462
<td class="parameter_name"><p>device</p></td>
463
<td class="parameter_description"><p>a <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a></p></td>
464
<td class="parameter_annotations"> </td>
468
<div class="refsect3">
469
<a name="id-1.3.5.12.9.6"></a><h4>Returns</h4>
470
<p> the name of the source GStreamer element. </p>
471
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
475
<div class="refsect1">
476
<a name="CheeseCameraDevice.other_details"></a><h2>Types and Values</h2>
105
477
<div class="refsect2">
106
478
<a name="CheeseCameraDevice-struct"></a><h3>struct CheeseCameraDevice</h3>
107
479
<pre class="programlisting">struct CheeseCameraDevice;</pre>
109
Use the accessor functions below.
480
<p>Use the accessor functions below.</p>
113
483
<div class="refsect2">
121
A description of the resolution, in pixels, of the format to capture with a
122
<a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a>.
124
<div class="variablelist"><table border="0" class="variablelist">
126
<col align="left" valign="top">
131
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="CheeseVideoFormat-struct.width"></a>width</code></em>;</span></p></td>
132
<td>the width of of the video, in pixels</td>
135
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="CheeseVideoFormat-struct.height"></a>height</code></em>;</span></p></td>
136
<td>the height of the video, in pixels</td>
142
<div class="refsect2">
143
<a name="cheese-camera-device-new"></a><h3>cheese_camera_device_new ()</h3>
144
<pre class="programlisting"><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="returnvalue">CheeseCameraDevice</span></a> * cheese_camera_device_new (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>,
145
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *device_node</code></em>,
146
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
147
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> v4l_api_version</code></em>,
148
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
150
Tries to create a new <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> with the supplied parameters. If
151
construction fails, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, and <em class="parameter"><code>error</code></em> is set.
153
<div class="variablelist"><table border="0" class="variablelist">
155
<col align="left" valign="top">
160
<td><p><span class="term"><em class="parameter"><code>uuid</code></em> :</span></p></td>
161
<td>UUID of the device, as supplied by udev</td>
164
<td><p><span class="term"><em class="parameter"><code>device_node</code></em> :</span></p></td>
165
<td>path to the device node of the video capture
166
device. <span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span>
170
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
171
<td>human-readable name of the device, as supplied by udev</td>
174
<td><p><span class="term"><em class="parameter"><code>v4l_api_version</code></em> :</span></p></td>
175
<td>version of the Video4Linux API that the device uses. Currently
179
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
180
<td>a location to store errors</td>
183
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
184
<td>a new <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
191
<div class="refsect2">
192
<a name="cheese-camera-device-get-name"></a><h3>cheese_camera_device_get_name ()</h3>
193
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cheese_camera_device_get_name (<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);</pre>
195
Get a human-readable name for the device, as reported by udev, which is
196
suitable for display to a user.
198
<div class="variablelist"><table border="0" class="variablelist">
200
<col align="left" valign="top">
205
<td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
206
<td>a <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a>
210
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
211
<td>the human-readable name of the video capture device. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
218
<div class="refsect2">
219
<a name="cheese-camera-device-get-uuid"></a><h3>cheese_camera_device_get_uuid ()</h3>
220
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cheese_camera_device_get_uuid (<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);</pre>
222
Get the UUID of the <em class="parameter"><code>device</code></em>, as reported by udev.
224
<div class="variablelist"><table border="0" class="variablelist">
226
<col align="left" valign="top">
231
<td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
232
<td>a <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a>
236
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
237
<td>the UUID of the video capture device. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
244
<div class="refsect2">
245
<a name="cheese-camera-device-get-device-node"></a><h3>cheese_camera_device_get_device_node ()</h3>
246
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cheese_camera_device_get_device_node
247
(<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);</pre>
249
Get the path to the device node associated with the <em class="parameter"><code>device</code></em>.
251
<div class="variablelist"><table border="0" class="variablelist">
253
<col align="left" valign="top">
258
<td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
259
<td>a <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a>
263
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
264
<td>the path to the device node of the video capture
265
device. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
272
<div class="refsect2">
273
<a name="cheese-camera-device-get-best-format"></a><h3>cheese_camera_device_get_best_format ()</h3>
274
<pre class="programlisting"><a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="returnvalue">CheeseVideoFormat</span></a> * cheese_camera_device_get_best_format
275
(<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);</pre>
277
Get the <a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="type">CheeseVideoFormat</span></a> with the highest resolution with a width greater
278
than 640 pixels and a framerate of greater than 15 FPS for this <em class="parameter"><code>device</code></em>. If
279
no such format is found, get the highest available resolution instead.
281
<div class="variablelist"><table border="0" class="variablelist">
283
<col align="left" valign="top">
288
<td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
289
<td>a <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a>
293
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
294
<td>the highest-resolution supported
295
<a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="type">CheeseVideoFormat</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
302
<div class="refsect2">
303
<a name="cheese-camera-device-get-caps-for-format"></a><h3>cheese_camera_device_get_caps_for_format ()</h3>
304
<pre class="programlisting"><span class="returnvalue">GstCaps</span> * cheese_camera_device_get_caps_for_format
305
(<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>,
306
<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="type">CheeseVideoFormat</span></a> *format</code></em>);</pre>
308
Get the <span class="type">GstCaps</span> for the given <em class="parameter"><code>format</code></em> on the <em class="parameter"><code>device</code></em>.
310
<div class="variablelist"><table border="0" class="variablelist">
312
<col align="left" valign="top">
317
<td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
318
<td>a <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a>
322
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
323
<td>a <a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="type">CheeseVideoFormat</span></a>
327
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
328
<td>the <span class="type">GstCaps</span> for the given <em class="parameter"><code>format</code></em>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
335
<div class="refsect2">
336
<a name="cheese-camera-device-get-format-list"></a><h3>cheese_camera_device_get_format_list ()</h3>
337
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * cheese_camera_device_get_format_list
338
(<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);</pre>
340
Get the sorted list of <a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="type">CheeseVideoFormat</span></a> that the <em class="parameter"><code>device</code></em> supports.
342
<div class="variablelist"><table border="0" class="variablelist">
344
<col align="left" valign="top">
349
<td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
350
<td>a <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a>
354
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
356
<a class="link" href="CheeseCameraDevice.html#CheeseVideoFormat"><span class="type">CheeseVideoFormat</span></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Cheese.VideoFormat][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
363
<div class="refsect2">
364
<a name="cheese-camera-device-get-src"></a><h3>cheese_camera_device_get_src ()</h3>
365
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cheese_camera_device_get_src (<em class="parameter"><code><a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a> *device</code></em>);</pre>
367
Get the name of the source GStreamer element for the <em class="parameter"><code>device</code></em>. Currently,
368
this will be either v4lsrc or v4l2src, depending on the version of the
369
Video4Linux API that the device supports.
371
<div class="variablelist"><table border="0" class="variablelist">
373
<col align="left" valign="top">
378
<td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
379
<td>a <a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a>
383
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
384
<td>the name of the source GStreamer element. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
490
<p>A description of the resolution, in pixels, of the format to capture with a
491
<a class="link" href="CheeseCameraDevice.html" title="CheeseCameraDevice"><span class="type">CheeseCameraDevice</span></a>.</p>
492
<div class="refsect3">
493
<a name="id-1.3.5.13.3.5"></a><h4>Members</h4>
494
<div class="informaltable"><table width="100%" border="0">
496
<col width="300px" class="struct_members_name">
497
<col class="struct_members_description">
498
<col width="200px" class="struct_members_annotations">
502
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="CheeseVideoFormat-struct.width"></a>width</code></em>;</p></td>
503
<td class="struct_member_description"><p>the width of of the video, in pixels</p></td>
504
<td class="struct_member_annotations"> </td>
507
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="CheeseVideoFormat-struct.height"></a>height</code></em>;</p></td>
508
<td class="struct_member_description"><p>the height of the video, in pixels</p></td>
509
<td class="struct_member_annotations"> </td>
391
516
<div class="refsect1">
392
517
<a name="CheeseCameraDevice.property-details"></a><h2>Property Details</h2>
393
518
<div class="refsect2">
394
<a name="CheeseCameraDevice--device-node"></a><h3>The <code class="literal">"device-node"</code> property</h3>
395
<pre class="programlisting"> "device-node" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre>
397
Path to the device node of the video capture device.
399
<p>Default value: NULL</p>
402
<div class="refsect2">
403
<a name="CheeseCameraDevice--name"></a><h3>The <code class="literal">"name"</code> property</h3>
404
<pre class="programlisting"> "name" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre>
406
Human-readable name of the video capture device, for display to the user.
408
<p>Default value: NULL</p>
411
<div class="refsect2">
412
<a name="CheeseCameraDevice--uuid"></a><h3>The <code class="literal">"uuid"</code> property</h3>
413
<pre class="programlisting"> "uuid" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre>
415
UUID of the video capture device.
417
<p>Default value: NULL</p>
420
<div class="refsect2">
421
<a name="CheeseCameraDevice--v4l-api-version"></a><h3>The <code class="literal">"v4l-api-version"</code> property</h3>
422
<pre class="programlisting"> "v4l-api-version" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct Only</pre>
424
Version of the Video4Linux API that the device supports. Currently, either
425
1 or 2 are supported.
519
<a name="CheeseCameraDevice--device-node"></a><h3>The <code class="literal">“device-node”</code> property</h3>
520
<pre class="programlisting"> “device-node” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
521
<p>Path to the device node of the video capture device.</p>
522
<p>Flags: Read / Write / Construct Only</p>
523
<p>Default value: NULL</p>
526
<div class="refsect2">
527
<a name="CheeseCameraDevice--name"></a><h3>The <code class="literal">“name”</code> property</h3>
528
<pre class="programlisting"> “name” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
529
<p>Human-readable name of the video capture device, for display to the user.</p>
530
<p>Flags: Read / Write / Construct Only</p>
531
<p>Default value: NULL</p>
534
<div class="refsect2">
535
<a name="CheeseCameraDevice--uuid"></a><h3>The <code class="literal">“uuid”</code> property</h3>
536
<pre class="programlisting"> “uuid” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
537
<p>UUID of the video capture device.</p>
538
<p>Flags: Read / Write / Construct Only</p>
539
<p>Default value: NULL</p>
542
<div class="refsect2">
543
<a name="CheeseCameraDevice--v4l-api-version"></a><h3>The <code class="literal">“v4l-api-version”</code> property</h3>
544
<pre class="programlisting"> “v4l-api-version” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
545
<p>Version of the Video4Linux API that the device supports. Currently, either
546
1 or 2 are supported.</p>
547
<p>Flags: Read / Write / Construct Only</p>
427
548
<p>Allowed values: [1,2]</p>
428
549
<p>Default value: 2</p>