Gst.Bin.prototype.iterate_all_by_interface

function iterate_all_by_interface(iface:GType):Gst.Iterator {
    // Gjs wrapper for gst_bin_iterate_all_by_interface()
}

Looks for all elements inside the bin that implements the given interface. You can safely cast all returned elements to the given interface. The function recurses inside child bins. The iterator will yield a series of Gst.Element that should be unreffed after use.

MT safe. Caller owns returned value.

iface

the GLib.Type of an interface

Returns

a Gst.Iterator of Gst.Element for all elements in the bin implementing the given interface, or NULL