ClutterGst.CameraDevice¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The |
||
r/w/co |
The device name |
||
r/w/co |
The device node |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class ClutterGst.CameraDevice(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
GObject.Object
representing a camera device using GStreamer.The
ClutterGst.CameraDevice
structure contains only private data and should not be accessed directly.- get_capture_resolution()¶
- Returns:
- width:
Pointer to store the current capture resolution width
- height:
Pointer to store the current capture resolution height
- Return type:
Retrieve the current capture resolution being used by self.
- get_supported_resolutions()¶
- Returns:
an array of
ClutterGst.VideoResolution
with the supported resolutions.- Return type:
Retrieve the supported resolutions of the self.
- set_capture_resolution(width, height)¶
- Parameters:
Set the capture resolution to be used by self.
Signal Details¶
- ClutterGst.CameraDevice.signals.capture_resolution_changed(camera_device, width, height)¶
- Signal Name:
capture-resolution-changed
- Flags:
- Parameters:
camera_device (
ClutterGst.CameraDevice
) – The object which received the signalwidth (
int
) – The new widthheight (
int
) – The new height
The
::capture-resolution-changed
signal is emitted whenever the value ofClutterGst.CameraDevice.get_capture_resolution
changes.
Property Details¶
- ClutterGst.CameraDevice.props.element_factory¶
- Name:
element-factory
- Type:
- Default Value:
- Flags:
The
Gst.ElementFactory
for this device.
- ClutterGst.CameraDevice.props.name¶
- Name:
name
- Type:
- Default Value:
- Flags:
The device name.