Gst.Message.new_request_state
function new_request_state(src:Gst.Object, state:Gst.State):Gst.Message { // Gjs wrapper for gst_message_new_request_state() }
This message can be posted by elements when they want to have their state changed. A typical use case would be an audio server that wants to pause the pipeline because a higher priority stream is being played.
- src
the object originating the message.
- state
The new requested state
- Returns
the new requst state message. MT safe.