Bin.getByInterface

Looks for an element inside the bin that implements the given interface. If such an element is found, it returns the element. You can cast this element to the given interface afterwards. If you want all elements that implement the interface, use Bin.iterateAllByInterface. This function recurses into child bins.

MT safe. Caller owns returned reference.

class Bin
getByInterface

Parameters

iface GType

the GType of an interface

Return Value

Type: Element

A gstreamer.Element inside the bin implementing the interface