Gst.Element.prototype.post_message

function post_message(message:Gst.Message):Boolean {
    // Gjs wrapper for gst_element_post_message()
}

Post a message on the element's Gst.Bus. This function takes ownership of the message; if you want to access the message after this call, you should add an additional reference before calling.

message

a Gst.Message to post

Returns

true if the message was successfully posted. The function returns false if the element did not have a bus. MT safe.