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 gst.bin.Bin.iterateAllByInterface. This function recurses into child bins.

Parameters

iface gobject.types.GType

the #GType of an interface

Return Value

Type: gst.element.Element

A #GstElement inside the bin implementing the interface