error state or the [glib.error.ErrorWrap] of the stream
MediaStream.getError
glib.error.ErrorWrap getError()If the stream is in an error state, returns the [glib.error.ErrorWrap] explaining that state.
Any type of error can be reported here depending on the implementation of the media stream.
A media stream in an error cannot be operated on, calls like [gtk.media_stream.MediaStream.play] or [gtk.media_stream.MediaStream.seek] will not have any effect.
[gtk.media_stream.MediaStream] itself does not provide a way to unset an error, but implementations may provide options. For example, a [gtk.media_file.MediaFile] will unset errors when a new source is set, e.g. with [gtk.media_file.MediaFile.setFile].
Returns
null if not in an