Pad.getStream

gst.stream.Stream getStream()

Returns the current #GstStream 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.Pad.getStickyEvent and gst.event.Event.parseStream.

Returns

the current #GstStream for pad, or null.

unref the returned stream when no longer needed.