Enums¶
Details¶
- class GstMse.MediaSourceEOSError(value)¶
Bases:
GObject.GEnum
Reasons for ending a
GstMse.MediaSource
usingGstMse.MediaSource.end_of_stream
().New in version 1.24.
- NONE = 0¶
End the stream successfully
- NETWORK = 1¶
End the stream due to a networking error
- DECODE = 2¶
End the stream due to a decoding error
- class GstMse.MediaSourceError(value)¶
Bases:
GObject.GEnum
Any error that can occur within
GstMse.MediaSource
orGstMse.SourceBuffer
APIs. These values correspond directly to those in the Web IDL specification.New in version 1.24.
- classmethod quark()¶
- Return type:
Any error type that can be reported by the Media Source API.
New in version 1.24.
- INVALID_STATE = 0¶
- TYPE = 1¶
- NOT_SUPPORTED = 2¶
- NOT_FOUND = 3¶
- QUOTA_EXCEEDED = 4¶
- class GstMse.MediaSourceReadyState(value)¶
Bases:
GObject.GEnum
Describes the possible states of the Media Source.
New in version 1.24.
- CLOSED = 0¶
The
GstMse.MediaSource
is not connected to any playback element.
- OPEN = 1¶
The
GstMse.MediaSource
is connected to a playback element and ready to append data to itsGstMse.SourceBuffer
(s).
- ENDED = 2¶
GstMse.MediaSource.end_of_stream
() has been called on the currentGstMse.MediaSource
- class GstMse.MseSrcReadyState(value)¶
Bases:
GObject.GEnum
Describes how much information a
GstMse.MseSrc
has about the media it is playing back at the current playbackGstMse.MseSrc
:position
. This type corresponds directly to the ready state of a HTML Media Element and is a separate concept fromGstMse.MediaSourceReadyState
.New in version 1.24.
- NOTHING = 0¶
No information is available about the stream
- METADATA = 1¶
The duration is available and video dimensions are available if the stream contains video
- CURRENT_DATA = 2¶
The current playback position can be presented but future information is not available
- FUTURE_DATA = 3¶
There is data for the current position and some amount in the future and any text tracks are ready.
- ENOUGH_DATA = 4¶
Either there is enough data to play the stream through at the current playback and input rate or the input buffer is full.
- class GstMse.SourceBufferAppendMode(value)¶
Bases:
GObject.GEnum
New in version 1.24.
- SEGMENTS = 0¶
- SEQUENCE = 1¶