Gst.Bin.prototype.get_by_name

function get_by_name(name:String):Gst.Element {
    // Gjs wrapper for gst_bin_get_by_name()
}

Gets the element with the given name from a bin. This function recurses into child bins.

Returns NULL if no element with the given name is found in the bin.

MT safe. Caller owns returned reference.

name

the element name to search for

Returns

the Gst.Element with the given name, or NULL