Gst.Pad.prototype.link

function link(sinkpad:Gst.Pad):Gst.PadLinkReturn {
    // Gjs wrapper for gst_pad_link()
}

Links the source pad and the sink pad.

sinkpad

the sink Gst.Pad to link.

Returns

A result code indicating if the connection worked or what went wrong. MT Safe.