Gst.Event.new_sink_message
function new_sink_message(name:String, msg:Gst.Message):Gst.Event { // Gjs wrapper for gst_event_new_sink_message() }
Create a new sink-message event. The purpose of the sink-message event is to instruct a sink to post the message contained in the event synchronized with the stream.
name is used to store multiple sticky events on one pad.
- name
a name for the event
- msg
the Gst.Message to be posted
- Returns
a new Gst.Event