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

ifacethe #GType of an interface

Returns

A #GstElement inside the bin

implementing the interface