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
Stream self()Returns `this`, for use in `with` statements.StreamGidBuilder builder()Get builder for [gst.stream.Stream] Returns: New builder objectvoid caps(gst.caps.Caps propval) @propertySet `caps` property. Params: propval = The #GstCaps of the #GstStream.gst.types.StreamFlags streamFlags() @propertyvoid streamFlags(gst.types.StreamFlags propval) @propertystring streamId() @propertyGet `streamId` property. Returns: The unique identifier of the #GstStream. Can only be set at construction time.gst.types.StreamType streamType() @propertyGet `streamType` property. Returns: The #GstStreamType of the #GstStream. Can only be set at construction time.void streamType(gst.types.StreamType propval) @propertySet `streamType` property. Params: propval = The #GstStreamType of the #GstStream. Can only be set at construction time.gst.tag_list.TagList tags() @propertyGet `tags` property. Returns: The #GstTagList of the #GstStream.void tags(gst.tag_list.TagList propval) @propertySet `tags` property. Params: propval = The #GstTagList of the #GstStream.gst.caps.Caps getCaps()Retrieve the caps for stream, if any Returns: The #GstCaps for streamgst.types.StreamFlags getStreamFlags()Retrieve the current stream flags for stream Returns: The #GstStreamFlags for streamstring getStreamId()Returns the stream ID of stream. Returns: the stream ID of stream. Only valid during the lifetime of stream.gst.types.StreamType getStreamType()Retrieve the stream type for stream Returns: The #GstStreamType for streamgst.tag_list.TagList getTags()Retrieve the tags for stream, if any Returns: The #GstTagList for streamvoid setCaps(gst.caps.Caps caps = null)Set the caps for the #GstStreamvoid setStreamFlags(gst.types.StreamFlags flags)Set the flags for the stream.void setStreamType(gst.types.StreamType streamType)Set the stream type of streamvoid setTags(gst.tag_list.TagList tags = null)Set the tags for the #GstStreamConstructors
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 flagsMethods
T caps(gst.caps.Caps propval)Set `caps` property. Params: propval = The #GstCaps of the #GstStream. Returns: Builder instance for fluent chainingT streamFlags(gst.types.StreamFlags propval)T streamId(string propval)Set `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)Set `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)Set `tags` property. Params: propval = The #GstTagList of the #GstStream. Returns: Builder instance for fluent chainingFluent builder for [gst.stream.Stream]
Methods
Stream build()