If the stream is in an error state, returns the glib.error.ErrorG 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.
null if not in an error state or the glib.error.ErrorG of the stream
If the stream is in an error state, returns the glib.error.ErrorG 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.