Element.postMessage

Post a message on the element's gstreamer.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.

class Element
bool
postMessage

Parameters

message Message

Return Value

Type: bool

TRUE if the message was successfully posted. The function returns FALSE if the element did not have a bus.

MT safe.