Gst.Pad.prototype.get_peer

function get_peer():Gst.Pad {
    // Gjs wrapper for gst_pad_get_peer()
}

Gets the peer of pad. This function refs the peer pad so you need to unref it after use.

Returns

the peer Gst.Pad. Unref after usage. MT safe.