gst.stream
Module for [Stream] class
Types 3
classStream : gst.object.ObjectWrap
A high-level object representing a single stream. It might be backed, or not, by an actual flow of data in a pipeline (#GstPad).
A #GstStream does not care about data changes (such as decoding, encoding, parsing,...) as long as the underlying data flow corresponds to the same high-level flow (ex: a certain audio track).
A #GstStream contains all the information pertinent to a stream, such as stream-id, tags, caps, type, ...
Elements can subclass a #GstStream for internal usage (to contain information pertinent to streams of data).
Methods
StreamGidBuilder builder() static nothrowGet builder for [gst.stream.Stream] Returns: New builder objectvoid caps(gst.caps.Caps propval) @property nothrowSet `caps` property. Params: propval = The #GstCaps of the #GstStream.string streamId() @property nothrowGet `streamId` property. Returns: The unique identifier of the #GstStream. Can only be set at construction time.gst.types.StreamType streamType() @property nothrowGet `streamType` property. Returns: The #GstStreamType of the #GstStream. Can only be set at construction time.void streamType(gst.types.StreamType propval) @property nothrowSet `streamType` property. Params: propval = The #GstStreamType of the #GstStream. Can only be set at construction time.gst.tag_list.TagList tags() @property nothrowGet `tags` property. Returns: The #GstTagList of the #GstStream.void tags(gst.tag_list.TagList propval) @property nothrowSet `tags` property. Params: propval = The #GstTagList of the #GstStream.gst.caps.Caps getCaps() nothrowRetrieve the caps for stream, if any Returns: The #GstCaps for streamgst.types.StreamFlags getStreamFlags() nothrowRetrieve the current stream flags for stream Returns: The #GstStreamFlags for streamstring getStreamId() nothrowReturns the stream ID of stream. Returns: the stream ID of stream. Only valid during the lifetime of stream.gst.types.StreamType getStreamType() nothrowRetrieve the stream type for stream Returns: The #GstStreamType for streamgst.tag_list.TagList getTags() nothrowRetrieve the tags for stream, if any Returns: The #GstTagList for streamConstructors
this(string streamId, gst.caps.Caps caps, gst.types.StreamType type, gst.types.StreamFlags flags)Create a new #GstStream for the given stream_id, caps, type and flagsFluent builder implementation template for gst.stream.Stream
Methods
T caps(gst.caps.Caps propval) nothrowSet `caps` property. Params: propval = The #GstCaps of the #GstStream. Returns: Builder instance for fluent chainingT streamFlags(gst.types.StreamFlags propval) nothrowT streamId(string propval) nothrowSet `streamId` property. Params: propval = The unique identifier of the #GstStream. Can only be set at construction time. Returns: Builder instance for fluent chainingT streamType(gst.types.StreamType propval) nothrowSet `streamType` property. Params: propval = The #GstStreamType of the #GstStream. Can only be set at construction time. Returns: Builder instance for fluent chainingT tags(gst.tag_list.TagList propval) nothrowSet `tags` property. Params: propval = The #GstTagList of the #GstStream. Returns: Builder instance for fluent chainingFluent builder for gst.stream.Stream
Methods