Gst.Element.prototype.iterate_pads

function iterate_pads():Gst.Iterator {
    // Gjs wrapper for gst_element_iterate_pads()
}

Retrieves an iterator of element's pads. The iterator should be freed after usage. Also more specialized iterators exists such as Gst.iterate_src_pads or Gst.iterate_sink_pads.

The order of pads returned by the iterator will be the order in which the pads were added to the element.

Returns

the Gst.Iterator of Gst.Pad. MT safe.