Gst.Pad.prototype.get_stream_id
function get_stream_id():String { // Gjs wrapper for gst_pad_get_stream_id() }
Returns the current stream-id for the pad, or null if none has been set yet, i.e. the pad has not received a stream-start event yet.
This is a convenience wrapper around Gst.Pad.prototype.get_sticky_event and Gst.Event.prototype.parse_stream_start.
The returned stream-id string should be treated as an opaque string, its contents should not be interpreted.
Since 1.2
- Returns
a newly-allocated copy of the stream-idfor pad, or null. GLib.free the returned string when no longer needed.