Gjsify LogoGjsify Logo

The structure of the base #GstDeviceProviderClass

record

Hierarchy

  • DeviceProviderClass

Index

Constructors

Properties

a pointer to the #GstDeviceProviderFactory that creates this provider

field
parent_class: Gst.ObjectClass

the parent #GstObjectClass structure

field
name: string

Methods

  • Set key with value as metadata in klass.

    Same as gst_device_provider_class_add_metadata(), but value must be a static string or an inlined string, as it will not be copied. (GStreamer plugins will be made resident once loaded, so this function can be used even from dynamically loaded plugins.)

    Parameters

    • klass: Function | GType<unknown> | Gst.DeviceProvider
    • key: string

      the key to set

    • value: string

      the value to set

    Returns void

  • set_metadata(klass: Function | GType<unknown> | Gst.DeviceProvider, longname: string, classification: string, description: string, author: string): void
  • Sets the detailed information for a #GstDeviceProviderClass.

    This function is for use in _class_init functions only.

    Parameters

    • klass: Function | GType<unknown> | Gst.DeviceProvider
    • longname: string

      The long English name of the device provider. E.g. "File Sink"

    • classification: string

      String describing the type of device provider, as an unordered list separated with slashes ('/'). See draft-klass.txt of the design docs for more details and common types. E.g: "Sink/File"

    • description: string

      Sentence describing the purpose of the device provider. E.g: "Write stream to a file"

    • author: string

      Name and contact details of the author(s). Use \n to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>"

    Returns void

  • set_static_metadata(klass: Function | GType<unknown> | Gst.DeviceProvider, longname: string, classification: string, description: string, author: string): void
  • Sets the detailed information for a #GstDeviceProviderClass.

    This function is for use in _class_init functions only.

    Same as gst_device_provider_class_set_metadata(), but longname, classification, description, and author must be static strings or inlined strings, as they will not be copied. (GStreamer plugins will be made resident once loaded, so this function can be used even from dynamically loaded plugins.)

    Parameters

    • klass: Function | GType<unknown> | Gst.DeviceProvider
    • longname: string

      The long English name of the element. E.g. "File Sink"

    • classification: string

      String describing the type of element, as an unordered list separated with slashes ('/'). See draft-klass.txt of the design docs for more details and common types. E.g: "Sink/File"

    • description: string

      Sentence describing the purpose of the element. E.g: "Write stream to a file"

    • author: string

      Name and contact details of the author(s). Use \n to separate multiple author metadata. E.g: "Joe Bloggs <joe.blogs at foo.com>"

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method