Element.makeFromUri

Creates an element for handling the given URI.

class Element
static
makeFromUri
(,
string uri
,
string elementname = null
)

Parameters

type gst.types.URIType

Whether to create a source or a sink

uri string

URI to create an element for

elementname string

Name of created element, can be null.

Return Value

Type: gst.element.Element

a new element or null if none could be created