Class: ClutterGst::CameraDevice

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Overview

Base class for Clutter::GstCameraDevice.

Instance Method Summary collapse

Instance Method Details

#element_factoryGst::ElementFactory

The GstElementFactory for this device.

Returns:

  • (Gst::ElementFactory)

    element-factory

#element_factory=(element_factory) ⇒ Gst::ElementFactory

The GstElementFactory for this device.

Parameters:

  • element_factory (Gst::ElementFactory)

Returns:

  • (Gst::ElementFactory)

    element-factory

  • (Gst::ElementFactory)

    element-factory

#get_capture_resolution(width, height) ⇒ nil

Retrieve the current capture resolution being used by device.

Parameters:

  • width (Integer)

    Pointer to store the current capture resolution width

  • height (Integer)

    Pointer to store the current capture resolution height

Returns:

  • (nil)

#nameString

The device name.

Returns:

  • (String)

    name

#name=(name) ⇒ String

The device name.

Parameters:

  • name (String)

Returns:

  • (String)

    name

  • (String)

    name

#nodeString

The device node.

Returns:

  • (String)

    node

#node=(node) ⇒ String

The device node.

Parameters:

  • node (String)

Returns:

  • (String)

    node

  • (String)

    node

#set_capture_resolution(width, height) ⇒ nil

Set the capture resolution to be used by device.

Parameters:

  • width (Integer)

    The new capture resolution width to use

  • height (Integer)

    The new capture resolution height to use

Returns:

  • (nil)

#supported_resolutionsArray<ClutterGst::VideoResolution>

Retrieve the supported resolutions of the device.

Returns:

  • (Array<ClutterGst::VideoResolution>)

    an array of Clutter::GstVideoResolution with the supported resolutions.