DeviceProviderClass.addStaticMetadata

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.)

class DeviceProviderClass
void
addStaticMetadata
(
string key
,
string value
)

Parameters

key string

the key to set

value string

the value to set

Meta